/* 前台样式文件 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, 'Microsoft YaHei', sans-serif; line-height: 1.6; color: #333; background: #f5f5f5; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 头部 */
.site-header { background: white; color: #333; padding: 15px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.header-content { display: flex; justify-content: space-between; align-items: center; position: relative; min-height: 60px; }
.logo { display: flex; align-items: center; }
.logo a { color: #2c3e50; text-decoration: none; font-size: 24px; font-weight: bold; display: flex; align-items: center; }
.main-nav a { color: #666; text-decoration: none; margin-left: 20px; transition: color 0.3s; font-weight: 500; }
.main-nav a:hover { color: #3498db; }

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 主内容 */
.main-content { min-height: calc(100vh - 200px); padding: 30px 0; }

/* 底部 */
.site-footer { background: #34495e; color: white; text-align: center; padding: 20px 0; margin-top: 50px; }

/* 按钮 */
.btn { display: inline-block; padding: 10px 20px; background: #3498db; color: white; text-decoration: none; border-radius: 4px; border: none; cursor: pointer; transition: all 0.3s; }
.btn:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-primary { background: #3498db; }
.btn-success { background: #27ae60; }
.btn-danger { background: #e74c3c; }
.btn-info { background: #17a2b8; }
.btn-outline { background: transparent; border: 2px solid #3498db; color: #3498db; }
.btn-sm { padding: 5px 10px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 18px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* 课程网格 */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 30px; }
.course-card { background: white; border-radius: 8px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.course-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.course-image img { width: 100%; height: 200px; object-fit: cover; }
.course-info { padding: 15px; }
.course-info h3 { margin-bottom: 10px; font-size: 18px; }
.course-desc { color: #666; font-size: 14px; margin-bottom: 15px; min-height: 40px; }
.course-meta { display: flex; justify-content: space-between; align-items: center; }
.price { color: #e74c3c; font-size: 20px; font-weight: bold; }

/* 标题 */
.section-title { text-align: center; margin: 40px 0 30px; font-size: 32px; color: #2c3e50; }
.page-header { text-align: center; padding: 40px 0; }
.page-header h1 { font-size: 36px; color: #2c3e50; }

/* 特色 */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 30px; }
.feature-item { text-align: center; padding: 30px; background: white; border-radius: 8px; }
.feature-icon { font-size: 48px; margin-bottom: 15px; }

/* 表单 */
.auth-form-container { display: flex; justify-content: center; align-items: center; min-height: 500px; }
.auth-form { background: white; padding: 40px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); width: 100%; max-width: 400px; }
.auth-form h2 { text-align: center; margin-bottom: 30px; color: #2c3e50; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; color: #555; }
.form-control { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.form-control:focus { outline: none; border-color: #3498db; }
.auth-links { text-align: center; margin-top: 20px; }
.auth-links a { color: #3498db; text-decoration: none; }

/* 提示信息 */
.alert { padding: 15px; margin-bottom: 20px; border-radius: 4px; }
.alert-error { background: #fee; color: #c33; border: 1px solid #fcc; }
.alert-success { background: #efe; color: #3c3; border: 1px solid #cfc; }

/* 无数据 */
.no-data { text-align: center; padding: 40px; color: #999; background: white; border-radius: 8px; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.pagination a, .pagination span { padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; text-decoration: none; color: #333; background: white; }
.pagination a:hover { background: #f0f0f0; }
.pagination .current { background: #3498db; color: white; border-color: #3498db; }

/* 工具类 */
.text-center { text-align: center; }

/* 轮播图 */
.hero-section { margin-bottom: 40px; }
.hero-slide { background: white; border-radius: 8px; overflow: hidden; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; background: #f5f5f5; }
.hero-content { padding: 60px; text-align: center; }
.hero-content h2 { font-size: 48px; margin-bottom: 20px; color: #2c3e50; }
.hero-content p { font-size: 20px; color: #666; margin-bottom: 30px; }

/* 筛选 */
.course-filter { background: white; padding: 20px; border-radius: 8px; margin-bottom: 30px; }
.filter-form { display: flex; gap: 15px; align-items: center; }
.filter-group { flex: 1; }
.filter-form select, .filter-form input[type="text"] { width: 100%; }

/* 课程详情 */
.course-detail { background: white; border-radius: 8px; padding: 30px; }
.course-header { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.course-cover-large img { width: 100%; border-radius: 8px; }
.course-summary h1 { font-size: 32px; margin-bottom: 15px; }
.course-subtitle { color: #666; font-size: 18px; margin-bottom: 20px; }
.course-stats { margin-bottom: 20px; }
.course-stats span { margin-right: 20px; color: #666; }
.course-price-box { background: #f8f9fa; padding: 20px; border-radius: 8px; }
.current-price { font-size: 32px; color: #e74c3c; font-weight: bold; }
.original-price { text-decoration: line-through; color: #999; margin-left: 10px; }
.free-tag { font-size: 24px; color: #27ae60; font-weight: bold; }
.action-buttons { margin-top: 20px; }

/* 标签页 */
.course-tabs { display: flex; gap: 10px; margin-bottom: 20px; border-bottom: 2px solid #eee; }
.tab-btn { padding: 10px 20px; background: none; border: none; cursor: pointer; font-size: 16px; color: #666; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.tab-btn.active { color: #3498db; border-bottom-color: #3498db; }
.tab-content { display: none; padding: 20px 0; }
.tab-content.active { display: block; }

/* 用户中心 */
.user-center { display: grid; grid-template-columns: 250px 1fr; gap: 30px; }
.user-sidebar { background: white; padding: 20px; border-radius: 8px; height: fit-content; }
.user-info { text-align: center; padding-bottom: 20px; border-bottom: 1px solid #eee; margin-bottom: 20px; }
.user-avatar img { width: 80px; height: 80px; border-radius: 50%; margin-bottom: 10px; }
.user-level { color: #f39c12; font-weight: bold; }
.user-nav a { display: block; padding: 10px; color: #333; text-decoration: none; border-radius: 4px; margin-bottom: 5px; }
.user-nav a:hover, .user-nav a.active { background: #f0f0f0; color: #3498db; }
.user-content { background: white; padding: 30px; border-radius: 8px; }
.courses-list { margin-top: 20px; }
.course-item { display: flex; gap: 20px; padding: 20px; border: 1px solid #eee; border-radius: 8px; margin-bottom: 15px; }
.course-cover { width: 200px; }
.course-cover img { width: 100%; border-radius: 4px; }
.course-details { flex: 1; }
.course-details h3 { margin-bottom: 10px; }
.course-details p { color: #666; margin-bottom: 5px; }
/* ========== 优化补丁CSS - 2026-02-04 ========== */

/* ========== 1. 底部页脚优化 ========== */
.site-footer {
    background: linear-gradient(135deg, #42A5F5 0%, #1976D2 100%);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.site-footer p {
    margin: 0;
    font-size: 14px;
    opacity: 0.95;
}

/* ========== 2. 首页幻灯片优化 ========== */
.hero-section {
    margin-bottom: 60px;
    position: relative;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero-slide {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
}

.hero-slide img {
    width: 100%;
    height: auto;
    min-height: 300px;
    max-height: 500px;
    object-fit: contain;
    display: block !important; /* 强制显示图片 */
    background: #f5f5f5;
}

.hero-content {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    width: auto;
    padding: 0;
    background: none;
}

.hero-content h2 {
    display: none;
}

.hero-content p {
    display: none;
}

.hero-content .btn {
    background: rgba(255, 255, 255, 0.03);
    color: white;
    font-weight: 600;
    padding: 14px 40px;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.hero-content .btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* 响应式优化 */
@media (max-width: 1200px) {
    .hero-slide img {
        height: 350px;
        object-fit: cover;
    }
    .hero-content h2 {
        font-size: 40px;
    }
    .hero-content p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    /* 移动端导航 */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav a {
        display: block;
        margin: 0;
        padding: 10px 20px;
        border-bottom: 1px solid #f0f0f0;
        color: #333;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
        text-align: left;
    }
    
    .main-nav a:hover {
        background: #f8f9fa;
        color: #3498db;
    }
    
    .hero-slide {
        min-height: 250px;
    }
    .hero-slide img {
        height: 100%;
        min-height: 250px;
        object-fit: cover;
    }
    .hero-content {
        padding: 30px 20px;
    }
    .hero-content h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .hero-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .hero-content .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-slide {
        min-height: 200px;
    }
    .hero-slide img {
        height: 100%;
        min-height: 200px;
        object-fit: cover;
    }
    .hero-content h2 {
        font-size: 24px;
    }
    .hero-content p {
        font-size: 14px;
    }
}

/* ========== 3. 课程详情页 - 课程目录优化 ========== */
.chapter-item {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.chapter-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color, #00A8FF);
}

.chapter-title {
    font-size: 20px;
    font-weight: 700;
    color: #2C3E50;
    margin: 0 0 12px 0;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color, #00A8FF);
    display: flex;
    align-items: center;
}

.chapter-title::before {
    content: '📖';
    margin-right: 10px;
    font-size: 22px;
}

.chapter-desc {
    color: #666;
    font-size: 14px;
    margin: 0 0 20px 0;
    padding-left: 15px;
    line-height: 1.6;
}

.lesson-item {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: #F8F9FA;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.lesson-item:hover {
    background: #E9ECEF;
    border-color: var(--primary-color, #00A8FF);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 168, 255, 0.15);
}

.lesson-item a {
    color: #333;
    text-decoration: none;
    flex: 1;
    display: flex;
    align-items: center;
    font-size: 15px;
}

.lesson-item a:hover {
    color: var(--primary-color, #00A8FF);
}

.lesson-icon {
    font-size: 20px;
    margin-right: 12px;
    transition: transform 0.3s;
}

.lesson-item:hover .lesson-icon {
    transform: scale(1.2);
}

.lesson-duration {
    color: #999;
    font-size: 13px;
    margin-left: auto;
    padding-left: 15px;
}

.lesson-free-badge {
    background: linear-gradient(135deg, #27AE60, #229954);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 10px;
    font-weight: 600;
}

.lesson-locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.lesson-locked:hover {
    transform: none;
    background: #F8F9FA;
    border-color: transparent;
}

.lesson-lock-icon {
    margin-left: auto;
    color: #999;
    font-size: 16px;
}

/* 课程目录标题优化 */
.tab-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #E8E8E8;
    position: relative;
}

.tab-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color, #00A8FF), var(--primary-hover, #0090E0));
}

/* 无数据提示优化 */
.no-data {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

.no-data::before {
    content: '📭';
    display: block;
    font-size: 48px;
    margin-bottom: 15px;
}
/* ========== 图标优化 - 2026-02-04 ========== */

/* 平台特色区域优化 */
.features-section {
    margin: 60px 0;
}

.features-section .section-title {
    position: relative;
    padding-bottom: 20px;
}

.features-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #42A5F5, #1976D2);
    border-radius: 2px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #42A5F5, #1976D2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
}

/* 隐藏原始emoji图标 */
.feature-icon {
    font-size: 0;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 为每个特色项创建渐变图标 */
.feature-item:nth-child(1) .feature-icon::before {
    content: '📚';
    font-size: 0;
    width: 80px;
    height: 80px;
    display: block;
    background: linear-gradient(135deg, #42A5F5 0%, #1976D2 100%);
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
    position: relative;
}

.feature-item:nth-child(1) .feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 50px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M21 5c-1.11-.35-2.33-.5-3.5-.5-1.95 0-4.05.4-5.5 1.5-1.45-1.1-3.55-1.5-5.5-1.5S2.45 4.9 1 6v14.65c0 .25.25.5.5.5.1 0 .15-.05.25-.05C3.1 20.45 5.05 20 6.5 20c1.95 0 4.05.4 5.5 1.5 1.35-.85 3.8-1.5 5.5-1.5 1.65 0 3.35.3 4.75 1.05.1.05.15.05.25.05.25 0 .5-.25.5-.5V6c-.6-.45-1.25-.75-2-1zm0 13.5c-1.1-.35-2.3-.5-3.5-.5-1.7 0-4.15.65-5.5 1.5V8c1.35-.85 3.8-1.5 5.5-1.5 1.2 0 2.4.15 3.5.5v11.5z"/></svg>') no-repeat center;
    background-size: contain;
}

.feature-item:nth-child(2) .feature-icon::before {
    content: '🎓';
    font-size: 0;
    width: 80px;
    height: 80px;
    display: block;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(240, 147, 251, 0.3);
}

.feature-item:nth-child(2) .feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 50px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M5 13.18v4L12 21l7-3.82v-4L12 17l-7-3.82zM12 3L1 9l11 6 9-4.91V17h2V9L12 3z"/></svg>') no-repeat center;
    background-size: contain;
}

.feature-item:nth-child(3) .feature-icon::before {
    content: '💎';
    font-size: 0;
    width: 80px;
    height: 80px;
    display: block;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(79, 172, 254, 0.3);
}

.feature-item:nth-child(3) .feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 50px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2l-5.5 9h11z"/><path d="M12 22l5.5-9h-11z"/></svg>') no-repeat center;
    background-size: contain;
}

.feature-item:nth-child(4) .feature-icon::before {
    content: '📝';
    font-size: 0;
    width: 80px;
    height: 80px;
    display: block;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(67, 233, 123, 0.3);
}

.feature-item:nth-child(4) .feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 50px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z"/></svg>') no-repeat center;
    background-size: contain;
}

/* 特色项标题和描述优化 */
.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.feature-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* 学习通知页面图标优化 */
.notification-header h1 {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-size: 32px;
    position: relative;
}

/* notification-header h1 伪元素已移除，使用icon-wrapper代替 */

/* 响应式优化 */
@media (max-width: 768px) {
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-item:nth-child(1) .feature-icon::before,
    .feature-item:nth-child(2) .feature-icon::before,
    .feature-item:nth-child(3) .feature-icon::before,
    .feature-item:nth-child(4) .feature-icon::before {
        width: 60px;
        height: 60px;
    }
    
    .feature-item:nth-child(1) .feature-icon::after,
    .feature-item:nth-child(2) .feature-icon::after,
    .feature-item:nth-child(3) .feature-icon::after,
    .feature-item:nth-child(4) .feature-icon::after {
        width: 30px;
        height: 35px;
    }
}
/* ========== 学习通知页面样式优化 - 2026-02-04 ========== */

/* 通知容器 */
.notification-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 通知头部优化 */
.notification-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.notification-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

/* 标题下划线装饰 */
.notification-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #42A5F5, #1976D2);
    border-radius: 2px;
}

.notification-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* 通知列表优化 */
.notification-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 通知卡片优化 */
.notification-item {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.notification-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

/* 未读通知样式 */
.notification-item.unread {
    border-left: 4px solid #3498db;
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #42A5F5, #1976D2);
    border-radius: 16px 16px 0 0;
}

/* 已读通知 */
.notification-item.read {
    opacity: 0.9;
}

/* 通知标题优化 */
.notification-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
}

/* NEW标签优化 */
.unread-badge {
    background: linear-gradient(135deg, #42A5F5 0%, #1976D2 100%);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* 通知摘要优化 */
.notification-excerpt {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
}

/* 通知元信息优化 */
.notification-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #999;
    padding-top: 15px;
    border-top: 1px solid #f5f5f5;
}

.notification-time {
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

/* 查看详情按钮优化 */
.btn-read {
    background: linear-gradient(135deg, #42A5F5 0%, #1976D2 100%);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-read:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

/* 空状态优化 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.empty-state h3 {
    font-size: 20px;
    color: #666;
    margin: 20px 0 10px;
}

.empty-state p {
    font-size: 15px;
    color: #999;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .notification-container {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .notification-header h1 {
        font-size: 28px;
    }
    
    .notification-item {
        padding: 20px;
    }
    
    .notification-title {
        font-size: 18px;
    }
    
    .notification-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .btn-read {
        align-self: stretch;
        text-align: center;
    }
}

/* ========== 移动端头部导航优化 ========== */
@media (max-width: 768px) {
    .site-header {
        padding: 10px 0;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .logo {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .logo a {
        font-size: 20px;
    }
    
    .main-nav {
        flex: 0 0 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px;
    }
    
    .main-nav a {
        margin-left: 0;
        font-size: 14px;
        padding: 6px 12px;
        background: rgba(66, 165, 245, 0.1);
        border-radius: 6px;
        transition: all 0.3s;
    }
    
    .main-nav a:hover {
        background: rgba(66, 165, 245, 0.2);
        color: #1976D2;
    }
}
