/* =============================================
   企基裂变推广系统 - 统一样式文件
   创建时间：2025-01-08
   说明：整合所有页面的CSS样式，去除冗余和重复
   ============================================= */

/* =============================================
   全局变量和基础样式
   ============================================= */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-gradient: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    --warning-gradient: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    --danger-gradient: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    --light-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --primary-color: #667eea;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #495057;
    --muted-color: #6c757d;
    --border-radius-mi: 5px;
    --border-radius: 15px;
    --border-radius-sm: 10px;
    --border-radius-lg: 20px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --box-shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

/* CSS加载测试 - 如果看到这个样式，说明CSS文件被正确加载 */
* {
    box-sizing: border-box;
}

/* 登录注册页面特殊样式 */
body.login-page,
body.register-page {
    background: var(--primary-gradient) !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
}

/* 登录页面容器样式 */
.login-page .container {
    max-width: 500px !important;
    padding: 0 20px !important;
    margin: 0 auto !important;
}

/* 覆盖Bootstrap列类 - 强制全宽 */
.login-page .col-md-6,
.login-page .col-lg-4 {
    max-width: none !important;
    flex: none !important;
    width: 100% !important;
}

/* 登录容器样式 */
.login-page .login-container {
    max-width: 500px !important;
    margin: 0 auto !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    padding: 0 !important;
}

/* 注册页面容器样式 */
.register-page .container {
    max-width: 500px !important;
    padding: 0 20px !important;
    margin: 0 auto !important;
}

/* 覆盖Bootstrap列类 - 强制全宽 */
.register-page .col-md-6,
.register-page .col-lg-4 {
    max-width: none !important;
    flex: none !important;
    width: 100% !important;
}

/* 注册容器样式 */
.register-page .register-container {
    max-width: 500px !important;
    margin: 0 auto !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    padding: 0 !important;
}

/* =============================================
   通用按钮样式
   ============================================= */
.btn {
    border-radius: var(--border-radius-mi);
    padding: 12px 20px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--box-shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
    color: white;
    text-decoration: none;
}

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

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

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

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* =============================================
   通用卡片样式
   ============================================= */
