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

body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 首页特定样式 */
body.index-body {
    background-image: url('BG.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.index-container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    backdrop-filter: blur(10px);
}

.index-container h1 {
    font-family: 'Arial', sans-serif;
    color: #5a5a5a;
    margin-bottom: 20px;
    font-size: 2rem;
    line-height: 1.3;
}

.index-btn {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.index-btn:hover {
    background-color: #ee5a52;
}

/* 进入网站按钮样式 */
.enter-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    text-decoration: none;
    padding: 16px 40px;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50px;
    margin-top: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
    position: relative;
    overflow: hidden;
}

.enter-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.enter-btn:hover {
    background: linear-gradient(135deg, #519ff5 0%, #3a88e8 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.4);
}

.enter-btn:hover:before {
    left: 100%;
}

.enter-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.3);
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 1000;
}

header h1 {
    color: #4a90e2;
    text-align: center;
    margin-bottom: 10px;
}

nav {
    text-align: center;
}

nav a {
    display: inline-block;
    margin: 0 10px;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #f0f0f0;
    color: #4a90e2;
}

/* 主要内容样式 */
main {
    padding: 20px 0;
    min-height: calc(100vh - 200px);
}

/* 上传表单样式 */
.upload-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.upload-form h2 {
    margin-bottom: 20px;
    color: #4a90e2;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input[type="file"],
.form-group input[type="text"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input[type="file"] {
    padding: 3px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input[type="submit"] {
    background-color: #4a90e2;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 12px;
    font-size: 1.1rem;
}

.form-group input[type="submit"]:hover {
    background-color: #3a7bc8;
}

/* 登录页面按钮组样式 */
.login-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.back-to-display {
    color: #4a90e2;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 12px 20px;
    border: 1px solid #4a90e2;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.back-to-display:hover {
    color: #3a7bc8;
    border-color: #3a7bc8;
    text-decoration: none;
}

/* 消息样式 */
.message {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 作品展示样式 */
.works-container,
.works-grid {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 0 15px;
    position: relative;
    max-width: 100%;
}

.work-item {
    display: block;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    padding: 0;
    margin: 0;
    height: auto;
}

.work-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.work-media {
    display: block;
    padding: 0;
    margin: 0;
    cursor: zoom-in;
    position: relative;
    overflow: hidden;
}

/* 作品悬停遮罩 */
.work-media::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(70, 131, 189, 0.35); /* 半透深蓝色遮罩，透明度降低一半 */
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('cat.png');
    background-size: 25% auto;
    background-repeat: no-repeat;
    background-position: left top;
    padding: 10px; /* 添加内边距，使图片与边缘保持距离 */
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    pointer-events: none; /* 确保遮罩不影响交互 */
}

.work-item:hover .work-media::after {
    opacity: 1;
}

.work-item img, .work-item video {
    width: 100%;
    max-height: 600px; /* 每个作品的媒体元素最大高度限制为600px */
    height: auto;
    display: block;
    border-radius: 12px;
    background-color: #f5f5f5;
    object-fit: cover;
    overflow: hidden; /* 超出部分隐藏 */
}

/* 为懒加载图片添加默认占位符 */
.work-item img[loading="lazy"] {
    min-height: 200px; /* 设置一个默认的最小高度 */
    background-image: linear-gradient(135deg, #f5f5f5 25%, #e5e5e5 25%, #e5e5e5 50%, #f5f5f5 50%, #f5f5f5 75%, #e5e5e5 75%, #e5e5e5 100%);
    background-size: 20px 20px;
    animation: loading-animation 1s infinite linear;
}

@keyframes loading-animation {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

/* 美化整体页面背景 */
body {
    background-color: #fafafa;
    color: #333;
}

/* 美化头部样式 */
.modern-header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 美化搜索框和筛选器 */
.search-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 15px;
    margin-bottom: 20px;
}

.category-filter {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 15px;
    margin-bottom: 20px;
}

/* 美化按钮样式 */
.upload-btn, .search-btn {
    background-color: #ffffff;
    color: #7ba7d8;
    border: 4px solid #7ba7d8;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    text-shadow: none;
}

.upload-btn:hover, .search-btn:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

/* 美化分类标签 */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    background-color: #f5f5f5;
    color: #666;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.category-tag.active, .category-tag:hover {
    background-color: #e94e77;
    color: white;
}

/* 美化搜索框 */
.search-input {
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #e94e77;
    outline: none;
    box-shadow: 0 0 0 2px rgba(233, 78, 119, 0.1);
}

.work-info {
    padding: 15px;
}

.work-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.work-category {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.work-description {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.5;
}

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

.edit-btn, .delete-btn {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: block;
}

.edit-btn {
    background-color: #4caf50;
    color: white;
}

.edit-btn:hover {
    background-color: #45a049;
}

.delete-btn {
    background-color: #f44336;
    color: white;
}

.delete-btn:hover {
    background-color: #d32f2f;
}

/* 筛选和搜索样式 */
.filter-search {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #666;
}

.category-filter {
    position: relative;
    min-width: 180px;
}

.category-filter select {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    background-color: white;
    appearance: none;
    cursor: pointer;
}

.category-filter::after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
}

/* 登录信息样式 */
.user-info {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f0f8ff;
    border-radius: 4px;
    color: #333;
}

.logout-btn {
    display: inline-block;
    background-color: #f44336;
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-top: 5px;
    transition: background-color 0.3s ease;
}

.logout-btn:hover {
    background-color: #d32f2f;
}



/* 返回按钮样式 */
.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background-color: #f5f5f5;
    color: #333;
}

.login-message {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 4px;
}

.login-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 现代风格头部样式 */
.modern-header {
    background-image: url('header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* 添加文字阴影提高可读性 */
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.logo {  
    display: block;
    max-height: 80px; /* 设置最大高度以避免logo过大 */
    object-fit: contain;
}

.header-nav,
.main-nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.header-nav a,
.main-nav a,
.main-nav .nav-item {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.header-nav a:hover,
.main-nav a:hover,
.main-nav .nav-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.main-nav .nav-item.active {
    background-color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.main-nav .login-btn {
    background-color: #ffffff;
    color: #7ba7d8;
    font-weight: 600;
    border: 4px solid #7ba7d8;
    text-shadow: none;
}

.main-nav .login-btn:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

/* 现代化搜索和筛选样式 */
.modern-filter-search {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.modern-search-box, .search-input-group {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.modern-search-box input, .search-input-group input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.modern-search-box input:focus, .search-input-group input:focus {
    outline: none;
    border-color: #667eea;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modern-search-btn, .search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.modern-search-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.modern-category-filter {
    position: relative;
    min-width: 180px;
}

.modern-category-filter select {
    width: 100%;
    padding: 12px 40px 12px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    font-size: 1rem;
    background-color: #f8f9fa;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-category-filter select:focus {
    outline: none;
    border-color: #667eea;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modern-category-filter::after {
    content: '▼';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
    transition: all 0.3s ease;
}

.modern-category-filter select:focus + ::after {
    color: #667eea;
}

/* 筛选区域样式 */
.filter-section {
    margin-bottom: 20px;
}

.modern-filter {
    margin-bottom: 20px;
}

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

.filter-header h3 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.search-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
}

.search-result-count {
    font-weight: 500;
}

.clear-search {
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 5px;
    cursor: pointer;
}

.search-form {
    margin-top: 15px;
}

.modern-search {
    margin-top: 15px;
}

.search-input-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.search-input-group input[type="text"] {
    flex: 1;
    min-width: 250px;
    padding: 12px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.search-input-group input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.modern-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.filter-tag {
    background-color: transparent;
    color: #333;
    border: none;
    padding: 4px 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 4px;
}

.filter-tag:hover {
    background-color: #f0f0f0;
    color: #000;
    transform: none;
    box-shadow: none;
}

.filter-tag.active {
    background-color: #e8e8e8;
    color: #000;
    border-color: #e8e8e8;
}

/* 加载指示器样式 */
.loading-indicator {
    text-align: center;
    padding: 30px;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

/* 无作品提示样式 */
.no-works {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.no-works p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.upload-btn {
    background-color: #ffffff;
    color: #7ba7d8;
    border: 4px solid #7ba7d8;
    border-radius: 25px;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-shadow: none;
}

.upload-btn:hover {
    transform: translateY(-2px);
}

/* 页脚样式 */
footer, .modern-footer {
    background-color: #4683bd;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

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

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
}

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

.modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 90%;
    max-height: 80vh;
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-content img, .modal-content video {
    max-width: 100%;
    max-height: 60vh;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.modal-info {
    margin-top: 15px;
    text-align: center;
}

.modal-info h3 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.modal-info p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.close {
    color: white;
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.close:hover {
    background-color: #e74c3c;
    transform: scale(1.2);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .filter-search, .modern-filter-search {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
    }
    
    .search-box, .category-filter, .modern-search-box, .modern-category-filter {
        width: 100%;
        max-width: 400px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* 优化移动端作品展示 */
    .works-container, .works-grid {
        padding: 0 10px;
    }
    
    .work-item {
        margin: 10px 5px;
        min-height: auto;
    }
    
    /* 优化移动端按钮大小 */
    .upload-btn, .search-btn {
        padding: 10px 20px;
        font-size: 16px;
        min-height: 44px;
    }
    
    /* 优化移动端表单元素 */
    .form-group input[type="text"],
    .form-group input[type="password"],
    .form-group select,
    .form-group textarea {
        min-height: 44px;
        font-size: 16px;
    }
    
    /* 优化移动端导航 */
    .header-nav, .main-nav {
        gap: 10px;
    }
    
    .header-nav a, .main-nav a {
        padding: 10px 15px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 0;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    nav a {
        margin: 0 5px;
        padding: 8px 12px;
        font-size: 0.9rem;
        min-height: 40px;
    }
    
    .works-container {
        grid-template-columns: 1fr;
    }
    
    .login-container {
        margin: 15px;
        padding: 20px;
    }
    
    /* 优化移动端首页 */
    .index-container {
        padding: 25px;
        margin: 15px;
    }
    
    .index-container h1 {
        font-size: 2rem;
    }
    
    .enter-btn {
        padding: 15px 35px;
        font-size: 1.1rem;
        min-height: 48px;
    }
    
    /* 优化移动端模态框 */
    .modal-content {
        margin: 10% auto;
        padding: 15px;
        max-width: 95%;
    }
    
    /* 优化移动端筛选标签 */
    .filter-tags, .modern-tags {
        gap: 10px;
        padding: 0 10px;
    }
    
    .category-tag {
        padding: 8px 16px;
        font-size: 14px;
        min-height: 40px;
        display: flex;
        align-items: center;
    }
}