/* 全局样式 */
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-nav {
        margin-top: 0.5rem;
    }
    
    .nav-item {
        margin-bottom: 0.25rem;
    }
    
    .dropdown-menu {
        width: 100%;
    }
    
    footer .col-md-4 {
        margin-bottom: 1.5rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .features-section, .process-section, .testimonials-section {
        padding: 3rem 0;
    }
    
    .features-section h2, .process-section h2, .testimonials-section h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
}

/* 视频修复页面样式 */
.video-repair-container {
    max-width: 800px;
    margin: 0 auto;
}

.upload-area {
    border: 2px dashed #ced4da;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.upload-area:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
}

/* 个人中心样式 */
.user-profile {
    max-width: 600px;
    margin: 0 auto;
}

/* 左侧菜单栏样式 */
.list-group-item.active {
    background-color: #e9ecef !important;
    border-color: #dee2e6 !important;
    color: #495057 !important;
    font-weight: normal !important;
}

/* 充值中心样式 */
.recharge-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.recharge-option {
    flex: 1 1 200px;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.recharge-option:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
}

.recharge-option.selected {
    border-color: #007bff;
    background-color: #e3f2fd;
}

/* 消费流水样式 */
.transaction-table {
    width: 100%;
    border-collapse: collapse;
}

.transaction-table th,
.transaction-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.transaction-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* 积分中心样式 */
.points-container {
    max-width: 600px;
    margin: 0 auto;
}

.points-card {
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    background-color: #f8f9fa;
}

/* 登录/注册页面样式 */
.auth-container {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
}

/* 首页样式 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.features-section {
    padding: 5rem 0;
}

.features-section h2,
.process-section h2,
.testimonials-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.feature-card {
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.icon-box {
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.process-section {
    padding: 5rem 0;
    background-color: white;
    position: relative;
}

.process-step {
    position: relative;
    padding: 2rem;
    z-index: 1;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.process-step h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* 添加连接线 - 仅在桌面端显示 */
@media (min-width: 992px) {
    .process-section .row {
        position: relative;
    }
    
    .process-section .row::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
        z-index: 0;
        transform: translateY(-50%);
    }
}

.testimonials-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.testimonial-card {
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author h5 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* 按钮样式 */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-light {
    background-color: white;
    color: #667eea;
    border-color: white;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background-color: #f8f9fa;
    color: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* 表单样式 */
.form-control {
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 123, 255, 0.3);
    border-radius: 50%;
    border-top-color: #007bff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 错误提示 */
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* 成功提示 */
.success-message {
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* 间距工具类 */
.py-10 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.mb-8 {
    margin-bottom: 4rem !important;
}

.mb-6 {
    margin-bottom: 3rem !important;
}