.card {
    background: white;
    border-radius: var(--border-radius-mi);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

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

.card-header {
    /* background: var(--primary-gradient); 移除固定背景色，让内联样式生效 */
    color: white;
    padding: 15px 20px;
    font-weight: 600;
}

/* 确保内联样式能够覆盖任何可能的背景设置 */
.card-header[style*="background-color"] {
    background-color: inherit !important;
}

.card-body {
    padding: 15px 20px;
}

/* =============================================
   通用表单样式
   ============================================= */
.form-control {
    border-radius: var(--border-radius-sm);
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

/* =============================================
   通用状态样式
   ============================================= */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    margin: 2px;
}

.status-success {
    background: var(--success-gradient);
    color: white;
}

.status-warning {
    background: var(--warning-gradient);
    color: white;
}

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

.status-pending {
    background: rgba(255, 193, 7, 0.9);
    color: #ffffff;
    font-weight: 600;
}

.status-completed {
    background: rgba(40, 167, 69, 0.9);
    color: #ffffff;
    font-weight: 600;
}

/* =============================================
   通用信息框样式
   ============================================= */
.info-box {
    background: var(--light-gradient);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.info-box h5, .info-box h6 {
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.info-box p {
    margin: 6px 0;
    color: var(--muted-color);
}

.info-box strong {
    color: var(--dark-color);
    font-weight: 600;
}

/* =============================================
   通用空状态样式
   ============================================= */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted-color);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* =============================================
   通用进度条样式
   ============================================= */
.progress-bar {
    background: var(--success-gradient);
    border-radius: 5px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--muted-color);
    text-align: center;
}

/* =============================================
   面包屑导航样式 - 统一管理
   ============================================= */
.breadcrumb {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 20px;
    margin-bottom: 0;
    border-radius: var(--border-radius-mi);
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.breadcrumb-item {
    color: #6c757d;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
    padding: 0 0.75rem;
    font-weight: 600;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
    background-color: rgba(102, 126, 234, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
}

.breadcrumb-item.active {
    color: #495057;
    font-weight: 300;
    padding: 4px 12px;
}

.breadcrumb-item i {
    margin-right: 0.5rem;
    font-size: 1rem;
    color: var(--primary-color);
}

/* =============================================
   资源详情页移动端布局优化
   ============================================= */
.resource-content-wrapper {
    display: flex;
    flex-direction: column;
}

/* =============================================
   资源详情页图片样式优化
   ============================================= */
/* PC端资源详情页图片样式 */
@media (min-width: 769px) {
    .col-md-4 img.img-fluid {
        width: 100% !important;
        height: auto !important;
        max-height: 345px !important;
        object-fit: contain !important;
        border-radius: 5px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .col-md-4 .bg-light {
        height: 400px !important;
        border-radius: 5px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .col-md-4 .bg-light i {
        font-size: 5rem !important;
    }
}

/* =============================================
   推广链接弹窗样式优化
   ============================================= */
/* PC端推广链接弹窗样式 */
@media (min-width: 769px) {
    #promotionModal .modal-dialog {
        max-width: 900px !important;  /* 增加弹窗最大宽度 */
        width: 90% !important;         /* 宽度90% */
    }
    
    #promotionModal .modal-content {
        border-radius: 10px;          /* 圆角 */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* 阴影效果 */
    }
    
    #promotionModal .modal-header {
        padding: 1.5rem 2rem;          /* 增加头部内边距 */
        border-bottom: 1px solid #e9ecef;
    }
    
    #promotionModal .modal-title {
        font-size: 1.3rem;             /* 增大标题字体 */
        font-weight: 600;
        color: #495057;
    }
    
    #promotionModal .modal-body {
        padding: 2rem;                 /* 增加内容区内边距 */
    }
    
    #promotionModal .modal-footer {
        padding: 1.5rem 2rem;         /* 增加底部内边距 */
        border-top: 1px solid #e9ecef;
    }
    
    #promotionModal h6 {
        font-size: 1.1rem;             /* 增大小标题字体 */
        font-weight: 600;
        margin-bottom: 1rem;
        color: #495057;
    }
    
    #promotionModal .input-group {
        margin-bottom: 1.5rem;         /* 增加输入组间距 */
    }
    
    #promotionModal .form-control {
        padding: 0.75rem 1rem;        /* 增加输入框内边距 */
        font-size: 1rem;
        border-radius: 5px;
    }
    
    #promotionModal .btn {
        padding: 0.75rem 1.5rem;      /* 增加按钮内边距 */
        font-size: 1rem;
        border-radius: 5px;
    }
    
    #promotionModal .alert {
        padding: 1rem 1.25rem;        /* 增加提示框内边距 */
        border-radius: 5px;
        font-size: 1rem;
    }
    
    #promotionModal .poster-image {
        max-width: 250px !important;    /* 增大海报图片最大宽度 */
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    #promotionModal .text-muted.small {
        font-size: 0.95rem;            /* 增大说明文字字体 */
        margin-top: 1rem;
    }
}

/* 资源列表整体优化 */
@media (min-width: 769px) {
    .resource-card {
        margin-bottom: 20px;
    }
    
    .resource-card .card-body {
        padding: 0.1rem 0.1rem;
        height: 2.5rem;
    }
}

@media (max-width: 768px) {
    .resource-card {
        margin-bottom: 12px;
    }
    
    .purchase-promotion-section .card {
        margin-bottom: 15px;
    }
    
    .purchase-promotion-section .card-body {
        padding: 1rem;
    }
    
    .purchase-promotion-section .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
    
    /* 移动端资源标题样式优化 */
    .col-md-8 h2 {
        text-align: center;
        font-size: 1.4rem; /* 减小30%：2rem * 0.7 = 1.4rem */
        line-height: 1.3;
        margin-bottom: 1rem;
    }
}

/* =============================================
   底部样式
   ============================================= */
footer {
    background: #f8f9fa !important;
    border-top: 1px solid #e9ecef;
    margin-top: 50px;
}

footer .text-muted {
    color: #6c757d !important;
    font-size: 0.9rem;
}

footer .text-muted p {
    margin-bottom: 8px;
    line-height: 1.5;
}

footer .text-muted small {
    font-size: 0.85rem !important;
    color: #6c757d !important;
}

