/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
}

/* 主要内容区域 */
.main-content {
    margin-top: 64px;
}

/* 英雄区域样式 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::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 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.search-box {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.search-box .form-control {
    border: none;
    border-radius: 10px 0 0 10px;
    padding: 15px 20px;
    font-size: 1.1rem;
}

.search-box .btn {
    border-radius: 0 10px 10px 0;
    padding: 15px 25px;
    font-weight: 600;
}

/* 分类卡片样式 */
.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

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

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-card h5 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.category-card p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* 信息卡片样式 */
.info-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.info-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.info-card:hover .card-img-top {
    transform: scale(1.05);
}

.info-card .card-body {
    padding: 1.5rem;
}

.info-card .card-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.info-card .card-text {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* 特色区域样式 */
.feature-item {
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-item h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #666;
    margin-bottom: 0;
}

/* 页脚样式 */
.footer {
    margin-top: auto;
}

.footer h5, .footer h6 {
    color: white;
    margin-bottom: 1rem;
}

.footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white !important;
}

.social-links a {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* 按钮样式 */
.btn {
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    transform: translateY(-2px);
}

.btn-warning {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    border: none;
    color: white;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e085e8, #e54b5f);
    color: white;
    transform: translateY(-2px);
}

/* 徽章样式 */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section .display-4 {
        font-size: 2.5rem;
    }
    
    .search-box {
        padding: 1.5rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section .display-4 {
        font-size: 2rem;
    }
    
    .search-box .input-group {
        flex-direction: column;
    }
    
    .search-box .form-control {
        border-radius: 10px;
        margin-bottom: 1rem;
    }
    
    .search-box .btn {
        border-radius: 10px;
    }
}

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

.category-card,
.info-card,
.feature-item {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
}

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

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

/* 工具提示样式 */
.tooltip {
    font-size: 0.875rem;
}

/* 模态框样式 */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-header {
    border-bottom: 1px solid #eee;
    border-radius: 15px 15px 0 0;
}

.modal-footer {
    border-top: 1px solid #eee;
    border-radius: 0 0 15px 15px;
}

/* 表单样式 */
.form-control {
    border-radius: 10px;
    border: 2px solid #eee;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

/* 表格样式 */
.table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.table thead th {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    font-weight: 600;
}

.table tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.05);
}

/* 分页样式 */
.pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    border: none;
    color: #667eea;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
}

/* 警告框样式 */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
}

/* 登录和注册页面样式 */
.login-section,
.register-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: calc(100vh - 76px);
}

.login-card,
.register-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

/* 个人中心页面样式 */
.profile-sidebar {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: fit-content;
}

.user-info-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.user-avatar img {
    border: 4px solid rgba(255,255,255,0.3);
}

.user-stats .stat-item {
    padding: 1rem 0;
}

.user-stats .stat-item h6 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.profile-sidebar .nav-pills .nav-link {
    border-radius: 10px;
    margin-bottom: 0.5rem;
    color: #666;
    transition: all 0.3s ease;
}

.profile-sidebar .nav-pills .nav-link.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.profile-sidebar .nav-pills .nav-link:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

/* 统计卡片样式 */
.stat-card {
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.stat-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

/* 会员充值页面样式 */
.recharge-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.plan-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.plan-card.active {
    border: 2px solid #667eea;
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.amount-card {
    background: white;
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.amount-card.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.amount-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.amount-bonus {
    font-size: 0.9rem;
    opacity: 0.8;
}

.payment-card {
    background: white;
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.payment-card.active {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.payment-icon {
    font-size: 2rem;
    margin-right: 1rem;
    color: #667eea;
}

.payment-info h6 {
    margin-bottom: 0.25rem;
}

/* 页面标题样式 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.page-header::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 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* 分类页面样式 */
.section-title {
    color: #333;
    font-weight: 700;
    border-left: 4px solid #667eea;
    padding-left: 1rem;
}

.category-section {
    position: relative;
}

.category-section:nth-child(even) {
    background: #f8f9fa;
}

/* 筛选区域样式 */
.filter-section {
    background: white;
    border-bottom: 1px solid #eee;
}

/* 最近发布样式 */
.recent-post {
    padding: 1rem 0;
}

.recent-post:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.recent-post h6 {
    margin-bottom: 0.5rem;
    color: #333;
}

/* 消息中心样式 */
.list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background: rgba(102, 126, 234, 0.05);
}

.list-group-item:last-child {
    border-bottom: none;
}

/* 账户设置样式 */
.settings-section .card {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 15px;
    margin-bottom: 2rem;
}

.settings-section .card-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 15px 15px 0 0;
    border: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .login-card,
    .register-card {
        padding: 2rem;
        margin: 1rem;
    }
    
    .profile-sidebar {
        margin-bottom: 2rem;
    }
    
    .plan-card {
        margin-bottom: 1rem;
    }
    
    .amount-card,
    .payment-card {
        margin-bottom: 1rem;
    }
} 

/* 详情页面样式 */
.detail-section {
    padding-top: 2rem;
}

.detail-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.detail-title {
    color: #333;
    font-weight: 700;
    margin-bottom: 1rem;
}

.detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.detail-price {
    color: #667eea;
}

.detail-info ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-info ul li:last-child {
    border-bottom: none;
}

.detail-description p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.location-info p {
    margin-bottom: 0.5rem;
}

.map-placeholder {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.contact-info .d-flex {
    padding: 0.5rem 0;
}

.similar-items {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 1.5rem;
}

.similar-item {
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.similar-item:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* 审核制度页面样式 */
.process-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

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

.process-icon {
    color: #667eea;
}

.standard-card .card {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.standard-card .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.violation-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.violation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.violation-icon {
    margin-bottom: 1rem;
}

.appeal-steps .step-item {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.appeal-steps .step-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.contact-item {
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

/* 面包屑导航样式 */
.breadcrumb-section {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-item a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .detail-card {
        padding: 1rem;
    }
    
    .contact-card {
        margin-top: 2rem;
    }
    
    .process-card,
    .violation-card {
        margin-bottom: 1rem;
    }
    
    .appeal-steps .step-item {
        padding: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
} 