/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1890ff;
    --primary-dark: #096dd9;
    --secondary-color: #52c41a;
    --danger-color: #ff4d4f;
    --warning-color: #faad14;
    --text-primary: #262626;
    --text-secondary: #8c8c8c;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --border-color: #d9d9d9;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    line-height: 1.6;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo a {
    color: white;
    text-decoration: none;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-logout {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 主要内容区域 */
.main-content {
    flex: 1;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.feature-icon {
    font-size: 1.5rem;
    font-weight: bold;
}

.feature-text {
    font-size: 1rem;
}

.cta-section {
    margin-top: 2rem;
}

.btn-apply {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--primary-color);
    padding: 1rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.btn-arrow {
    font-size: 1.5rem;
}

.cta-hint {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 30px rgba(255, 255, 255, 0.4);
    }
}

/* 优势展示区域 */
.advantages-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.advantage-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.advantage-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.advantage-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 用户评价区域 */
.testimonials-section {
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-rating {
    color: var(--warning-color);
    font-size: 1.2rem;
}

/* 底部 */
.footer {
    background: var(--text-primary);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

/* 登录/注册页面 */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 2rem;
}

.auth-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    padding: 2rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-secondary);
}

.auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--bg-secondary);
}

.tab-btn {
    flex: 1;
    padding: 0.75rem;
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 600;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-block {
    width: 100%;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.alert-error {
    background: #fff1f0;
    color: #ff4d4f;
    border: 1px solid #ffccc7;
}

.alert-success {
    background: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

/* 会员页面 */
.membership-section {
    padding: 2rem 0;
}

.membership-header {
    text-align: center;
    margin-bottom: 3rem;
}

.membership-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.membership-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.membership-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.membership-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.membership-card:nth-child(2) {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.membership-card:nth-child(2):hover {
    transform: scale(1.05) translateY(-5px);
}

.membership-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.membership-price {
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-symbol {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-unit {
    font-size: 1rem;
    color: var(--text-secondary);
}

.membership-features {
    list-style: none;
    margin-bottom: 2rem;
}

.membership-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-bottom: 1px solid var(--bg-secondary);
}

.membership-features li:last-child {
    border-bottom: none;
}

.feature-icon {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.btn-membership {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-membership:hover {
    background: var(--primary-dark);
}

.membership-notice {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.membership-notice h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.membership-notice ul {
    list-style: none;
    padding-left: 0;
}

.membership-notice li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.membership-notice li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 支付页面 */
.payment-section {
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.payment-box {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.payment-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--bg-secondary);
}

.payment-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.payment-settings-card {
    margin-top: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: var(--shadow);
}

.payment-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--bg-secondary);
}

.payment-settings-header .badge {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    background: rgba(24, 144, 255, 0.1);
    color: var(--primary-color);
    border-radius: 999px;
    font-weight: 600;
}

.channel-label {
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    color: white;
}

.channel-bank {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.channel-wechat {
    background: linear-gradient(135deg, #1aae1a 0%, #1fba1f 100%);
}

.channel-alipay {
    background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%);
}

.payment-settings-body {
    padding: 1.25rem;
}

.payment-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

.payment-info-item {
    position: relative;
    padding: 1rem 1.1rem;
    background: linear-gradient(145deg, #f7faff, #ffffff);
    border-radius: 12px;
    border: 1px solid #e6f0ff;
    box-shadow: 0 10px 24px rgba(0, 26, 82, 0.06);
    overflow: hidden;
}

.payment-info-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(24, 144, 255, 0.08), transparent 40%);
    pointer-events: none;
}

.info-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.info-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    word-break: break-all;
}

.copy-btn {
    position: relative;
    padding: 0.45rem 0.95rem;
    font-size: 0.9rem;
    border: none;
    background: linear-gradient(135deg, #1890ff, #36cfc9);
    border-radius: 999px;
    cursor: pointer;
    color: #fff;
    box-shadow: 0 8px 20px rgba(24, 144, 255, 0.25);
    transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.3s ease;
    overflow: hidden;
}

.copy-btn::before {
    content: "📋";
    margin-right: 6px;
    font-size: 0.9rem;
}

.copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(24, 144, 255, 0.32);
    filter: brightness(1.02);
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: scale(0);
    animation: ripple 0.5s ease-out;
    pointer-events: none;
}

.copy-btn.copied {
    background: linear-gradient(135deg, #34c38f, #26a65b);
    box-shadow: 0 10px 24px rgba(52, 195, 143, 0.28);
}

.copy-btn.copied::before {
    content: "✅";
}

@keyframes ripple {
    to {
        transform: scale(6);
        opacity: 0;
    }
}

.payment-tip {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.qr-body {
    text-align: center;
}

.qr-note {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.payment-qr {
    max-width: 220px;
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.order-summary {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.order-summary p {
    font-size: 1.125rem;
}

.price-highlight {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.payment-form {
    margin-top: 2rem;
}

.required {
    color: var(--danger-color);
}

.file-upload-area {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    background: var(--bg-secondary);
}

.file-upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(24, 144, 255, 0.05);
}

.file-upload-area input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.upload-icon {
    font-size: 3rem;
}

.upload-text {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.upload-hint {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.file-preview {
    margin-top: 1rem;
    display: none;
}

.file-preview.active {
    display: block;
}

.file-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.file-preview .file-name {
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.payment-notice {
    background: #fff7e6;
    border: 1px solid #ffe58f;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.payment-notice h4 {
    margin-bottom: 1rem;
    color: var(--warning-color);
}

.payment-notice ol {
    padding-left: 1.5rem;
}

.payment-notice li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-secondary {
    flex: 1;
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.payment-success {
    text-align: center;
    padding: 2rem 0;
}

/* 后台管理 */
.admin-body {
    background: #0f172a;
    color: #e5e7eb;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 240px;
    background: linear-gradient(180deg, #111827 0%, #0b1220 100%);
    color: #e5e7eb;
    padding: 28px 20px;
    position: sticky;
    top: 0;
    height: 100vh;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 6px 0 18px rgba(0, 0, 0, 0.12);
}

.admin-logo {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.admin-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.admin-nav a {
    display: block;
    padding: 12px 14px;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.admin-nav a:hover,
.admin-nav a:focus {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.admin-nav .logout {
    color: #f87171;
}

.admin-main {
    flex: 1;
    padding: 32px;
    background: linear-gradient(135deg, #0b1220 0%, #0d1425 35%, #0f172a 100%);
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.topbar-label {
    color: #9ca3af;
    margin: 0;
    font-size: 0.9rem;
}

.admin-topbar h1 {
    margin: 4px 0 0;
    font-size: 1.4rem;
    color: #fff;
}

.topbar-link {
    color: #93c5fd;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(147, 197, 253, 0.35);
    transition: all 0.2s;
}

.topbar-link:hover {
    background: rgba(147, 197, 253, 0.08);
    color: #fff;
}

.admin-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.admin-card .section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.admin-card .section-title h2 {
    color: #fff;
    margin: 0;
}

.admin-card .section-desc {
    color: #9ca3af;
    font-size: 0.95rem;
}

.tag {
    padding: 6px 10px;
    background: rgba(147, 197, 253, 0.14);
    color: #bfdbfe;
    border: 1px solid rgba(147, 197, 253, 0.25);
    border-radius: 10px;
    font-size: 0.85rem;
}

.admin-main .alert {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.admin-main .alert-success {
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.25);
    color: #34d399;
}

.admin-main .alert-error {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.25);
    color: #f87171;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.stat-card {
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-label {
    color: #9ca3af;
    margin-bottom: 6px;
}

.stat-value {
    font-size: 2.3rem;
    font-weight: 700;
    color: #fff;
}

.stat-trend {
    margin-top: 6px;
    color: #9ca3af;
    font-size: 0.9rem;
}

.stat-trend-up {
    color: #34d399;
}

.table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    color: #e5e7eb;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.admin-table th {
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
    color: #cbd5e1;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.table-empty {
    text-align: center;
    color: #9ca3af;
}

.admin-card .badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.admin-card .badge-pending {
    background: rgba(250, 173, 20, 0.16);
    color: #f8b84f;
    border: 1px solid rgba(250, 173, 20, 0.25);
}

.admin-card .badge-paid {
    background: rgba(52, 211, 153, 0.16);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.admin-card .badge-cancelled {
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.table-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.inline-form {
    display: inline-block;
}

.admin-main .btn {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.admin-main .btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.28);
}

.admin-main .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(59, 130, 246, 0.35);
}

.admin-main .btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(248, 113, 113, 0.28);
}

.admin-main .btn-ghost {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 8px;
    color: #93c5fd;
    text-decoration: none;
    border: 1px solid rgba(147, 197, 253, 0.3);
    transition: all 0.2s;
}

.admin-main .btn-ghost:hover {
    background: rgba(147, 197, 253, 0.08);
    color: #fff;
}

.muted {
    color: #6b7280;
}

.admin-form .form-group {
    margin-bottom: 1rem;
    flex: 1;
    min-width: 220px;
}

.admin-form label {
    color: #cbd5e1;
}

.admin-form input,
.admin-form select {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #e5e7eb;
}

.admin-form input:focus,
.admin-form select:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.admin-form .form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.channel-box {
    display: none;
    margin-top: 8px;
}

.qr-holder {
    margin-top: 8px;
}

.qr-preview {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.admin-form .form-actions {
    margin-top: 12px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .main-content {
        padding: 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .advantages-grid,
    .testimonials-grid,
    .membership-grid {
        grid-template-columns: 1fr;
    }

    .membership-card:nth-child(2) {
        transform: scale(1);
    }

    .membership-card:nth-child(2):hover {
        transform: translateY(-5px);
    }

    .order-summary {
        flex-direction: column;
        gap: 0.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-apply {
        padding: 0.875rem 2rem;
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .auth-box {
        padding: 1.5rem;
    }

    .payment-box {
        padding: 1.5rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }
}

/* VIP 标识 */
.vip-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #8a5a00;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

/* VIP 贷款申请页 */
.loan-market-section {
    background: #fff;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.loan-market-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.loan-market-header h2 {
    margin: 0;
    font-size: 22px;
    color: #0f172a;
}

.loan-market-subtitle {
    margin: 6px 0 0;
    color: #475569;
    font-size: 14px;
}

.vip-chip {
    padding: 8px 14px;
    background: #0ea5e9;
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.28);
}

.loan-vip-status {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
    color: #0f172a;
    font-weight: 600;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    background: #e2e8f0;
}

.status-active {
    background: #dcfce7;
    color: #15803d;
}

.expire-text {
    color: #475569;
    font-weight: 500;
    font-size: 14px;
}

.loan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.loan-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.loan-card-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.loan-card h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
    color: #0f172a;
}

.loan-condition {
    margin: 0;
    color: #475569;
    font-size: 14px;
}

.loan-tag {
    background: #eef2ff;
    color: #4338ca;
    border-radius: 10px;
    padding: 6px 10px;
    font-weight: 700;
    font-size: 12px;
}

.loan-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.meta-label {
    color: #64748b;
    font-size: 13px;
}

.meta-value {
    display: block;
    color: #0f172a;
    font-weight: 700;
    margin-top: 2px;
}

.btn-direct {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, #22d3ee, #0ea5e9);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(14, 165, 233, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-direct:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.45);
}

@media (max-width: 640px) {
    .loan-market-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .loan-vip-status {
        flex-direction: column;
        align-items: flex-start;
    }
    .loan-meta {
        grid-template-columns: 1fr;
    }
}