/* =============================================
   通用动画效果
   ============================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes floatUp {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.3; }
    50% { transform: translateY(-30px) scale(1.1); opacity: 0.6; }
}

/* =============================================
   首页样式
   ============================================= */
body {
    background: #f8f9fa;
}

/* =============================================
   资源列表样式 - 统一管理
   ============================================= */
.resource-card {
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius-mi);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: white;
    margin-bottom: 15px;
}

.resource-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    border-color: var(--custom-color, #007bff);
}

/* 横幅轮播样式已移至 header.css */

/* 轮播控制按钮和指示器样式已移至 header.css */

/* 轮播指示器激活状态样式已移至 header.css */

/* 轮播指示器悬停状态样式已移至 header.css */

/* 横幅轮播响应式样式已移至 header.css */

/* =============================================
   PC端资源图片优化样式
   ============================================= */
@media (min-width: 769px) {
    /* PC端资源图片样式 */
    .resource-image {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 5px 5px 0 0;
    }
    
    .resource-image-placeholder {
        width: 100%;
        aspect-ratio: 1 / 1;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 5px 5px 0 0;
    }
    
    .resource-image-placeholder i {
        font-size: 4rem;
        color: #adb5bd;
    }
    
    /* PC端大屏幕优化 */
    @media (min-width: 1200px) {
        .resource-image-placeholder i {
            font-size: 5rem;
        }
    }
    
    /* PC端超大屏幕优化 */
    @media (min-width: 1600px) {
        .resource-image-placeholder i {
            font-size: 6rem;
        }
    }
}

/* 移动端资源图片样式 */
@media (max-width: 768px) {
    .resource-image {
        width: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 5px 5px 0 0;
    }
    
    .resource-image-placeholder {
        width: 100%;
        aspect-ratio: 1 / 1;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 5px 5px 0 0;
    }
    
    .resource-image-placeholder i {
        font-size: 2.5rem;
        color: #adb5bd;
    }
    
    .resource-card .card-body {
        padding: 0.1rem 0.1rem;
        height: 20px;
    }
    
    .resource-card .card-title {
        font-size: 0.75rem;
        font-weight: 400;
        line-height: 1.3;
        margin-bottom: 0.2rem;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 2rem;
        padding: 0.3rem 0.5rem;
    }
}

.resource-card a {
    color: inherit;
    text-decoration: none;
}

.resource-card a:hover {
    color: inherit;
    text-decoration: none;
}

/* PC端资源标题样式 */
@media (min-width: 769px) {
    .resource-card .card-title {
        font-size: 0.9rem;
        font-weight: 500;
        line-height: 1.4;
        margin-bottom: 0.5rem;
        color: #495057;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 2.5rem;
        padding: 0.1rem 0.1rem;
    }
}

