/* 用户协议页面样式 */

/* 页面头部 */
.terms-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.terms-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-bg.png') center/cover;
    opacity: 0.1;
}

.min-vh-50 {
    min-height: 50vh;
}

/* 协议内容区域 */
.terms-content {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-top: -60px;
    position: relative;
    z-index: 1;
}

/* 协议章节 */
.terms-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-section h2 {
    color: #333;
    font-weight: 600;
    border-left: 4px solid #667eea;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.terms-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.terms-section ul {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.terms-section li {
    margin-bottom: 0.5rem;
    position: relative;
}

.terms-section li::before {
    content: '•';
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

/* 联系信息 */
.terms-contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 2rem;
    border-left: 4px solid #28a745;
}

.terms-contact h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.terms-contact ul li {
    margin-bottom: 1rem;
    color: #666;
}

.terms-contact strong {
    color: #333;
    font-weight: 600;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .terms-header {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .terms-content {
        padding: 2rem 1.5rem;
        margin-top: -40px;
    }
    
    .terms-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .terms-section h2 {
        font-size: 1.25rem;
    }
    
    .terms-contact {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .terms-content {
        padding: 1.5rem 1rem;
        margin-top: -30px;
    }
    
    .terms-section {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .terms-section ul {
        padding-left: 1.5rem;
    }
    
    .terms-contact {
        padding: 1rem;
    }
}

/* 打印样式 */
@media print {
    .terms-header {
        background: none !important;
        color: #000 !important;
        padding-top: 0;
        padding-bottom: 2rem;
    }
    
    .terms-header::before {
        display: none;
    }
    
    .terms-content {
        box-shadow: none;
        border: 1px solid #ddd;
        margin-top: 0;
    }
    
    .terms-section h2 {
        color: #000 !important;
    }
    
    .terms-section p,
    .terms-section ul {
        color: #000 !important;
    }
    
    .terms-contact {
        background: none !important;
        border: 1px solid #ddd;
    }
}