/* 基础样式 */
:root {
    --primary-color: #ff6b6b;
    --secondary-color: #48dbfb;
    --dark-color: #2d3436;
    --light-color: #f5f6fa;
    --gray-color: #dfe6e9;
    --success-color: #1dd1a1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: var(--dark-color);
    line-height: 1.6;
}

/* 页眉样式 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.logo span {
    color: var(--dark-color);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 主要内容容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0.5rem auto 0;
}

/* 分享卡片网格布局 */
.shares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* 分享卡片样式 */
.share-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.share-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: white;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.75rem;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.username {
    font-weight: 600;
    font-size: 0.9rem;
}

.post-time {
    font-size: 0.75rem;
    color: #7f8c8d;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.published {
    background-color: rgba(29, 209, 161, 0.2);
    color: var(--success-color);
}

.status-badge.draft {
    background-color: rgba(223, 230, 233, 0.5);
    color: #7f8c8d;
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.share-card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: 1.25rem;
}

.route-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 600;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-like, .btn-share {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #7f8c8d;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.btn-like:hover {
    color: var(--primary-color);
}

.btn-share:hover {
    color: var(--secondary-color);
}

.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.85rem;
    transition: background-color 0.2s ease;
}

.btn-view:hover {
    background-color: #ff5252;
}

/* 页脚样式 */
.page-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: white;
    margin: 0 0.5rem;
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .shares-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 2.5rem;
    }
}