.resource-card:hover .card-title {
    color: var(--custom-color, #007bff) !important;
}

/* 重复的资源卡片样式已删除 */

/* 公共头部样式已移至 header.css */
    
/* =============================================
   自定义配色方案支持
   ============================================= */
/* 资源卡片悬停效果已统一管理 */
/* 导航栏样式已移至 header.css */

/* 导航栏样式已移至 header.css */

/* =============================================
   用户中心布局样式
   ============================================= */
body {
    background: #f8f9fa;
    margin: 0;
    padding: 0;
}

.main-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: var(--custom-color, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.sidebar-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.sidebar-header p {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.sidebar-menu {
    padding: 20px 0;
}

.menu-item {
    display: block;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-left-color: rgba(255, 255, 255, 0.5);
}

.menu-item.active {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: white;
}

.menu-item i {
    width: 20px;
    margin-right: 12px;
    font-size: 1.1rem;
}

.menu-item span {
    font-size: 0.95rem;
    font-weight: 500;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 20px;
    transition: margin-left 0.3s ease;
}

.content-header {
    background: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 20px;
}

.content-header h3 {
    margin: 0;
    color: #495057;
    font-weight: 600;
}

.content-header p {
    margin: 5px 0 0 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--custom-color, #667eea);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px var(--custom-color-shadow, rgba(102, 126, 234, 0.4));
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.05);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* =============================================
   统计卡片样式
   ============================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stats-card {
    background: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--custom-color, linear-gradient(90deg, #667eea, #764ba2));
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stats-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--custom-color, #667eea);
}

.stats-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: #495057;
    margin-bottom: 8px;
}

.stats-label {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 5px;
}

.stats-desc {
    font-size: 0.85rem;
    color: #adb5bd;
    line-height: 1.4;
}

/* =============================================
   快捷操作样式
   ============================================= */
.quick-actions {
    background: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 30px;
}

.quick-actions h5 {
    margin-bottom: 20px;
    color: #495057;
    font-weight: 600;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: var(--custom-color, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.action-btn:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--custom-color-shadow, rgba(102, 126, 234, 0.3));
}

.action-btn i {
    font-size: 1.2rem;
    margin-right: 10px;
}

/* =============================================
   推广链接样式
   ============================================= */
.promotion-section {
    background: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 30px;
}

.promotion-section h4 {
    margin: 0 0 20px 0;
    color: #495057;
    font-weight: 600;
}

.promotion-url-container {
    background: #f8f9fa;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
}

.promotion-url {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #495057;
    word-break: break-all;
    margin: 0;
}

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

.btn-copy, .btn-share {
    background: var(--custom-color, #667eea);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy:hover, .btn-share:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

/* =============================================
   二维码样式
   ============================================= */
.qr-section {
    background: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
}

.qr-section h4 {
    margin: 0 0 20px 0;
    color: #495057;
    font-weight: 600;
}

.qr-code {
    max-width: 200px;
    margin: 0 auto 15px auto;
}

.qr-code img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.qr-desc {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

/* =============================================
   海报样式
   ============================================= */
.poster-section {
    background: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
}

.poster-section h4 {
    margin: 0 0 20px 0;
    color: #495057;
    font-weight: 600;
}

.poster-preview {
    max-width: 300px;
    margin: 0 auto 15px auto;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.poster-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.poster-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-download {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* =============================================
   订单卡片样式
   ============================================= */
.order-card {
    background: white;
    border-radius: var(--border-radius-mi);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

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

.order-header {
    background: var(--primary-gradient);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.order-status {
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
}

.order-body {
    padding: 20px;
}

.order-info {
    margin-bottom: 15px;
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.order-info-label {
    color: var(--muted-color);
    font-weight: 500;
}

.order-info-value {
    color: var(--dark-color);
    word-break: break-all;
    word-wrap: break-word;
    max-width: 200px;
}

.order-info-value.order-no {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    word-break: break-all;
    word-wrap: break-word;
    max-width: 100%;
}

.promotion-progress {
    background: #e9ecef;
    border-radius: 5px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.promotion-progress-bar {
    height: 100%;
    background: var(--success-gradient);
    transition: width 0.3s ease;
}

/* =============================================
   用户登录注册页面样式 - 最高优先级
   ============================================= */
body.login-page,
body.register-page {
    background: var(--primary-gradient) !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
}

.login-page,
.register-page {
    background: var(--primary-gradient) !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
}

/* 强制PC端样式 - 使用更低的断点 */
@media (min-width: 600px) {
    body.register-page {
        background: var(--primary-gradient) !important;
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        border: 5px solid red !important; /* 调试用红色边框 */
    }
    
    .register-page {
        background: var(--primary-gradient) !important;
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .register-page .container {
        max-width: 500px !important;
        padding: 0 20px !important;
        background: rgba(255, 255, 255, 0.1) !important; /* 调试用背景色 */
        border: 3px solid blue !important; /* 调试用蓝色边框 */
    }
}

/* 强制PC端样式 - 使用更低的断点 */
@media (min-width: 600px) {
    body.register-page {
        background: var(--primary-gradient) !important;
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        border: 5px solid red !important; /* 调试用红色边框 */
    }
    
    .register-page {
        background: var(--primary-gradient) !important;
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .register-page .container {
        max-width: 500px !important;
        padding: 0 20px !important;
        background: rgba(255, 255, 255, 0.1) !important; /* 调试用背景色 */
        border: 3px solid blue !important; /* 调试用蓝色边框 */
    }
}

/* 强制PC端样式 - 使用768px断点 */
@media (min-width: 768px) {
    body.register-page {
        background: var(--primary-gradient) !important;
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        border: 5px solid red !important; /* 调试用红色边框 */
    }
    
    .register-page {
        background: var(--primary-gradient) !important;
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .register-page .container {
        max-width: 500px !important;
        padding: 0 20px !important;
        background: rgba(255, 255, 255, 0.1) !important; /* 调试用背景色 */
        border: 3px solid blue !important; /* 调试用蓝色边框 */
    }
}

/* 强制PC端样式 - 使用1024px断点 */
@media (min-width: 1024px) {
    body.register-page {
        background: var(--primary-gradient) !important;
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        border: 5px solid red !important; /* 调试用红色边框 */
    }
    
    .register-page {
        background: var(--primary-gradient) !important;
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .register-page .container {
        max-width: 500px !important;
        padding: 0 20px !important;
        background: rgba(255, 255, 255, 0.1) !important; /* 调试用背景色 */
        border: 3px solid blue !important; /* 调试用蓝色边框 */
    }
}

.login-container,
.register-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-header,
.register-header {
    /* background: var(--custom-color, var(--primary-gradient)); 移除CSS变量，让内联样式生效 */
    color: white;
    padding: 2rem;
    text-align: center;
}

.login-body,
.register-body {
    padding: 2rem;
}

.btn-login,
.btn-register {
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-login:hover,
.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.captcha-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-container .form-control {
    flex: 1;
}

.captcha-image {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    cursor: pointer;
}

.captcha-code {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius-sm);
    padding: 10px 15px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 2px;
    min-width: 100px;
    text-align: center;
    cursor: pointer;
}

.nav-links {
    text-align: center;
    margin-top: 1rem;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 10px;
}

.nav-links a:hover {
    text-decoration: underline;
}

.parent-info {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border: 1px solid #c3e6cb;
    border-radius: var(--border-radius-sm);
    padding: 15px;
    margin-bottom: 20px;
    color: #155724;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.parent-info i {
    color: #28a745;
    font-size: 1.1rem;
}

.forgot-password-content {
    padding: 20px 0;
}

.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    background: #f8f9fa;
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin: 20px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-label {
    font-weight: 600;
    color: #495057;
    min-width: 80px;
}

.contact-value {
    font-weight: 500;
    color: var(--primary-color);
    word-break: break-all;
}

.tips {
    background: #e9ecef;
    border-radius: var(--border-radius-sm);
    padding: 15px;
    margin-top: 20px;
}

.tips i {
    color: #6c757d;
    margin-right: 5px;
}

/* =============================================
   登录注册页面PC端优化
   ============================================= */
@media (min-width: 768px) {
    .login-page .container,
    .register-page .container {
        max-width: 500px !important; /* PC端登录注册页面使用固定宽度，使用!important覆盖全局样式 */
        padding: 0 20px;
    }
    
    .login-container,
    .register-container {
        margin: 2rem auto; /* PC端增加上下边距 */
        max-width: 450px; /* 限制容器最大宽度 */
    }
    
    /* 覆盖Bootstrap的列宽度限制 */
    .login-page .col-md-6,
    .login-page .col-lg-4,
    .register-page .col-md-6,
    .register-page .col-lg-4 {
        max-width: none !important;
        flex: none !important;
        width: 100% !important;
    }
    
    .login-header,
    .register-header {
        padding: 2.5rem 2rem; /* PC端增加头部内边距 */
    }
    
    .login-header h3,
    .register-header h3 {
        font-size: 1.8rem; /* PC端增大标题字体 */
        margin-bottom: 0.5rem;
    }
    
    .login-body,
    .register-body {
        padding: 2.5rem 2rem; /* PC端增加内容区内边距 */
    }
    
    .form-group {
        margin-bottom: 1.5rem; /* PC端增加表单项间距 */
    }
    
    .form-group label {
        font-size: 1rem; /* PC端增大标签字体 */
        font-weight: 600;
        margin-bottom: 0.75rem;
    }
    
    .form-control {
        padding: 0.875rem 1rem; /* PC端增加输入框内边距 */
        font-size: 1rem;
        border-radius: 5px;
        border: 2px solid #e9ecef;
        transition: all 0.3s ease;
    }
    
    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }
    
    .btn-login,
    .btn-register {
        padding: 1rem 2rem; /* PC端增加按钮内边距 */
        font-size: 1.1rem;
        font-weight: 700;
        border-radius: 5px;
        margin-top: 1rem;
    }
    
    .captcha-container {
        gap: 15px; /* PC端增加验证码容器间距 */
    }
    
    .captcha-code {
        padding: 12px 18px; /* PC端增加验证码内边距 */
        font-size: 1.1rem;
        min-width: 120px;
    }
    
    .nav-links {
        margin-top: 2rem; /* PC端增加导航链接上边距 */
    }
    
    .nav-links a {
        font-size: 1rem;
        margin: 0 15px; /* PC端增加链接间距 */
    }
    
    .parent-info {
        padding: 20px; /* PC端增加提示框内边距 */
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .parent-info i {
        font-size: 1.2rem;
    }
    
    /* PC端找回密码弹层优化 */
    .modal-dialog {
        max-width: 500px; /* PC端弹层最大宽度 */
    }
    
    .modal-header {
        padding: 1.5rem 2rem; /* PC端弹层头部内边距 */
    }
    
    .modal-body {
        padding: 2rem; /* PC端弹层内容区内边距 */
    }
    
    .modal-footer {
        padding: 1.5rem 2rem; /* PC端弹层底部内边距 */
    }
    
    .contact-info {
        padding: 25px; /* PC端联系信息区内边距 */
        margin: 25px 0;
    }
    
    .contact-item {
        margin-bottom: 15px; /* PC端联系信息项间距 */
    }
    
    .contact-label {
        font-size: 1rem; /* PC端联系信息标签字体 */
        min-width: 100px;
    }
    
    .contact-value {
        font-size: 1.1rem; /* PC端联系信息值字体 */
    }
    
    .tips {
        padding: 20px; /* PC端提示区内边距 */
        font-size: 1rem;
    }
}

/* PC端大屏幕优化 */
@media (min-width: 1200px) {
    .login-page .container,
    .register-page .container {
        max-width: 600px !important; /* 大屏幕增加容器宽度，使用!important覆盖全局样式 */
    }
    
    .login-container,
    .register-container {
        max-width: 550px; /* 大屏幕增加容器最大宽度 */
    }
    
    .login-header,
    .register-header {
        padding: 3rem 2.5rem; /* 大屏幕增加头部内边距 */
    }
    
    .login-header h3,
    .register-header h3 {
        font-size: 2rem; /* 大屏幕增大标题字体 */
    }
    
    .login-body,
    .register-body {
        padding: 3rem 2.5rem; /* 大屏幕增加内容区内边距 */
    }
    
    /* 大屏幕找回密码弹层优化 */
    .modal-dialog {
        max-width: 600px; /* 大屏幕弹层最大宽度 */
    }
    
    .modal-header {
        padding: 2rem 2.5rem; /* 大屏幕弹层头部内边距 */
    }
    
    .modal-body {
        padding: 2.5rem; /* 大屏幕弹层内容区内边距 */
    }
    
    .modal-footer {
        padding: 2rem 2.5rem; /* 大屏幕弹层底部内边距 */
    }
    
    .contact-info {
        padding: 30px; /* 大屏幕联系信息区内边距 */
        margin: 30px 0;
    }
    
    .contact-label {
        font-size: 1.1rem; /* 大屏幕联系信息标签字体 */
        min-width: 120px;
    }
    
    .contact-value {
        font-size: 1.2rem; /* 大屏幕联系信息值字体 */
    }
    
    .tips {
        padding: 25px; /* 大屏幕提示区内边距 */
        font-size: 1.1rem;
    }
}

.icon-container {
    animation: pulse 2s infinite;
}

.contact-info {
    background: #f8f9fa;
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin: 20px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-label {
    font-weight: 600;
    color: var(--dark-color);
}

.contact-value {
    font-weight: bold;
    color: #1aad19;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.copy-btn {
    border-radius: 5px;
    padding: 5px 10px;
    transition: var(--transition);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.tips {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 5px;
    padding: 15px;
    text-align: left;
}

.parent-info {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: var(--border-radius-sm);
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
}

/* =============================================
   支付页面样式
   ============================================= */
.payment-page {
    background: var(--primary-gradient);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

.payment-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.payment-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 5px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    padding: 30px;
    max-width: 500px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.payment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.payment-header {
    text-align: center;
    margin-bottom: 30px;
}

.payment-header h1 {
    font-size: 2rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.payment-header p {
    color: var(--muted-color);
    font-size: 1rem;
    margin: 0;
}

.product-info {
    background: var(--light-gradient);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.product-info h5 {
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 1.1rem;
}

.product-info p {
    margin: 6px 0;
    font-size: 0.95rem;
    color: var(--muted-color);
    line-height: 1.4;
}

.product-info strong {
    color: var(--dark-color);
    font-weight: 600;
}

.price-display {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border-radius: var(--border-radius-mi);
    border: 2px solid var(--success-color);
}

.price-display .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

.price-display .label {
    color: #155724;
    font-size: 1rem;
    font-weight: 500;
}

.payment-methods {
    margin-bottom: 30px;
}

.payment-method-option {
    padding: 18px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius-mi);
    margin-bottom: 12px;
    cursor: pointer;
    transition: var(--transition);
    background: white;
    position: relative;
    overflow: hidden;
}

.payment-method-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.payment-method-option:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.payment-method-option:hover::before {
    transform: scaleY(1);
}

.payment-method-option.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f0ff 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.payment-method-option.selected::before {
    transform: scaleY(1);
}

.payment-method-option input[type="radio"] {
    margin-right: 15px;
    transform: scale(1.2);
}

.payment-method-option label {
    cursor: pointer;
    margin: 0;
    font-weight: 600;
    color: var(--dark-color);
}

.payment-method-option .method-icon {
    font-size: 1.5rem;
    margin-right: 10px;
    color: var(--primary-color);
}

.sub-methods {
    margin-top: 15px;
    padding: 15px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: var(--border-radius-mi);
    border: 1px solid rgba(102, 126, 234, 0.1);
    display: none;
    animation: slideDown 0.3s ease;
}

.sub-methods.show {
    display: block;
}

.sub-method-option {
    padding: 12px 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 5px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: var(--transition);
    background: white;
    position: relative;
}

.sub-method-option:hover {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
    transform: translateX(5px);
}

.sub-method-option.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f0ff 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.sub-method-option:last-child {
    margin-bottom: 0;
}

.btn-pay {
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--border-radius-mi);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    width: 100%;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-pay::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.btn-pay:hover::before {
    left: 100%;
}

.btn-pay:active {
    transform: translateY(0);
}

.btn-pay:disabled {
    background: var(--muted-color);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-back {
    background: var(--muted-color);
    border: none;
    border-radius: var(--border-radius-mi);
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-back:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
    color: white;
    text-decoration: none;
}

.btn-back:active {
    transform: translateY(0);
}

/* =============================================
   支付成功页面样式
   ============================================= */
.payment-success-page {
    background: var(--primary-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
}

.payment-success-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.result-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 5px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    padding: 40px 30px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 20px;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--success-gradient);
    border-radius: 5px 5px 0 0;
}

.success-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.success-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    border: 3px solid rgba(40, 167, 69, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite;
}

.error-icon {
    font-size: 5rem;
    color: var(--danger-color);
    margin-bottom: 25px;
}

.success-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--danger-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--muted-color);
    margin-bottom: 30px;
    font-weight: 400;
}

.payment-info {
    background: var(--light-gradient);
    border-radius: var(--border-radius-mi);
    padding: 25px;
    margin: 25px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.payment-info h6 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 18px;
}

.payment-info p {
    margin: 8px 0;
    font-size: 15px;
    color: var(--muted-color);
}

.payment-info strong {
    color: var(--dark-color);
    font-weight: 600;
}

.countdown {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 15px;
}

.action-buttons {
    margin-top: 30px;
}

.action-buttons .btn {
    margin: 5px 10px;
    min-width: 150px;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.floating-elements::before,
.floating-elements::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatUp 15s ease-in-out infinite;
}

.floating-elements::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-elements::after {
    top: 60%;
    right: 10%;
    animation-delay: 7s;
}

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

/* PC端容器统一宽度 */
@media (min-width: 769px) {
    .container {
        max-width: 1200px;
        padding: 0 20px;
    }
    
    .navbar-nav.d-flex.flex-row .nav-item {
        margin-right: 30px;
    }
    
    .navbar-nav.d-flex.flex-row .nav-link {
        padding: 12px 20px;
        font-size: 1rem;
        font-weight: 500;
    }
    
    .navbar-nav.d-flex.flex-row .nav-item:first-child {
        margin-left: 0;
    }
    
    .navbar-nav.d-flex.flex-row .nav-item:last-child {
        margin-right: 0;
    }
    
    /* 旧的 navbar-nav-container 样式已移除，使用新的全局样式 */
    
    @media (min-width: 1200px) {
        .container {
            max-width: 1400px;
            padding: 0 30px;
        }
        
        .navbar-nav.d-flex.flex-row .nav-item {
            margin-right: 40px;
        }
        
        .navbar-nav.d-flex.flex-row .nav-link {
            padding: 15px 25px;
            font-size: 1.1rem;
        }
    }
    
    @media (min-width: 1600px) {
        .container {
            max-width: 1600px;
            padding: 0 40px;
        }
        
        .navbar-nav.d-flex.flex-row .nav-item {
            margin-right: 50px;
        }
        
        .navbar-nav.d-flex.flex-row .nav-link {
            padding: 18px 30px;
            font-size: 1.2rem;
        }
    }
}

/* 手机端优化 */
@media (max-width: 768px) {
    /* 导航栏 */
    .navbar-nav.d-flex.flex-row .nav-item {
        margin-bottom: 0.25rem;
        border-bottom: none;
    }
    
    .navbar-nav.d-flex.flex-row .nav-item .nav-link {
        padding: 0.4rem 0.5rem;
        font-size: 0.85rem;
        white-space: nowrap;
        text-align: center;
    }
    
    .navbar-nav.d-flex.flex-row .nav-item .nav-link i {
        font-size: 0.9rem;
        margin-right: 0.25rem;
    }
    
    /* 旧的移动端样式已移除，使用新的PC端和移动端样式 */
    
    .navbar-nav.d-flex.flex-row .nav-item .btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }
    
    .navbar .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
        padding: 0.25rem 0;
    }
    
    .navbar-nav.d-flex.flex-row .nav-item.mr-2 {
        margin-right: 0.25rem !important;
    }
    
    /* 资源卡片样式已统一管理 */
    
    /* 用户中心 */
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .action-grid {
        grid-template-columns: 1fr;
    }
    
    .promotion-actions {
        justify-content: center;
    }
    
    .poster-actions {
        flex-direction: column;
    }
    
    .stats-card {
        padding: 20px;
    }
    
    .stats-icon {
        font-size: 2rem;
    }
    
    .stats-number {
        font-size: 1.8rem;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sidebar-overlay.show {
        display: block;
    }
    
    /* 订单卡片 */
    .order-card {
        margin-bottom: 15px;
    }
    
    .order-body {
        padding: 15px;
    }
    
    /* 登录注册页面 */
    .login-container,
    .register-container {
        margin: 1rem;
        border-radius: var(--border-radius-mi);
    }
    
    .login-header,
    .login-body,
    .register-header,
    .register-body {
        padding: 1.5rem;
    }
    
    .captcha-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .captcha-code {
        min-width: auto;
        width: 100%;
    }
    
    .modal-dialog {
        margin: 10px;
    }
    
    .forgot-password-content {
        padding: 15px 0;
    }
    
    .icon-container i {
        font-size: 3rem !important;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-value {
        font-size: 1.2rem;
        word-break: break-all;
    }
    
    .tips {
        font-size: 0.9rem;
        padding: 12px;
    }
    
    /* 支付页面 */
    .payment-card {
        margin: 10px;
        padding: 20px;
        border-radius: var(--border-radius-mi);
    }
    
    .payment-header h1 {
        font-size: 1.5rem;
    }
    
    .price-display .price {
        font-size: 2rem;
    }
    
    .payment-method-option {
        padding: 15px;
    }
    
    .btn-pay,
    .btn-back {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    /* 支付成功页面 */
    .result-card {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .success-title, .error-title {
        font-size: 2rem;
    }
    
    .success-icon, .error-icon {
        font-size: 4rem;
    }
    
    .action-buttons .btn {
        margin: 5px;
        min-width: 120px;
    }
}

/* =============================================
   头部导航栏样式优化
   ============================================= */

/* PC端和移动端导航栏样式已移至 header.css */

/* 导航栏容器样式已移至 header.css */
