:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #64748b;
    --gray-light: #e2e8f0;
}
/* 加载状态样式 */
.loading-state {
    text-align: center;
    padding: 40px;
    color: var(--gray);
}

.loading-state i {
    font-size: 2rem;
    margin-bottom: 15px;
}

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

.empty-state i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--gray-light);
}

.empty-state h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.empty-state .btn {
    margin-top: 20px;
}

/* 博客详情页样式 */
.blog-detail {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.blog-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-light);
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.blog-category {
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray);
    font-size: 0.9rem;
}

.blog-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--dark);
    line-height: 1.3;
}

.blog-summary {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-content {
    line-height: 1.7;
    font-size: 1.05rem;
}

.blog-content h2 {
    font-size: 1.6rem;
    margin: 30px 0 15px;
    color: var(--dark);
}

.blog-content h3 {
    font-size: 1.4rem;
    margin: 25px 0 12px;
    color: var(--dark);
}

.blog-content p {
    margin-bottom: 15px;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-content ul, .blog-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.blog-content li {
    margin-bottom: 8px;
}

.blog-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--gray);
}

.blog-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-light);
}

.blog-actions {
    display: flex;
    gap: 15px;
}

.blog-navigation {
    margin-bottom: 50px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s;
}

.preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.preview-item:hover {
    transform: scale(1.02);
}

.preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.preview-remove, .preview-insert {
    position: absolute;
    width: 25px;
    height: 25px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.preview-remove {
    top: 5px;
    right: 5px;
    background: rgba(239, 68, 68, 0.8);
    color: white;
}

.preview-remove:hover {
    background: rgba(239, 68, 68, 1);
}

.preview-insert {
    top: 5px;
    right: 35px;
    background: rgba(16, 185, 129, 0.8);
    color: white;
}

.preview-insert:hover {
    background: rgba(16, 185, 129, 1);
}

.nav-link:hover {
    gap: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    color: var(--dark);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav a:hover, nav a.active {
    color: var(--primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

/* 主要内容区域 */
.hero {
    text-align: center;
    padding: 60px 0 40px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.page-hero {
    text-align: center;
    padding: 40px 0 30px;
}

.page-hero h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 700;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* 功能卡片区域 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* 上传区域 */
.upload-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header h3 {
    font-size: 1.8rem;
    color: var(--dark);
}

.info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
}

/* 平台按钮 */
.platform-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.platform-btn {
    padding: 15px;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.platform-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.platform-btn.active {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5), 0 0 0 6px rgba(59, 130, 246, 0.3);
}

/* 上传区域 */
.upload-area {
    border: 2px dashed var(--gray-light);
    border-radius: 12px;
    padding: 50px 20px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s;
    background: var(--light);
    cursor: pointer;
}

.upload-area:hover, .upload-area.dragover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.upload-area i {
    font-size: 3rem;
    color: var(--gray);
    margin-bottom: 15px;
}

.upload-area h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.upload-area p {
    color: var(--gray);
    margin-bottom: 20px;
}

.upload-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.upload-btn:hover {
    background: var(--primary-dark);
}

/* 进度条 */
.progress-container {
    margin-bottom: 30px;
    display: none;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: var(--gray-light);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.3s;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray);
}

/* 结果区域 */
.result-container {
    display: none;
}

.preview-container {
    margin-bottom: 30px;
    text-align: center;
}

.preview-container h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
    text-align: left;
}

.preview-image {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.url-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.url-item {
    display: flex;
    flex-direction: column;
}

.url-item label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.url-input-group {
    display: flex;
}

.url-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 8px 0 0 8px;
    background: var(--light);
    font-family: monospace;
}

.copy-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.copy-btn:hover {
    background: var(--primary-dark);
}

.copy-btn.copied {
    background: var(--secondary);
}

/* 使用指南区域 */
.guide-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.guide-step {
    background: var(--light);
    border-radius: 12px;
    padding: 25px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 15px;
}

.guide-step h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.guide-step p {
    color: var(--gray);
}

/* 快速链接区域 */
.quick-links-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.quick-link-card {
    background: var(--light);
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: var(--primary);
}

.quick-link-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.quick-link-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.quick-link-card p {
    color: var(--gray);
}

/* 博客页面样式 */
.blog-list-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.blog-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.filter-group select {
    padding: 8px 15px;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    background: white;
    color: var(--dark);
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-post {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: grid;
    grid-template-columns: 1fr 2fr;
}

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

.blog-post-image {
    height: 200px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-post:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.blog-post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.post-category {
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.post-date, .post-views {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray);
    font-size: 0.9rem;
}

.blog-post-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
    line-height: 1.3;
}

.blog-post-excerpt {
    color: var(--gray);
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.read-more-btn {
    align-self: flex-start;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.read-more-btn:hover {
    gap: 10px;
}

/* 分页控件 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 8px;
    background: white;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-link:hover {
    background: var(--primary);
    color: white;
}

.page-link.active {
    background: var(--primary);
    color: white;
}

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-link.disabled:hover {
    background: white;
    color: var(--dark);
}

/* 博客侧边栏 */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-light);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

.category-list a:hover {
    color: var(--primary);
}

.category-count {
    background: var(--gray-light);
    color: var(--gray);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.popular-posts {
    list-style: none;
}

.popular-posts li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-light);
}

.popular-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-posts a {
    display: block;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.popular-posts a:hover {
    color: var(--primary);
}

.post-date {
    font-size: 0.8rem;
    color: var(--gray);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--gray-light);
    color: var(--dark);
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s;
}

.tag:hover {
    background: var(--primary);
    color: white;
}

/* 热门图片页面样式 */
.image-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hot-images-grid-section {
    margin-bottom: 50px;
}

.hot-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.image-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.image-container {
    position: relative;
    overflow: hidden;
}

.hot-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.image-card:hover .hot-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.image-card:hover .image-overlay {
    transform: translateY(0);
}

.image-info h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.image-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.action-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.action-btn.like-btn.active {
    background: rgba(239, 68, 68, 0.8);
}

.load-more-container {
    text-align: center;
}

.load-more-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.load-more-btn:hover {
    background: var(--primary-dark);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: auto;
}

.modal-content {
    background: white;
    margin: 50px auto;
    border-radius: 12px;
    width: 90%;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.modal-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
}

.modal-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-info h3 {
    font-size: 1.5rem;
    color: var(--dark);
}

.modal-info p {
    color: var(--gray);
    line-height: 1.6;
}

.modal-stats {
    display: flex;
    gap: 20px;
    color: var(--gray);
}

.modal-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.modal-actions .action-btn {
    background: var(--primary);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 500;
}

.modal-actions .action-btn:hover {
    background: var(--primary-dark);
}

/* 分享按钮 */
.share-section {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99;
}

.share-btn {
    background: white;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: transform 0.3s;
}

.share-btn:hover {
    transform: translateY(-3px);
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
    color: white;
}

/* 通知 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(150%);
    transition: transform 0.3s;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success { background: var(--secondary); }
.notification.error { background: var(--danger); }
.notification.warning { background: var(--warning); }

/* 页脚 */
footer {
    background: var(--dark);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content p {
    margin-bottom: 10px;
}

.beian {
    color: #94a3b8;
    font-size: 0.9rem;
}

.beian a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.beian a:hover {
    color: #cbd5e1;
    text-decoration: underline;
}

/* 移动端菜单 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    nav ul {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .platform-buttons {
        grid-template-columns: 1fr;
    }
    
    .upload-section, .guide-section, .quick-links-section {
        padding: 25px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .page-hero h2 {
        font-size: 1.8rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .guide-steps, .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-list-section {
        grid-template-columns: 1fr;
    }
    
    .blog-post {
        grid-template-columns: 1fr;
    }
    
    .blog-post-image {
        height: 200px;
    }
    
    .hot-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-content {
        grid-template-columns: 1fr;
        width: 95%;
        margin: 20px auto;
    }
    
    .modal-image-container {
        height: 300px;
    }
    
    .back-to-top {
        bottom: 80px;
        left: 20px;
    }
}
/* 通知样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 1000;
    display: none;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 400px;
}

.notification.success {
    background: #10b981;
}

.notification.error {
    background: #ef4444;
}

.notification.warning {
    background: #f59e0b;
}

/* 博客内容图片样式 */
.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 预览容器关闭按钮 */
.preview-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
}

.preview-close:hover {
    color: var(--dark);
}