* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 确保可点击元素显示手指指针 */
a, button, [role="button"], .btn, .clickable, [onclick], 
.novel-card, .book-link, .category-item, .rank-card, .auth-buttons a,
.user-dropdown-trigger, .notice-modal-close, .mark-read-btn {
    cursor: pointer !important;
}

/* 文本输入区域显示黑色文本指针 */
input, textarea, select, [contenteditable] {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewport='0 0 20 20'><rect x='9' y='2' width='2' height='16' fill='%23000000'/></svg>") 10 10, text !important;
}

/* 禁用元素显示禁止指针 */
.disabled, [disabled], button:disabled {
    cursor: not-allowed !important;
}

body, .auth-container, main {
    background: linear-gradient(135deg, #fff5f0 0%, #fff8f5 50%, #ffffff 100%) !important;
    background-attachment: fixed;
}

/* 登录页面背景透明，显示背景视频 */

body.login-page {
    background: transparent !important;
}

/* 毛笔艺术风格全局样式 */
.brush-style {
    font-family: '华文行楷', cursive;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-shadow: 
        2px 2px 0px #8B4513,
        0 0 8px rgba(255, 107, 53, 0.6);
    filter: drop-shadow(3px 3px 2px rgba(139, 69, 19, 0.4));
}

/* 毛笔笔触效果 */
.brush-stroke::before {
    display: none; /* 隐藏装饰纹理 */
    position: absolute;
    top: -5px;
    left: -10px;
    right: -10px;
    bottom: -5px;
    background: linear-gradient(45deg, 
        transparent 40%, 
        rgba(139, 69, 19, 0.1) 50%, 
        transparent 60%);
    z-index: -1;
    transform: rotate(-1deg);
}

body {
    font-family: '华文行楷', '楷体', cursive, Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px; /* 为固定的header留出空间，header高度大约64-70px */
    
    /* 科技感橙色背景系统 */
    background: 
        /* 主渐变背景 */
        radial-gradient(ellipse at 20% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 140, 66, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 10%, rgba(255, 87, 34, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 30% 90%, rgba(255, 107, 53, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 30%, rgba(255, 140, 66, 0.06) 0%, transparent 40%),
        /* 基础色调背景 */
        linear-gradient(135deg, 
            #fdf8f5 0%, 
            #fdf6f1 25%, 
            #fcf4ed 50%, 
            #faf2e9 75%, 
            #f8f0e5 100%);
    
    /* 添加细微纹理 */
    background-image: 
        /* 橙色光影 */
        radial-gradient(ellipse at 20% 20%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 140, 66, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 10%, rgba(255, 87, 34, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 30% 90%, rgba(255, 107, 53, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 30%, rgba(255, 140, 66, 0.06) 0%, transparent 40%),
        /* 细微网格纹理 */
        repeating-linear-gradient(0deg, 
            transparent, 
            transparent 100px, 
            rgba(255, 107, 53, 0.01) 100px, 
            rgba(255, 107, 53, 0.01) 102px),
        repeating-linear-gradient(90deg, 
            transparent, 
            transparent 100px, 
            rgba(255, 140, 66, 0.01) 100px, 
            rgba(255, 140, 66, 0.01) 102px),
        /* 圆点装饰 */
        radial-gradient(circle at 25% 25%, 
            rgba(255, 107, 53, 0.015) 1px, 
            transparent 1px),
        radial-gradient(circle at 75% 75%, 
            rgba(255, 140, 66, 0.015) 1px, 
            transparent 1px),
        /* 基础渐变 */
        linear-gradient(135deg, 
            #fdf8f5 0%, 
            #fdf6f1 25%, 
            #fcf4ed 50%, 
            #faf2e9 75%, 
            #f8f0e5 100%);
    
    background-size: 
        300px 300px, 400px 400px, 250px 250px, 350px 350px, 300px 300px,
        120px 120px, 120px 120px,
        80px 80px, 60px 60px,
        100%;
    
    background-attachment: fixed;
    animation: background-drift 25s ease-in-out infinite;
}

main, .main-container, .agreement-container {
    flex: 1 0 auto;
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* 确保内容区域可读性 */
.info-activity-section {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin: 20px 40px;
    padding: 30px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    box-shadow: 
        0 8px 32px rgba(255, 107, 53, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    width: calc(100% - 80px);
    box-sizing: border-box;
}

/* 内容区域装饰边框 */
.info-activity-section::before {
    display: none; /* 隐藏装饰纹理 */
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, 
        rgba(255, 107, 53, 0.2), 
        rgba(255, 140, 66, 0.2), 
        rgba(255, 87, 34, 0.2));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-activity-section:hover::before {
    opacity: 1;
}

.footer {
    flex-shrink: 0;
    background: #faf8f8 !important;
    border-top: 1px solid #eee !important;
    margin-top: 48px !important;
    clear: both;
}

.footer-top {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 0 18px 0;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1 1 180px;
    min-width: 180px;
    margin-right: 18px;
    margin-bottom: 18px;
}

.footer-column:last-child {
    margin-right: 0;
}

.footer-column h3 {
    font-size: 18px;
    color: #ff6b35;
    margin-bottom: 12px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #444;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    border-radius: 6px;
    padding: 2px 8px;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: #fff;
    background: #ff9800;
}

.footer-column ul li a:active {
    color: #fff;
    background: #ff6b35;
}

.footer-column .qrcode {
    text-align: center;
    margin-top: 8px;
}

.footer-column .qrcode img {
    width: 90px;
    height: 90px;
    border-radius: 8px;
    margin-bottom: 6px;
    background: #fff;
    border: 1px solid #eee;
}

.footer-bottom {
    text-align: center;
    color: #888;
    font-size: 14px;
    padding: 12px 0 8px 0;
    background: #faf8f8;
    border-top: 1px solid #eee;
}

/* 客服弹窗样式已移除 */

@media (max-width: 900px) {
    .footer-top {
        flex-direction: column;
        padding: 24px 0 8px 0;
    }
    .footer-column {
        margin-right: 0;
        margin-bottom: 18px;
    }
}

@media (max-width: 600px) {
    .footer-top {
        padding: 12px 0 4px 0;
    }
    .footer-column {
        min-width: 0;
        font-size: 15px;
    }
    .footer-column h3 {
        font-size: 16px;
    }
    .footer-bottom {
        font-size: 12px;
        padding: 8px 0 4px 0;
    }
}

.header {
    background: linear-gradient(135deg, #6a371e, #7b3f22, #6a371d);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    padding: 8px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

/* 添加滚动时的导航栏样式 */
.header.scrolled {
    background: linear-gradient(135deg, #e65100, #ff6b35, #ff8f50);
    box-shadow: 0 2px 15px rgba(255, 107, 53, 0.4);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 0;
    width: 200px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-left: 0;
}

.logo:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.logo::before {
    display: none; /* 隐藏装饰纹理 */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease-out;
    pointer-events: none;
}

.logo:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.logo-icon {
    width: 32px;
    height: 32px;
    position: relative;
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    vertical-align: middle;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-icon i {
    font-size: 24px;
}

.logo:hover .logo-icon i {
    color: #e65100 !important;
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(10deg);
}

@keyframes logoSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.logo:hover .logo-text-container {
    transform: translateX(5px);
}

.logo-text {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.8px;
    position: relative;
    white-space: nowrap;
}

.logo-slogan {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
    letter-spacing: 0.5px;
    transform: translateX(0);
    transition: all 0.3s ease;
    position: relative;
}

.logo:hover .logo-slogan {
    color: rgba(255, 255, 255, 1);
    transform: translateX(2px);
}

.nav {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: 10px;
}

.nav-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    margin: 0 30px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 0;
    width: 380px;
    justify-content: center;
}

.nav a {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    padding: 6px 10px;
    border-radius: 16px;
    transition: all 0.3s;
    position: relative;
    white-space: nowrap;
}

.nav a::after {
    display: none; /* 隐藏装饰纹理 */
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav a:hover::after {
    width: 80%;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 16px;
    padding: 5px 16px;
    margin: 0;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-box:focus-within {
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.4);
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 1);
}

.search-box input {
    border: none;
    outline: none;
    padding: 5px;
    width: 200px;
    font-size: 14px;
}

.search-box i {
    color: #333;
    cursor: pointer;
    transition: transform 0.3s;
}

.search-box i:hover {
    transform: scale(1.1);
}

.auth-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.auth-buttons a {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 5px 15px;
    border-radius: 16px;
    margin: 0;
    transition: all 0.3s;
    white-space: nowrap;
    text-decoration: none;
}

.auth-buttons a:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

/* 轮播图相关样式已清理 - 第1阶段优化完成 */

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin: 20px auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: fit-content;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    margin-top: 8px;
    font-weight: normal;
}

.section-title span {
    background: none;
    color: #222;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    font-weight: bold;
    letter-spacing: 2.5px;
    filter: drop-shadow(0 0 6px #ffe066) drop-shadow(0 0 18px #ffd700) drop-shadow(0 0 2px #fffbe6);
    text-shadow: 0 2px 8px #fffbe6, 0 0 18px #ffd700, 0 0 2px #fffbe6;
    font-size: 1.5em;
    border-radius: 4px;
    padding: 0 8px;
}

.content {
    max-width: 1900px;
    margin: 0 auto;
    padding: 10px;
}

/* 金榜相关样式已删除 */

.novel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    padding: 10px;
}

.novel-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
    max-width: 1700px;
    padding: 20px 0;
    min-height: 450px;
}

.novel-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    padding: 0;
    position: relative;
    will-change: auto;
    width: 100%;
    transform: none;
    animation: none;
}

.novel-card {
    position: relative;
    width: 200px;
    height: 350px;
    background: #fff;
    border-radius: 24px;
    overflow: visible;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    margin: 0 12px;
    opacity: 1;
    transition: box-shadow 0.5s, transform 0.5s;
    z-index: 1;
}
.novel-card::before {
    display: none; /* 隐藏装饰纹理 */
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    background: linear-gradient(120deg, #FFC300, #FFD700, #FFB300, #FFD700, #FFC300);
    background-size: 300% 300%;
    animation: goldMarquee 2.5s linear infinite;
    z-index: 0;
    pointer-events: none;
    box-shadow: 0 0 16px 2px #ffc30066;
}
.novel-card > * {
    position: relative;
    z-index: 1;
}
.novel-card.active {
    box-shadow: 0 5px 32px rgba(218,165,32,0.45);
    z-index: 3;
    transform: scale(1.05);
}

.novel-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    margin-bottom: 0;
    display: block;
}

.novel-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transform: translateY(-5px) scale(1.05);
}

.novel-info {
    padding: 8px 12px 6px;
    background: white;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.novel-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    margin-top: 0;
    padding-top: 0;
    line-height: 1.3;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.novel-author {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.novel-card .novel-category {
    font-size: 12px;
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.novel-card .novel-popularity {
    font-size: 12px;
    color: #e67e22;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* author-meeting轮播图样式已清理 */

/* download-app 样式已移除 */

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

/* 轮播图dots样式已清理 */

.novel-card.swallow-out {
    animation: swallowOut 0.5s forwards;
}
@keyframes swallowOut {
    0% { opacity: 0.7; transform: translateY(-50%) scale(0.7); left: 0%; }
    100% { opacity: 0; transform: translateY(-50%) scale(0.3); left: -20%; }
}

.novel-card.spit-in {
    animation: spitIn 0.5s forwards;
}
@keyframes spitIn {
    0% { opacity: 0; transform: translateY(-50%) scale(0.3); left: 100%; }
    100% { opacity: 0.7; transform: translateY(-50%) scale(0.7); left: 80%; }
}

/* 轮播图按钮样式已清理 */

.info-activity-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 30px 0 10px 0;
    min-height: 260px;
}
.info-list, .activity-list {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 30px 30px 20px 30px;
    min-width: 0;
}
.info-list h2, .activity-list h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 18px;
    color: #222;
}
.info-list ul, .activity-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.info-list ul li {
    font-size: 16px;
    color: #222;
    margin-bottom: 14px;
    line-height: 1.7;
    cursor: pointer;
    transition: color 0.2s;
}
.info-list ul li:hover {
    color: #ff6b35;
    text-decoration: underline;
}
.activity-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
.more-link {
    font-size: 15px;
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}
.more-link:hover {
    color: #ff6b35;
}
.activity-list ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #222;
    margin-bottom: 14px;
    line-height: 1.7;
}
.activity-list ul li .date {
    color: #888;
    font-size: 15px;
    margin-left: 18px;
    white-space: nowrap;
}
.activity-ad {
    width: 100%;
    margin-top: 28px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    object-fit: cover;
}
@media (max-width: 900px) {
    .info-activity-section {
        flex-direction: column;
        gap: 30px;
        padding: 20px 0 10px 0;
    }
    .info-list, .activity-list {
        padding: 20px 15px 15px 15px;
    }
    .activity-ad {
        margin-top: 18px;
    }
}

.male-books-section {
    max-width: 1200px;
    margin: 20px auto 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.95));
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.female-books-section {
    max-width: 1200px;
    margin: 20px auto 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.95));
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.male-books-header {
    margin-bottom: 10px;
}
.male-books-header h2 {
    font-size: 28px;
    font-weight: bold;
    color: #222;
    margin-bottom: 6px;
}
.male-books-desc {
    font-size: 16px;
    color: #888;
    margin-bottom: 18px;
}
.male-books-content {
    display: flex;
    gap: 36px;
}
.male-book-featured {
    flex: 0 0 260px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 18px 18px 18px 18px;
    margin-bottom: 0;
}
.male-book-featured img {
    width: 150px;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 0;
    margin-right: 16px;
}
.featured-info {
    width: 100%;
    display: block;
    flex: 1;
}
.featured-title {
    font-size: 20px;
    font-weight: bold;
    color: #222;
    margin-bottom: 6px;
}
.featured-author {
    font-size: 15px;
    color: #888;
    margin-bottom: 8px;
}
.featured-desc {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 48px;
}
.male-book-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.male-book-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 12px;
    min-width: 0;
    max-width: 100%;
    height: 120px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.male-book-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.male-book-item img {
    width: 70px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 12px;
    flex-shrink: 0;
}
.item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 0 5px;
}
.item-title {
    font-size: 16px;
    font-weight: bold;
    color: #222;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.item-author {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.item-desc {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    max-height: 42px;
}
.male-book-item a {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    color: inherit !important;
}
@media (max-width: 1100px) {
    .male-book-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .male-books-content {
        flex-direction: column;
        gap: 24px;
    }
    .male-book-featured {
        flex: none;
        align-items: center;
        margin: 0 auto;
        flex-direction: column;
        max-height: none;
    }
    .male-book-featured img {
        width: 120px;
        height: 160px;
        margin-right: 0;
        margin-bottom: 16px;
    }
    .featured-info {
        width: auto;
        flex: 1;
    }
}
@media (max-width: 700px) {
    .male-book-list {
        grid-template-columns: 1fr;
    }
    .male-book-item img {
        width: 60px;
        height: 80px;
    }
    .male-book-featured img {
        width: 90px;
        height: 120px;
        margin-right: 0;
        margin-bottom: 12px;
    }
}

.books-tabs-section {
    max-width: 1200px;
    margin: 30px auto 0 auto;
    padding: 0 20px 20px 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.books-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.tab-btn {
    font-size: 18px;
    color: #666;
    background: none;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tab-btn.active {
    color: #ff9800;
    font-weight: bold;
}

.tab-btn.active::after {
    display: none; /* 隐藏装饰纹理 */
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff9800;
}

.novel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

.novel-grid .novel-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.novel-grid .novel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.novel-grid .novel-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.novel-grid .novel-info {
    padding: 12px;
}

.novel-grid .novel-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.novel-grid .novel-author {
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
}

.novel-grid .novel-category {
    font-size: 12px;
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.no-books {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

.error-message {
    text-align: center;
    padding: 40px;
    color: #ff6b35;
    font-size: 16px;
}

.footer-covers-section,
.footer-covers-section.reverse,
.footer-covers-section.second,
.footer-covers-list,
.footer-cover-item,
.cover-link,
.cover-image,
.cover-image::before,
.cover-image::after,
.cover-image img,
.cover-link:hover .cover-image img,
.cover-info,
.footer-covers-section::before,
.footer-covers-section::after,
.footer-covers-section.reverse::before,
.footer-covers-section.second::before,
.footer-covers-section.reverse::after,
.footer-covers-section.second::after,
.footer-covers-grid-section,
.footer-covers-grid-list,
.footer-covers-grid-item,
.footer-covers-grid-item img,
.footer-covers-grid-item:hover,
.footer-covers-masonry-section,
.footer-covers-masonry-list,
.footer-covers-masonry-item,
.footer-covers-masonry-item img,
.footer-covers-masonry-item:hover,
.footer-covers-brick-section,
.footer-covers-brick-list,
.footer-covers-brick-item,
.footer-covers-brick-item img,
.footer-covers-brick-item:hover,
.footer-covers-brick-item:nth-child(8n+5),
.footer-covers-brick-item:nth-child(8n+6),
.footer-covers-brick-item:nth-child(8n+7),
.footer-covers-brick-item:nth-child(8n+8),
.footer-covers-brick-item:nth-child(4n+3),
.footer-covers-brick-item:nth-child(4n+4) {
    display: none !important;
}

/* banner-dots轮播图样式已清理 */

/* 重写链接样式 */
.book-link {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    color: inherit !important;
    position: relative !important;
    z-index: 1 !important;
}

.male-book-item a.book-link img {
    flex-shrink: 0 !important;
}

.male-book-item a.book-link .item-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* 小说卡片链接样式 */
.novel-card a, 
.male-book-featured a, 
.male-book-item a, 
.footer-cover-item a, 
.rank-book-cover a,
.book-cover a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 2;
}

.novel-card a:hover,
.male-book-featured a:hover,
.male-book-item a:hover,
.footer-cover-item a:hover,
.rank-book-cover a:hover,
.book-cover a:hover {
    text-decoration: none;
    color: inherit;
}

.book-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 12px;
}

.book-cover {
    width: 80px;
    height: 110px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 16px;
}

.book-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.book-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 6px;
}

.book-author {
    font-size: 14px;
    color: #888;
    margin-bottom: 8px;
}

.book-desc {
    font-size: 14px;
    color: #555;
}

.male-books-section .item-title {
    color: #222;
    font-weight: bold;
}

.male-books-section .item-author {
    color: #666;
}

.male-books-section .item-desc {
    color: #444;
}

.user-info-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.user-avatar-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    background: #fff;
}
.user-name-nav {
    font-weight: 500;
    color: #333;
    font-size: 15px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.user-info-nav .dropdown-toggle {
    border: none;
    background: none;
    box-shadow: none;
    color: #888;
    font-size: 16px;
    margin-left: 2px;
}
.user-info-nav .dropdown-menu {
    min-width: 120px;
    font-size: 15px;
}
.user-info-nav .dropdown-item {
    cursor: pointer;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: inherit !important;
    width: 100%;
    height: 100%;
}
.logo-link:visited,
.logo-link:active,
.logo-link:focus {
    color: inherit !important;
    text-decoration: none !important;
    outline: none;
}
.logo-link:hover .logo-icon,
.logo-link:hover .logo-text {
    filter: brightness(1.1);
}

/* 登录注册页面美化 */
.auth-box {
    background: rgba(255,255,255,0.92);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 40px 36px 32px 36px;
    min-width: 340px;
    max-width: 400px;
    width: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (max-width: 600px) {
    .auth-box {
        min-width: 90vw;
        padding: 24px 8px;
    }
}

/* 登录注册页面导航栏橙色渐变背景 */
body.login-page .header {
    background: linear-gradient(135deg, #ff6b35, #ff8f50, #ffa366) !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3) !important;
}
body.login-page .header .nav a,
body.login-page .header .logo-text,
body.login-page .header .logo-icon,
body.login-page .header .nav,
body.login-page .header .search-box input,
body.login-page .header .search-box i {
    color: #fff !important;
}
body.login-page .header .nav a {
    background: transparent;
}
body.login-page .header .nav a:hover {
    background: rgba(255,255,255,0.12);
    color: #fff !important;
}
/* 登录页面 download-app 样式已移除 */

/* 用户头像下拉菜单美化 */
.user-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 2px 10px 2px 2px;
    border-radius: 20px;
    transition: background 0.2s;
}
.user-dropdown-trigger:hover {
    background: #f5f6fa;
}
.user-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 40px;
    min-width: 130px;
    z-index: 1000;
    background: #fff;
    border: 1px solid #e6e6e6;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    border-radius: 8px;
    padding: 8px 0;
    animation: dropdownFadeIn 0.18s;
}
@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.user-dropdown-menu li {
    list-style: none;
}
.user-dropdown-menu .dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.18s, color 0.18s;
    border: none;
    background: none;
    text-align: left;
}
.user-dropdown-menu .dropdown-item:hover {
    background: #f0f0f0;
    color: #ff9800;
}
.user-avatar-nav {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 2px solid #fff;
}
.user-name-nav {
    font-weight: 500;
    color: #222;
    font-size: 15px;
}

/* 男/女频好书主推大卡+右侧小卡布局 */
.featured-books-flex {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    margin: 0 auto 30px auto;
    min-height: 320px;
}
.featured-books-layout {
    display: grid;
    grid-template-columns: 258px repeat(3, 1fr);
    grid-template-rows: 465px;
    grid-gap: 20px 36px;
    margin-top: 40px;
    width: 100%;
    min-height: 140px;
    height: 465px;
    align-items: stretch;
}
.main-featured-card {
    width: 258px;
    height: 465px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.3s, transform 0.3s;
}
.main-featured-card:hover {
    box-shadow: 0 8px 32px rgba(25,118,210,0.13);
    transform: translateY(-4px) scale(1.03);
}
.main-featured-card img {
    width: 258px;
    height: 346px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    display: block;
}
.main-featured-info {
    width: 258px;
    height: 101px;
    box-sizing: border-box;
    padding: 14px 18px 10px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.main-featured-title {
    font-size: 22px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.main-featured-author {
    font-size: 15px;
    color: #888;
    margin-bottom: 6px;
}
.main-featured-category {
    font-size: 13px;
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}
.main-featured-desc {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-top: 2px;
    min-height: 36px;
    max-height: 48px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.side-featured-list {
    flex: 1 1 0;
    display: grid;
    grid-template-columns: repeat(3, 260px);
    grid-template-rows: repeat(3, 150px);
    gap: 20px 16px;
    align-items: stretch;
}
.side-featured-card {
    height: 150px;
    width: 260px;
    min-height: 0;
    max-height: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: row;
}
.side-featured-card:hover {
    box-shadow: 0 6px 18px rgba(25,118,210,0.13);
    transform: translateY(-2px) scale(1.03);
}
.side-featured-card img {
    width: 95px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
    flex-shrink: 0;
}
.side-featured-info {
    width: 160px;
    padding: 7px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.side-featured-title {
    font-size: 15px;
    font-weight: bold;
    color: #222;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.side-featured-author {
    font-size: 13px;
    color: #888;
    margin-bottom: 3px;
}
.side-featured-category {
    font-size: 12px;
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 3px;
}
.side-featured-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
@media (max-width: 900px) {
    .featured-books-flex, .featured-books-layout {
        flex-direction: column;
        gap: 18px;
    }
    .main-featured-card {
        width: 100%;
        max-width: 100%;
    }
    .side-featured-list {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .side-featured-list {
        grid-template-columns: 1fr;
    }
    .main-featured-card img {
        height: 180px;
    }
}

.books-tab-content .tab-pane {
    display: none;
}
.books-tab-content .tab-pane.active {
    display: block;
}

/* 主推大卡片和小卡片内a标签去除下划线 */
.main-featured-card a,
.main-featured-card a:hover,
.side-featured-card a,
.side-featured-card a:hover {
    text-decoration: none !important;
    color: inherit !important;
}

/* 公告通知弹窗样式 */
.notice-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.35);
    animation: fadeIn 0.2s;
}
.notice-modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    width: 95vw;
    max-width: 420px;
    padding: 0 0 18px 0;
    animation: slideUp 0.2s;
    display: flex;
    flex-direction: column;
}
.notice-modal-header {
    display: flex;
    align-items: center;
    padding: 18px 24px 10px 24px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 18px;
    font-weight: 600;
    color: #e65100;
}
.notice-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}
.notice-modal-close:hover {
    color: #ff6b35;
}
.notice-modal-body {
    max-height: 60vh;
    overflow-y: auto;
    padding: 18px 24px 0 24px;
}
.notice-item {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f5f5f5;
}
.notice-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
}
.notice-content {
    font-size: 15px;
    color: #444;
    margin-bottom: 4px;
    word-break: break-all;
}
.notice-time {
    font-size: 12px;
    color: #aaa;
    text-align: right;
}
.notice-loading, .notice-empty, .notice-error {
    text-align: center;
    color: #888;
    font-size: 15px;
    margin: 30px 0;
}
@media (max-width: 600px) {
    .notice-modal-content {
        max-width: 98vw;
        padding: 0 0 10px 0;
    }
    .notice-modal-header, .notice-modal-body {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* 公告未读红点和未读状态样式 */
.notice-unread-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff6b35;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
.notice-unread {
    background: #fff8f0;
    border-left: 3px solid #ff6b35;
}
.notice-item {
    padding: 12px 18px 10px 18px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}
.notice-item:last-child {
    border-bottom: none;
}
.mark-read-btn {
    position: absolute;
    right: 18px;
    top: 16px;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 12px;
    border: 1px solid #ff6b35;
    color: #ff6b35;
    background: #fff;
    transition: background 0.2s, color 0.2s;
}
.mark-read-btn:hover {
    background: #ff6b35;
    color: #fff;
}
@media (max-width: 600px) {
    .notice-modal-content {
        max-width: 98vw;
        padding: 0 0 10px 0;
    }
    .notice-item {
        padding: 10px 8px 8px 8px;
    }
    .mark-read-btn {
        right: 8px;
        top: 10px;
        font-size: 11px;
        padding: 2px 8px;
    }
}

/* 公告弹窗header左对齐修正 */
.notice-modal-header {
    display: flex;
    align-items: center;
    padding: 18px 24px 10px 24px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 18px;
    font-weight: 600;
    color: #e65100;
}
.notice-modal-header-flex {
    display: flex;
    align-items: center;
}
.notice-modal-title-group {
    display: flex;
    align-items: center;
}
.notice-modal-close {
    margin-left: auto;
}
.notice-batch-btn {
    margin-left: 8px;
    height: 32px;
    line-height: 32px;
    padding: 0 16px;
    font-size: 15px;
    border: 1px solid #ff6b35;
    color: #ff6b35;
    background: #fff;
    border-radius: 16px;
    transition: background 0.2s, color 0.2s;
}
.notice-batch-btn:hover {
    background: #ff6b35;
    color: #fff;
}
@media (max-width: 600px) {
    .notice-batch-btn {
        height: 28px;
        font-size: 13px;
        padding: 0 10px;
        border-radius: 14px;
    }
}

/* 内容区顶部批量删除按钮样式优化 */
.notice-modal-body .notice-batch-btn {
  position: static;
  margin: 0 0 0 8px;
  float: none;
  display: inline-block;
}
.notice-modal-body > div:first-child {
  text-align: right;
  margin-bottom: 10px;
}

/* 全局禁用按钮样式 */
button.disabled, .profile-btn.disabled {
    background: #ccc !important;
    color: #fff !important;
    border: 1px solid #ccc !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    opacity: 0.7;
}

/* 会员等级头像框样式 */
.avatar-frame {
    display: inline-block;
    position: relative;
    padding: 3px;
    border-radius: 50%;
    box-sizing: border-box;
    background: transparent;
    transition: box-shadow 0.3s, border 0.3s;
}

.crown-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.crown-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

/* 普通会员皇冠 - 银色光泽 */
.avatar-frame.normal .crown-icon { 
    filter: drop-shadow(0 0 8px #e0e0e0cc);
    animation: silverGlow 3s ease-in-out infinite alternate;
}

/* 高级会员皇冠 - 蓝色脉冲 */
.avatar-frame.senior .crown-icon { 
    filter: drop-shadow(0 0 12px #ff9800cc);
    animation: bluePulse 2.5s ease-in-out infinite;
}

/* 超级会员皇冠 - 紫色闪烁 */
.avatar-frame.super .crown-icon { 
    filter: drop-shadow(0 0 16px #8e24aacc);
    animation: purpleSparkle 2s ease-in-out infinite;
}

/* 黑金会员皇冠 - 金色光芒（移除旋转） */
.avatar-frame.blackgold .crown-icon { 
    filter: drop-shadow(0 0 20px #ffd700ee);
    animation: goldGlow 2s ease-in-out infinite alternate;
}

/* 至尊会员皇冠 - 金色光芒（移除彩虹效果） */
.avatar-frame.supreme .crown-icon { 
    filter: drop-shadow(0 0 24px #ffd700ee);
    animation: supremeFloat 2s ease-in-out infinite alternate;
}

.avatar-frame.default .crown-icon { 
    filter: drop-shadow(0 0 10px #bdbdbdcc);
}

/* 导航栏皇冠样式 */
.crown-icon.crown-navbar {
    width: 12px !important;
    height: 12px !important;
    top: -8px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    filter: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    box-shadow: none !important;
    display: block !important;
    position: absolute !important;
    pointer-events: none !important;
}

.crown-icon.crown-navbar svg {
    width: 12px !important;
    height: 12px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 导航栏皇冠动画效果 */
.crown-icon.crown-navbar {
    animation: navbarCrownGlow 3s ease-in-out infinite alternate;
}

.avatar-frame.crown-navbar .user-avatar,
.avatar-frame.crown-navbar .user-avatar-nav {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    box-shadow: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    position: static !important;
}

/* 皇冠动画效果 */
@keyframes silverGlow {
    0% { filter: drop-shadow(0 0 8px #e0e0e0cc) brightness(1); }
    100% { filter: drop-shadow(0 0 12px #f5f5f5ee) brightness(1.2); }
}

@keyframes bluePulse {
    0%, 100% { 
        filter: drop-shadow(0 0 12px #ff9800cc) scale(1);
        transform: translateX(-50%) scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 18px #42a5f5ee) scale(1.05);
        transform: translateX(-50%) scale(1.05);
    }
}

@keyframes purpleSparkle {
    0%, 100% { 
        filter: drop-shadow(0 0 16px #8e24aacc) brightness(1);
        transform: translateX(-50%) rotate(0deg);
    }
    25% { 
        filter: drop-shadow(0 0 20px #ce93d8ee) brightness(1.3);
        transform: translateX(-50%) rotate(5deg);
    }
    75% { 
        filter: drop-shadow(0 0 20px #ba68c8ee) brightness(1.3);
        transform: translateX(-50%) rotate(-5deg);
    }
}

@keyframes goldGlow {
    0% { filter: drop-shadow(0 0 20px #ffd700ee) brightness(1) saturate(1); }
    100% { filter: drop-shadow(0 0 28px #fff8dcff) brightness(1.4) saturate(1.5); }
}

@keyframes supremeAura {
    0% { filter: drop-shadow(0 0 24px #ffd700ee) brightness(1); }
    100% { filter: drop-shadow(0 0 32px #fff8dcff) brightness(1.5); }
}

@keyframes supremeFloat {
    0% { 
        transform: translateX(-50%) translateY(0px) scale(1);
    }
    100% { 
        transform: translateX(-50%) translateY(-3px) scale(1.08);
    }
}

@keyframes navbarCrownGlow {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* 皇冠悬停效果 */

/* 样式文件已清理，移除金榜相关内容 */

/* 全局橙色背景修复 - 确保内容区域不会有橙色背景 */
.main-container,
.container,
.content,
.content-area,
.main-content,
.page-content,
.section,
.section-content,
.card,
.card-body,
.panel,
.panel-body,
.form-container,
.form-wrapper,
.modal-content,
.modal-body,
.tab-content,
.tab-pane,
.profile-section,
.user-section,
.settings-section,
.account-section,
.info-section,
.edit-section,
.upload-section,
.file-section,
.input-group,
.input-wrapper,
.textarea-wrapper,
.select-wrapper {
    background: #fff !important;
    background-color: #fff !important;
}

/* 保持某些特定区域的浅色背景 */
.bg-light,
.bg-gray,
.bg-subtle,
.sidebar,
.navigation,
.breadcrumb,
.pagination,
.stats-box,
.info-box,
.tip-box,
.note-box {
    background: #f8f9fa !important;
    background-color: #f8f9fa !important;
}

/* 修复可能的内联样式橙色背景 */
*[style*="background:#ff6b35"],
*[style*="background-color:#ff6b35"],
*[style*="background: #ff6b35"],
*[style*="background-color: #ff6b35"],
*[style*="background:#e65100"],
*[style*="background-color:#e65100"],
*[style*="background: #e65100"],
*[style*="background-color: #e65100"] {
    background: #fff !important;
    background-color: #fff !important;
}

/* 保持按钮和交互元素的橙色 - 这些元素保留原有样式 */

/* ========================================
   全面移动端响应式优化
   ======================================== */

/* 平板端优化 (1024px以下) */
@media (max-width: 1024px) {
    .header {
        padding: 8px 30px;
    }
    
    .nav-center {
        gap: 20px;
    }
    
    .container,
    .main-container {
        max-width: 100%;
        padding: 0 20px;
    }
}

/* 移动端优化 (768px以下) */
@media (max-width: 768px) {
    /* 全局页脚隐藏 */
    .footer,
    footer {
        display: none !important;
    }
    
    /* 回到顶部按钮隐藏 */
    .back-to-top,
    #backToTop {
        display: none !important;
    }
    
    /* 导航栏移动端适配 */
    .header {
        padding: 8px 15px;
        height: 60px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .nav-left {
        width: auto;
        gap: 10px;
    }
    
    .logo {
        padding: 5px 8px;
    }
    
    .logo img {
        width: 28px;
        height: 28px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    /* 隐藏桌面端导航 */
    .nav-center,
    .search-container {
        display: none;
    }
    
    /* 显示移动端菜单按钮 */
    .mobile-menu-toggle,
    .mobile-search-toggle {
        display: block !important;
        background: none;
        border: none;
        color: #fff;
        font-size: 18px;
        padding: 8px;
        cursor: pointer;
    }
    
    /* 移动端导航菜单 */
    .mobile-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .mobile-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-nav li {
        border-bottom: 1px solid #eee;
    }
    
    .mobile-nav a {
        display: block;
        padding: 15px 20px;
        color: #333;
        text-decoration: none;
        font-size: 16px;
        transition: background 0.2s;
    }
    
    .mobile-nav a:hover,
    .mobile-nav a.active {
        background: #f8f8f8;
        color: #ff6b35;
    }
    
    /* 内容区域适配 */
    body {
        padding-top: 60px !important;
        padding-bottom: 0 !important;
    }
    
    .container,
    .main-container {
        padding: 0 15px;
        margin: 20px auto;
    }
    
    /* 卡片和内容区域 */
    .card,
    .section {
        margin: 15px 0;
        border-radius: 8px;
    }
    
    /* 按钮适配 */
    .btn,
    .button {
        padding: 12px 20px;
        font-size: 16px;
        border-radius: 8px;
        min-height: 44px; /* 符合触摸标准 */
    }
    
    /* 表单元素适配 */
    input,
    textarea,
    select {
        font-size: 16px; /* 防止iOS缩放 */
        padding: 12px 15px;
        border-radius: 8px;
        min-height: 44px;
    }
    
    /* 文字大小调整 */
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }
    h4 { font-size: 16px; }
    
    /* 间距调整 */
    .section {
        padding: 20px 15px;
    }
    
    /* 图片响应式 */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* 小屏幕移动端优化 (480px以下) */
@media (max-width: 480px) {
    .header {
        padding: 6px 10px;
        height: 55px;
    }
    
    .logo-text {
        font-size: 14px;
    }
    
    body {
        padding-top: 55px !important;
    }
    
    .container,
    .main-container {
        padding: 0 10px;
        margin: 15px auto;
    }
    
    .section {
        padding: 15px 10px;
        margin: 10px 0;
    }
    
    .btn,
    .button {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    input,
    textarea,
    select {
        font-size: 16px;
        padding: 10px 12px;
    }
    
    h1 { font-size: 20px; }
    h2 { font-size: 18px; }
    h3 { font-size: 16px; }
    h4 { font-size: 14px; }
}

/* 超小屏幕优化 (360px以下) */
@media (max-width: 360px) {
    .header {
        padding: 5px 8px;
        height: 50px;
    }
    
    .logo img {
        width: 24px;
        height: 24px;
    }
    
    .logo-text {
        font-size: 12px;
    }
    
    body {
        padding-top: 50px !important;
    }
    
    .container,
    .main-container {
        padding: 0 8px;
    }
    
    .section {
        padding: 12px 8px;
    }
}

/* 横屏模式优化 */
@media (max-height: 500px) and (orientation: landscape) {
    .header {
        height: 45px;
    }
    
    body {
        padding-top: 45px !important;
    }
    
    .mobile-nav {
        top: 45px;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    /* 移除hover效果，使用active状态 */
    .btn:hover,
    .button:hover,
    a:hover {
        transform: none;
    }
    
    .btn:active,
    .button:active,
    a:active {
        transform: scale(0.95);
        opacity: 0.8;
    }
    
    /* 增大触摸目标 */
    .mobile-nav a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
}

/* iOS特定优化 */
@supports (-webkit-overflow-scrolling: touch) {
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    .mobile-nav {
        -webkit-overflow-scrolling: touch;
    }
}

/* 现代移动浏览器优化 */
@supports (env(safe-area-inset-top)) {
    .header {
        padding-top: calc(8px + env(safe-area-inset-top));
        height: calc(60px + env(safe-area-inset-top));
    }
    
    body {
        padding-top: calc(60px + env(safe-area-inset-top)) !important;
    }
    
    .mobile-nav {
        top: calc(60px + env(safe-area-inset-top));
    }
}

/* ===============================
   科技感首页美化样式
   =============================== */

/* 首页整体背景动画 */
@keyframes background-drift {
    0%, 100% { 
        background-position: 
            0% 0%, 100% 100%, 50% 0%, 0% 100%, 100% 0%,
            0% 0%, 0% 0%,
            0% 0%, 0% 0%,
            0% 0%;
        filter: brightness(1);
    }
    25% { 
        background-position: 
            25% 25%, 75% 75%, 75% 25%, 25% 75%, 75% 25%,
            30px 30px, -30px 30px,
            20px 20px, 15px 15px,
            0% 0%;
        filter: brightness(1.02);
    }
    50% { 
        background-position: 
            50% 50%, 50% 50%, 100% 50%, 50% 50%, 50% 50%,
            60px 60px, -60px 60px,
            40px 40px, 30px 30px,
            0% 0%;
        filter: brightness(1.04);
    }
    75% { 
        background-position: 
            75% 25%, 25% 75%, 25% 75%, 75% 25%, 25% 75%,
            90px 30px, -90px 30px,
            60px 20px, 45px 15px,
            0% 0%;
        filter: brightness(1.02);
    }
}

/* 首页附加装饰层 */
body {
    position: relative;
}

/* 浮动光效装饰 */
body::before {
    display: none; /* 隐藏装饰纹理 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* 动态光晕效果 */
        radial-gradient(circle at 15% 25%, rgba(255, 107, 53, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 85% 75%, rgba(255, 140, 66, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(255, 87, 34, 0.02) 0%, transparent 70%);
    animation: floating-lights 30s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes floating-lights {
    0%, 100% { 
        transform: translateX(0) translateY(0);
        opacity: 0.4;
    }
    33% { 
        transform: translateX(20px) translateY(-10px);
        opacity: 0.7;
    }
    66% { 
        transform: translateX(-15px) translateY(15px);
        opacity: 0.5;
    }
}

/* 科技纹理覆盖层 */
body::after {
    display: none; /* 隐藏装饰纹理 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* 大型六边形网格 */
        repeating-conic-gradient(from 30deg at 50% 50%, 
            transparent 0deg, 
            rgba(255, 107, 53, 0.008) 60deg, 
            transparent 120deg),
        /* 对角线网格 */
        repeating-linear-gradient(45deg, 
            transparent, 
            transparent 150px, 
            rgba(255, 140, 66, 0.005) 150px, 
            rgba(255, 140, 66, 0.005) 152px);
    background-size: 300px 300px, 200px 200px;
    animation: tech-texture-flow 40s linear infinite;
    z-index: -2;
    pointer-events: none;
}

@keyframes tech-texture-flow {
    0% { 
        background-position: 0 0, 0 0;
        opacity: 0.3;
    }
    50% { 
        background-position: 150px 150px, -100px 100px;
        opacity: 0.6;
    }
    100% { 
        background-position: 300px 300px, -200px 200px;
        opacity: 0.3;
    }
}

/* 增强版橙色装饰粒子系统 */
.content::before,
.content::after,
.info-activity-section::before,
.info-activity-section::after,
.tech-features::before,
.tech-features::after {
    display: none; /* 隐藏装饰纹理 */
    position: fixed;
    width: 3px;
    height: 3px;
    background: rgba(255, 107, 53, 0.4);
    border-radius: 50%;
    z-index: -1;
    animation: float-bg-particles 8s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.3);
}

.content::before {
    top: 20%;
    left: 5%;
    animation-delay: -3s;
}

.content::after {
    top: 70%;
    right: 8%;
    animation-delay: -6s;
    background: rgba(255, 140, 66, 0.4);
    box-shadow: 0 0 8px rgba(255, 140, 66, 0.3);
}

/* 更多装饰粒子 */
.info-activity-section::before {
    top: 30%;
    left: 15%;
    animation-delay: -1s;
    width: 2px;
    height: 2px;
    background: rgba(255, 87, 34, 0.5);
    box-shadow: 0 0 6px rgba(255, 87, 34, 0.4);
}

.info-activity-section::after {
    top: 80%;
    right: 20%;
    animation-delay: -4s;
    width: 4px;
    height: 4px;
    background: rgba(255, 140, 66, 0.6);
    box-shadow: 0 0 10px rgba(255, 140, 66, 0.4);
}

.tech-features::before {
    top: 50%;
    left: 80%;
    animation-delay: -7s;
    width: 2px;
    height: 2px;
    background: rgba(255, 107, 53, 0.7);
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.5);
}

.tech-features::after {
    top: 60%;
    left: 25%;
    animation-delay: -2s;
    width: 3px;
    height: 3px;
    background: rgba(255, 87, 34, 0.5);
    box-shadow: 0 0 9px rgba(255, 87, 34, 0.4);
}

@keyframes float-bg-particles {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1); 
        opacity: 0.4; 
    }
    25% { 
        transform: translateY(-15px) translateX(10px) scale(1.2); 
        opacity: 0.8; 
    }
    50% { 
        transform: translateY(-25px) translateX(-5px) scale(0.8); 
        opacity: 0.6; 
    }
    75% { 
        transform: translateY(-10px) translateX(-15px) scale(1.1); 
        opacity: 0.9; 
    }
}



/* 科技感英雄横幅区域 */
.cyber-hero {
    position: relative;
    height: 800px;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 87, 34, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 140, 66, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 60%),
        linear-gradient(135deg, #2d1810 0%, #4a2617 50%, #5c2e1a 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    margin: -29px -10px 0 -10px;
    width: calc(100% + 20px);
    border-top: 1px solid rgba(255, 107, 53, 0.3);
    border-bottom: 1px solid rgba(255, 107, 53, 0.3);
    box-shadow: 
        0 0 30px rgba(255, 107, 53, 0.2),
        inset 0 0 30px rgba(255, 107, 53, 0.1);
}

/* 矩阵背景效果 */
.matrix-bg::before {
    display: none; /* 隐藏装饰纹理 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: rgba(255, 140, 66, 0.15);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 20px;
    animation: matrix-rain 8s linear infinite;
    z-index: 1;
}

@keyframes matrix-rain {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* 网格覆盖层 */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 107, 53, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 53, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-pulse 4s ease-in-out infinite;
    z-index: 1;
}

/* 六边形背景图案 */
.cyber-hero::after {
    display: none; /* 隐藏装饰纹理 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 107, 53, 0.08) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 140, 66, 0.08) 2px, transparent 2px);
    background-size: 60px 60px, 80px 80px;
    animation: hexagon-float 12s ease-in-out infinite;
    z-index: 2;
}

@keyframes hexagon-float {
    0%, 100% { transform: translateX(0px) translateY(0px); }
    25% { transform: translateX(10px) translateY(-5px); }
    50% { transform: translateX(-5px) translateY(10px); }
    75% { transform: translateX(-10px) translateY(-5px); }
}

/* 电路板纹理 */
.cyber-decorations::before {
    display: none; /* 隐藏装饰纹理 */
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: 
        linear-gradient(0deg, transparent 24%, rgba(255, 107, 53, 0.05) 25%, rgba(255, 107, 53, 0.05) 26%, transparent 27%, transparent 74%, rgba(255, 107, 53, 0.05) 75%, rgba(255, 107, 53, 0.05) 76%, transparent 77%),
        linear-gradient(90deg, transparent 24%, rgba(255, 140, 66, 0.05) 25%, rgba(255, 140, 66, 0.05) 26%, transparent 27%, transparent 74%, rgba(255, 140, 66, 0.05) 75%, rgba(255, 140, 66, 0.05) 76%, transparent 77%);
    background-size: 120px 120px;
    animation: circuit-flow 8s linear infinite;
    z-index: 1;
}

@keyframes circuit-flow {
    0% { background-position: 0px 0px, 0px 0px; }
    100% { background-position: 120px 120px, -120px 120px; }
}

/* 流动光束效果 */
.cyber-decorations::after {
    display: none; /* 隐藏装饰纹理 */
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 107, 53, 0.1), 
        rgba(255, 140, 66, 0.2), 
        rgba(255, 107, 53, 0.1), 
        transparent);
    animation: light-beam 6s ease-in-out infinite;
    z-index: 3;
}

@keyframes light-beam {
    0% { left: -100%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

@keyframes grid-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* 英雄内容区域 */
.hero-content {
    position: relative;
    text-align: center;
    z-index: 10;
    max-width: 1600px; /* 增加宽度以支持更宽的轮播显示 */
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.cyber-title {
    position: relative;
    margin: 0 0 20px 0;
    font-size: 3.5rem;
    font-weight: 900;
    font-family: '华文行楷', cursive;
    letter-spacing: 0.1em;
    transform: rotate(-2deg);
}

.neon-text {
    color: #ff6b35;
    font-weight: 900;
    font-family: '华文行楷', cursive;
    text-shadow: 
        2px 2px 0px #8B4513,
        0 0 5px #ff6b35,
        0 0 10px rgba(255, 107, 53, 0.8),
        0 0 15px rgba(255, 107, 53, 0.6);
    animation: neon-flicker 3s ease-in-out infinite;
    filter: drop-shadow(3px 3px 2px rgba(139, 69, 19, 0.5));
}

@keyframes neon-flicker {
    0%, 100% { 
        text-shadow: 
            2px 2px 0px #8B4513,
            0 0 5px #ff6b35,
            0 0 10px rgba(255, 107, 53, 0.8),
            0 0 15px rgba(255, 107, 53, 0.6);
        transform: rotate(-2deg) scale(1);
    }
    50% { 
        text-shadow: 
            1.5px 1.5px 0px #8B4513,
            0 0 3px #ff6b35,
            0 0 8px rgba(255, 107, 53, 0.7),
            0 0 12px rgba(255, 107, 53, 0.5);
        transform: rotate(-1.8deg) scale(1.02);
    }
}

/* 标题扫描线 */
.scan-line-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff8c42, transparent);
    animation: title-scan 2s linear infinite;
}

@keyframes title-scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.cyber-subtitle {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    letter-spacing: 2px;
    font-family: '华文行楷', cursive;
    font-weight: 600;
    text-shadow: 
        1px 1px 0px #8B4513,
        0 2px 4px rgba(0, 0, 0, 0.7);
}

/* 全息按钮 */
.cyber-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hologram-btn {
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid;
    background: transparent;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    font-family: '华文行楷', cursive;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    text-shadow: 1px 1px 0px #8B4513;
    text-decoration: none;
    text-align: center;
}

.hologram-btn.primary {
    border-color: #ff6b35;
    color: #ff6b35;
    box-shadow: 
        0 0 20px rgba(255, 107, 53, 0.3),
        inset 0 0 20px rgba(255, 107, 53, 0.1);
}

.hologram-btn.secondary {
    border-color: #ff8c42;
    color: #ff8c42;
    box-shadow: 
        0 0 20px rgba(255, 140, 66, 0.3),
        inset 0 0 20px rgba(255, 140, 66, 0.1);
}

.hologram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 5px 25px rgba(255, 107, 53, 0.5),
        inset 0 0 30px rgba(255, 107, 53, 0.2);
}

/* 英雄板块内的推荐标题 */
.hero-recommendation {
    margin-top: 40px;
    text-align: center;
}

.hero-recommendation .tech-section-title {
    font-size: 2.5rem;
    color: #ff6b35;
    margin: 0;
    text-shadow: 
        0 0 10px rgba(255, 107, 53, 0.8),
        0 0 20px rgba(255, 107, 53, 0.6),
        0 0 30px rgba(255, 107, 53, 0.4);
    animation: hero-title-glow 3s ease-in-out infinite alternate;
}

.hero-recommendation .title-underline {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff6b35, transparent);
    margin: 15px auto 0;
    animation: underline-pulse 2s ease-in-out infinite;
}

@keyframes hero-title-glow {
    0% { 
        text-shadow: 
            0 0 10px rgba(255, 107, 53, 0.8),
            0 0 20px rgba(255, 107, 53, 0.6),
            0 0 30px rgba(255, 107, 53, 0.4);
    }
    100% { 
        text-shadow: 
            0 0 15px rgba(255, 107, 53, 1),
            0 0 25px rgba(255, 107, 53, 0.8),
            0 0 35px rgba(255, 107, 53, 0.6);
    }
}

/* 英雄板块内的轮播样式 */
.hero-carousel {
    margin-top: 50px;
    width: 100%;
    max-width: 1600px; /* 增加宽度，支持显示更多卡片 */
    position: relative;
    z-index: 10;
}

.hero-carousel .carousel-container {
    overflow: hidden;
    width: calc(215px * 7); /* 正好显示7个卡片，每个215px (200px卡片 + 15px间距) */
    position: relative;
    margin: 0 auto; /* 居中显示 */
}

.hero-carousel .carousel-track {
    display: flex;
    gap: 15px;
    padding: 0;
    animation: marquee-scroll 35s linear infinite !important; /* 平滑连续滚动 */
    width: calc(215px * 17); /* 容纳17个卡片，确保连续循环 */
    transform: translateX(0); /* 初始位置 */
}

/* 浮动粒子效果 */
.floating-particles::before,
.floating-particles::after {
    display: none; /* 隐藏装饰纹理 */
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ff6b35;
    border-radius: 50%;
    animation: float-particles 6s ease-in-out infinite;
}

.floating-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: -2s;
    box-shadow: 0 0 10px #ff6b35;
}

.floating-particles::after {
    top: 60%;
    right: 15%;
    animation-delay: -4s;
    background: #ff8c42;
    box-shadow: 0 0 10px #ff8c42;
}

@keyframes float-particles {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.2); }
}

/* 轮播区域 */
.carousel-section {
    margin: 40px 0;
    padding: 0;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
    padding: 0 40px;
    box-sizing: border-box;
}

.tech-section-title {
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
    margin: 0;
    font-family: '华文行楷', cursive;
    font-weight: 800;
    letter-spacing: 0.08em;
    transform: rotate(-1deg);
}

.neon-accent {
    color: #ff6b35;
    font-weight: 800;
    font-family: '华文行楷', cursive;
    text-shadow: 
        1px 1px 0px #8B4513,
        0 0 3px #ff6b35,
        0 0 8px rgba(255, 107, 53, 0.7),
        0 0 12px rgba(255, 107, 53, 0.4);
    filter: drop-shadow(2px 2px 1px rgba(139, 69, 19, 0.3));
}

.title-underline {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff6b35, transparent);
    animation: underline-pulse 2s ease-in-out infinite;
}

@keyframes underline-pulse {
    0%, 100% { opacity: 0.5; width: 60%; }
    50% { opacity: 1; width: 100%; }
}

/* 轮播容器 */
.cyber-carousel {
    position: relative;
    overflow: hidden;
    background: none; /* 移除背景 */
    padding: 30px 0;
    width: 100%;
    /* 移除边框和阴影 */
}

/* 轮播区域装饰纹理 - 已移除背景效果 */
.cyber-carousel::before {
    display: none; /* 隐藏装饰纹理 */
}

/* 轮播区域发光粒子 - 已移除背景效果 */
.cyber-carousel::after {
    display: none; /* 隐藏发光粒子 */
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 10;
    padding: 0 40px;
    box-sizing: border-box;
}

.carousel-track {
    display: flex;
    animation: carousel-scroll 12s linear infinite; /* 与英雄轮播保持一致 */
    width: calc(200% + 40px);
}

@keyframes carousel-scroll {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(-100%); 
    }
}

/* 真正的连续跑马灯效果 - 平滑不间断滚动 */
@keyframes marquee-scroll {
    0% { 
        transform: translateX(0); 
    }
    100% { 
        transform: translateX(calc(-215px * 10)); /* 移动完10个卡片，重复卡片无缝接上 */
    }
}

/* 备用测试动画 - 如果上面不行就用这个 */
@keyframes simple-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.carousel-item {
    flex: 0 0 200px; /* 固定宽度200px */
    margin: 0; /* 去掉margin，只用gap控制间距 */
    text-align: center;
}

/* 科技感书籍封面 */
.placeholder-cover, .carousel-item .book-cover {
    width: 200px !important;
    height: 260px !important;
    margin: 0 auto 15px auto;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 书籍封面图片设置 - 引用xiaoshuofengmian文件夹中的封面图 */
.book-cover[data-book="book1"] {
    background-image: url('../images/xiaoshuofengmian/fengmian1.jpg');
}
.book-cover[data-book="book2"] {
    background-image: url('../images/xiaoshuofengmian/fengmian2.jpg');
}
.book-cover[data-book="book3"] {
    background-image: url('../images/xiaoshuofengmian/fengmian3.jpg');
}
.book-cover[data-book="book4"] {
    background-image: url('../images/xiaoshuofengmian/fengmian4.jpg');
}
.book-cover[data-book="book5"] {
    background-image: url('../images/xiaoshuofengmian/fengmian5.jpg');
}
.book-cover[data-book="book6"] {
    background-image: url('../images/xiaoshuofengmian/fengmian6.jpg');
}
.book-cover[data-book="book7"] {
    background-image: url('../images/xiaoshuofengmian/fengmian7.jpg');
}
.book-cover[data-book="book8"] {
    background-image: url('../images/xiaoshuofengmian/fengmian8.jpg');
}
.book-cover[data-book="book9"] {
    background-image: url('../images/xiaoshuofengmian/fengmian9.jpg');
}
.book-cover[data-book="book10"] {
    background-image: url('../images/xiaoshuofengmian/fengmian10.jpg');
}

.tech-frame {
    background: linear-gradient(135deg, #4a2617 0%, #5c2e1a 50%, #703520 100%);
    border: 2px solid #ff6b35;
    box-shadow: 
        0 0 20px rgba(255, 107, 53, 0.4),
        inset 0 0 20px rgba(255, 107, 53, 0.1);
    position: relative;
    overflow: hidden;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    z-index: 3;
}

.genre-tag {
    align-self: flex-start;
    background: rgba(255, 107, 53, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.pulse-dot {
    align-self: flex-end;
    width: 12px;
    height: 12px;
    background: #ff8c42;
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
    box-shadow: 0 0 10px #ff8c42;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

/* 扫描效果 */
.scan-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff8c42, transparent);
    animation: scan-down 3s linear infinite;
    z-index: 2;
}

@keyframes scan-down {
    0% { top: 0; opacity: 1; }
    50% { opacity: 0.8; }
    100% { top: 100%; opacity: 0; }
}

/* 轮播项信息 */
.item-info {
    color: white;
}

.cyber-book-title {
    font-size: 1rem;
    margin: 0 0 5px 0;
    color: #ff6b35;
    font-weight: 700;
    font-family: '华文行楷', cursive;
    text-shadow: 
        1px 1px 0px #8B4513,
        0 0 2px #ff6b35,
        0 0 5px rgba(255, 107, 53, 0.6);
    letter-spacing: 0.5px;
    transform: rotate(-0.3deg);
}

.cyber-author {
    font-size: 0.9rem;
    margin: 0;
    color: #888;
    font-family: '华文行楷', cursive;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0.5px 0.5px 0px rgba(139, 69, 19, 0.2);
    font-style: italic;
}

/* 科技功能卡片 */
.tech-features {
    margin: 60px 0;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    position: relative;
    padding: 30px 20px;
    text-align: center;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(45, 24, 16, 0.95) 0%, rgba(74, 38, 23, 0.95) 100%);
    border: 2px solid rgba(255, 107, 53, 0.4);
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 107, 53, 0.1);
}

.hologram-card {
    background: linear-gradient(135deg, rgba(45, 24, 16, 0.95) 0%, rgba(74, 38, 23, 0.95) 100%);
    position: relative;
}

.hologram-card::before {
    display: none; /* 隐藏装饰纹理 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 107, 53, 0.1) 50%, 
        transparent 70%);
    background-size: 200% 200%;
    animation: hologram-shift 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes hologram-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #ff6b35;
    box-shadow: 
        0 20px 40px rgba(255, 107, 53, 0.4),
        inset 0 0 30px rgba(255, 107, 53, 0.2);
}

.card-icon {
    position: relative;
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 20px;
    display: inline-block;
    z-index: 10;
}

.card-icon i {
    text-shadow: 
        0 0 8px #ff6b35,
        0 0 15px rgba(255, 107, 53, 0.7);
    position: relative;
    z-index: 10;
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid #ff6b35;
    border-radius: 50%;
    animation: icon-pulse-ring 2s ease-in-out infinite;
    z-index: 5;
}

@keyframes icon-pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.feature-title {
    font-size: 1.3rem;
    color: #ffffff;
    margin: 0 0 10px 0;
    font-weight: 700;
    font-family: '华文行楷', cursive;
    text-shadow: 
        1px 1px 0px #8B4513,
        0 0 3px rgba(255, 255, 255, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
    letter-spacing: 1px;
    transform: rotate(-0.5deg);
}

.feature-desc {
    color: #e0e0e0;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    font-family: '华文行楷', cursive;
    font-weight: 500;
    text-shadow: 
        0.5px 0.5px 0px rgba(139, 69, 19, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 10;
    letter-spacing: 0.5px;
}

.card-border-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border: 2px solid #ff6b35;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    box-shadow: 
        0 0 20px #ff6b35,
        inset 0 0 20px rgba(255, 107, 53, 0.1);
}

.feature-card:hover .card-border-glow {
    opacity: 1;
}

/* 数据统计面板 */
.cyber-stats {
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, #2d1810 0%, #4a2617 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
    border-top: 2px solid rgba(255, 107, 53, 0.3);
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
    box-shadow: 
        0 0 30px rgba(255, 107, 53, 0.2),
        inset 0 0 30px rgba(255, 107, 53, 0.1);
    box-sizing: border-box;
}

.cyber-stats::before {
    display: none; /* 隐藏装饰纹理 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 140, 66, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(255, 87, 34, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 10% 50%, rgba(255, 107, 53, 0.06) 0%, transparent 60%);
    z-index: 1;
}

/* 统计面板装饰纹理 */
.cyber-stats::after {
    display: none; /* 隐藏装饰纹理 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* 交织网格 */
        repeating-linear-gradient(0deg, 
            transparent, 
            transparent 30px, 
            rgba(255, 107, 53, 0.02) 30px, 
            rgba(255, 107, 53, 0.02) 32px),
        repeating-linear-gradient(90deg, 
            transparent, 
            transparent 30px, 
            rgba(255, 140, 66, 0.02) 30px, 
            rgba(255, 140, 66, 0.02) 32px);
    animation: stats-texture-move 12s linear infinite;
    z-index: 1;
}

@keyframes stats-texture-move {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 32px 32px, -32px 32px; }
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: #ff6b35;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
}

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    font-family: '华文行楷', cursive;
    color: #ff6b35;
    margin-bottom: 5px;
    text-shadow: 
        2px 2px 0px #8B4513,
        0 0 5px #ff6b35;
    animation: value-glow 3s ease-in-out infinite;
    letter-spacing: 1px;
    transform: rotate(-1deg);
    filter: drop-shadow(2px 2px 1px rgba(139, 69, 19, 0.4));
}

@keyframes value-glow {
    0%, 100% { text-shadow: 0 0 5px #ff6b35; }
    50% { text-shadow: 0 0 8px #ff6b35, 0 0 12px rgba(255, 107, 53, 0.6); }
}

.stat-label {
    color: #ccc;
    font-size: 0.9rem;
    font-family: '华文行楷', cursive;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 0px rgba(139, 69, 19, 0.3);
}

.stat-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transform: translateX(-100%);
    animation: stat-glow-sweep 4s ease-in-out infinite;
}

@keyframes stat-glow-sweep {
    0%, 90%, 100% { transform: translateX(-100%); }
    45% { transform: translateX(100%); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .cyber-hero {
        height: 650px;
        margin: 10px -10px;
        border-radius: 10px;
        width: calc(100% + 20px);
    }
    
    .cyber-title {
        font-size: 2.5rem;
    }
    
    .cyber-subtitle {
        font-size: 1rem;
    }
    
    .cyber-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hologram-btn {
        width: 200px;
    }
    
    .tech-section-title {
        font-size: 2rem;
    }
    
    .hero-recommendation .tech-section-title {
        font-size: 2rem;
    }
    
    .carousel-item {
        flex: 0 0 180px; /* 匹配更大的封面尺寸 */
        margin: 0 5px; /* 与桌面端保持一致 */
    }
    
    .placeholder-cover, .carousel-item .book-cover {
        width: 160px !important;
        height: 213px !important;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .cyber-stats {
        margin: 40px 10px;
        padding: 30px 15px;
    }
    
    .tech-features {
        margin: 40px 0;
        padding: 0 10px;
    }
    
    .carousel-section {
        padding: 0 10px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
    .cyber-hero {
        height: 600px;
    }
    
    .cyber-title {
        font-size: 2rem;
    }
    
    .tech-section-title {
        font-size: 1.8rem;
    }
    
    .hero-recommendation .tech-section-title {
        font-size: 1.8rem;
        margin-top: 20px;
    }
    
    .hero-recommendation .title-underline {
        width: 100px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .carousel-item {
        flex: 0 0 150px; /* 匹配更大的封面尺寸 */
        margin: 0 3px; /* 超小屏幕适当减少margin */
    }
    
    .placeholder-cover, .carousel-item .book-cover {
        width: 130px !important;
        height: 173px !important;
    }
}

/* 移动端背景优化 */
@media (max-width: 768px) {
    body {
        /* 移动端减少背景复杂度 */
        background-image: 
            radial-gradient(ellipse at 20% 20%, rgba(255, 107, 53, 0.06) 0%, transparent 50%),
            radial-gradient(ellipse at 80% 80%, rgba(255, 140, 66, 0.06) 0%, transparent 50%),
            radial-gradient(ellipse at 50% 10%, rgba(255, 87, 34, 0.04) 0%, transparent 40%),
            repeating-linear-gradient(0deg, 
                transparent, 
                transparent 150px, 
                rgba(255, 107, 53, 0.008) 150px, 
                rgba(255, 107, 53, 0.008) 152px),
            linear-gradient(135deg, 
                #fdf8f5 0%, 
                #fdf6f1 25%, 
                #fcf4ed 50%, 
                #faf2e9 75%, 
                #f8f0e5 100%);
        background-size: 
            200px 200px, 250px 250px, 150px 150px,
            80px 80px,
            100%;
        animation: background-drift 20s ease-in-out infinite;
    }
    
    .cyber-hero {
        margin: 10px -10px 0 -10px;
        height: 650px;
        width: calc(100% + 20px);
    }
    
    .category-nav {
        margin: 10px 15px;
        padding: 10px;
        width: calc(100% - 30px);
    }
    
    .info-activity-section {
        margin: 10px 15px;
        padding: 20px;
        width: calc(100% - 30px);
    }
    
    .tech-features {
        margin: 40px 0;
        padding: 0 15px;
    }
    
    .cyber-stats {
        margin: 40px 0;
        padding: 30px 15px;
    }
    
    .section-header {
        padding: 0 15px;
    }
    
    .carousel-container {
        padding: 0 15px;
    }
    
    /* 移动端文字清晰度优化 */
    .neon-text {
        text-shadow: 
            0 0 2px #ff6b35,
            0 0 5px rgba(255, 107, 53, 0.6);
        animation: none; /* 移动端禁用闪烁动画 */
    }
    
    .neon-accent {
        text-shadow: 
            0 0 2px #ff6b35,
            0 0 5px rgba(255, 107, 53, 0.5);
    }
    
    .card-icon i {
        text-shadow: 0 0 5px #ff6b35;
    }
    
    .stat-value {
        animation: none; /* 移动端禁用数值发光动画 */
        text-shadow: 
            1px 1px 0px #8B4513,
            0 0 3px #ff6b35;
        font-size: 1.8rem;
        transform: rotate(-0.5deg);
    }
    
    /* 移动端毛笔字体优化 */
    .cyber-title {
        font-size: 2.5rem;
        transform: rotate(-1deg);
        letter-spacing: 0.05em;
    }
    
    .tech-section-title {
        font-size: 2rem;
        transform: rotate(-0.5deg);
    }
    
    .feature-title {
        font-size: 1.2rem;
        transform: rotate(-0.3deg);
    }
    
    .hologram-btn {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }
    
    .cyber-book-title {
        font-size: 0.9rem;
        transform: rotate(-0.2deg);
    }
    
    .cyber-author {
        font-size: 0.8rem;
    }
    
    /* 移动端毛笔效果简化 */
    .brush-style {
        text-shadow: 
            1px 1px 0px #8B4513,
            0 0 5px rgba(255, 107, 53, 0.6);
        filter: drop-shadow(2px 2px 1px rgba(139, 69, 19, 0.3));
    }
    
    .neon-text {
        animation: none; /* 移动端简化动画 */
        transform: rotate(-1.5deg);
    }
    
    .neon-accent {
        transform: rotate(-0.8deg);
    }
}

    .hero-carousel {
        margin-top: 30px;
    }
    
    .hero-carousel .carousel-track {
        gap: 15px;
        padding: 0 15px;
    }

/* 公告中心和千禧新闻样式 */
.info-activity-section {
    max-width: calc(100% - 80px);
    margin: 40px auto;
    display: flex;
    gap: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #2d1810 0%, #3a1f15 50%, #4a2617 100%);
    border-radius: 20px;
    border: 2px solid #ff6b35;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.info-activity-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 140, 66, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.info-list, .activity-list, .homepage-info-list, .homepage-activity-list {
    flex: 1;
    position: relative;
    z-index: 2;
}

.info-list h2, .activity-list h2, .homepage-info-list h2, .homepage-activity-list h2 {
    font-family: '华文行楷', cursive;
    font-size: 1.8rem;
    color: #ff6b35;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 
        2px 2px 0px #8B4513,
        0 0 10px rgba(255, 107, 53, 0.8);
    transform: rotate(-1deg);
    letter-spacing: 0.1em;
}

.homepage-info-list ul, .homepage-activity-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.homepage-info-list li, .homepage-activity-list li {
    background: rgba(255, 107, 53, 0.1);
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #ff6b35;
    transition: all 0.3s ease;
    position: relative;
}

.info-list li:hover, .activity-list li:hover, .homepage-info-list li:hover, .homepage-activity-list li:hover {
    background: rgba(255, 107, 53, 0.2);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.notice-date, .news-date {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.notice-title, .news-title {
    display: block;
    color: #ff8c42;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.notice-title:hover, .news-title:hover {
    color: #ff6b35;
    text-shadow: 0 0 5px rgba(255, 107, 53, 0.6);
}

.notice-content, .news-content {
    color: #e8d5b7;
    line-height: 1.6;
    font-size: 0.9rem;
    text-align: justify;
    margin-top: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .info-activity-section {
        flex-direction: column;
        gap: 30px;
        margin: 20px auto;
        max-width: calc(100% - 40px);
        padding: 20px;
    }
    
    .info-list h2, .activity-list h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
            .homepage-info-list li, .homepage-activity-list li {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .notice-title, .news-title {
        font-size: 0.9rem;
    }
    
    .notice-content, .news-content {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* 弹窗模态框样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    pointer-events: auto;
}

.modal-content {
    background: linear-gradient(135deg, #2d1810 0%, #3a1f15 50%, #4a2617 100%);
    border: 2px solid #ff6b35;
    border-radius: 20px;
    max-width: 800px;
    max-height: 80vh;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.4);
    overflow: hidden;
    z-index: 999999;
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
    background: rgba(255, 107, 53, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-family: '华文行楷', cursive;
    color: #ff6b35;
    margin: 0;
    font-size: 1.5rem;
    text-shadow: 2px 2px 0px #8B4513;
}

.modal-close {
    font-size: 2rem;
    color: #ff6b35;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
}

.modal-close:hover {
    background: rgba(255, 107, 53, 0.3);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
}

.modal-body {
    padding: 30px;
    max-height: calc(80vh - 100px);
    overflow-y: auto;
}

.modal-date {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.modal-text {
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 1rem;
}

.modal-text p {
    margin-bottom: 15px;
}

.modal-text strong {
    color: #ff8c42;
    font-weight: bold;
}

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

.modal-text li {
    margin-bottom: 8px;
    color: #e0e0e0;
}

.modal-text em {
    color: #ff8c42;
    font-style: italic;
    text-align: right;
    display: block;
    margin-top: 20px;
}

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

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 107, 53, 0.1);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #ff6b35;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #ff8c42;
}

/* 优化公告新闻列表样式 - 只显示标题 */
.homepage-info-list li, .homepage-activity-list li {
    background: rgba(255, 107, 53, 0.1);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid #ff6b35;
    transition: all 0.3s ease;
    position: relative;
}

.homepage-info-list li:hover, .homepage-activity-list li:hover {
    background: rgba(255, 107, 53, 0.2);
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    border-left-width: 6px;
}

.notice-title, .news-title {
    display: block;
    color: #ff8c42;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    line-height: 1.5;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.notice-title:hover, .news-title:hover {
    color: #ffab66;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.6);
    transform: translateX(5px);
}

.notice-title::after, .news-title::after {
    content: '📄';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.notice-title:hover::after, .news-title:hover::after {
    transform: translateY(-50%) scale(1.2);
    opacity: 1;
}

/* 隐藏日期和内容数据 */
.notice-data, .news-data {
    display: none !important;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-width: none;
        margin: 20px;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 20px;
        max-height: calc(85vh - 80px);
    }
    
    .modal-text {
        font-size: 0.95rem;
    }
    
    .notice-title, .news-title {
        font-size: 1rem;
    }
    
    .homepage-info-list li, .homepage-activity-list li {
        padding: 12px 15px;
    }
}

/* 重复的兼容性代码已移至上方的@supports规则中 */

/* 老版本浏览器兼容性 - 只在不支持flex时生效 */
@supports not (display: flex) {
    .modal {
        text-align: center;
    }
    
    .modal:before {
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -0.25em;
    }
    
    .modal-content {
        display: inline-block;
        vertical-align: middle;
        text-align: left;
        zoom: 1;
    }
}

/* IE滤镜备用方案（如果不支持backdrop-filter） */
@media screen and (min-width: 0\0) {
    .modal {
        background: #000000;
        /* filter: alpha(opacity=70); */
    }
}

/* 移动端兼容性优化 */
@media (max-width: 768px) {
    .modal {
        padding: 10px;
        /* iOS Safari修复 */
        -webkit-overflow-scrolling: touch;
    }
    
    .modal-content {
        width: 95%;
        min-width: 0;
        /* 确保在小屏幕上可读 */
        font-size: 14px;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
        line-height: 1.4;
        word-break: break-word;
    }
    
    .modal-body {
        padding: 15px;
        /* 防止横向滚动 */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .modal {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .modal-content {
        border: 3px solid #ff6b35;
        background: #000000;
    }
    
    .modal-header h3 {
        color: #ffffff;
    }
    
    .modal-text {
        color: #ffffff;
    }
}

/* 减少动画的用户偏好支持 */
@media (prefers-reduced-motion: reduce) {
    .modal,
    .modal-content,
    .modal-header,
    .modal-close {
        transition: none;
        animation: none;
    }
}

/* 弹窗显示时的强制样式 - 只在显示时生效 */
#contentModal[style*="flex"]:not([style*="none"]),
#contentModal[style*="block"]:not([style*="none"]) {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* 弹窗隐藏时确保完全隐藏 */
#contentModal[style*="none"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 确保弹窗内容在显示时可见 */
#contentModal[style*="flex"]:not([style*="none"]) .modal-content,
#contentModal[style*="block"]:not([style*="none"]) .modal-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 弹窗打开时禁用页面滚动 */
body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

/* 调试用 - 可以在控制台看到弹窗状态 */
.modal.debug {
    border: 3px solid red !important;
}

.modal-content.debug {
    border: 3px solid blue !important;
}

/* ================ 页脚样式 ================ */
/* 现代化页脚样式 - 覆盖旧样式 */
.footer {
  flex-shrink: 0;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
  color: #ecf0f1 !important;
  margin-top: 0 !important;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #f39c12, #e74c3c, #9b59b6, #3498db);
  animation: colorShift 8s ease-in-out infinite;
}

@keyframes colorShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.footer-container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

.footer-main {
  padding: 60px 0 40px !important;
  background: rgba(255, 255, 255, 0.02);
}

.footer-main .footer-container {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr !important;
  gap: 40px !important;
  align-items: start !important;
}

.footer-brand {
  padding-right: 20px;
}

.brand-info {
  margin-bottom: 30px;
}

.brand-logo {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.brand-logo img {
  border-radius: 12px;
  margin-right: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.brand-logo h3 {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #ff6b35 !important;
  margin: 0 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #bdc3c7;
  margin: 0;
}

.social-links h4 {
  font-size: 16px !important;
  color: #ff6b35 !important;
  margin-bottom: 15px !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 2px solid transparent;
  cursor: default;
}

.social-icons .social-icon:nth-child(1) { color: #07c160; border-color: rgba(7, 193, 96, 0.3); }
.social-icons .social-icon:nth-child(2) { color: #e6162d; border-color: rgba(230, 22, 45, 0.3); }
.social-icons .social-icon:nth-child(3) { color: #12b7f5; border-color: rgba(18, 183, 245, 0.3); }
.social-icons .social-icon:nth-child(4) { color: #ff6b35; border-color: rgba(255, 107, 53, 0.3); }

.social-icons .social-icon:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.social-icons .social-icon:nth-child(1):hover { background: rgba(7, 193, 96, 0.2); border-color: #07c160; }
.social-icons .social-icon:nth-child(2):hover { background: rgba(230, 22, 45, 0.2); border-color: #e6162d; }
.social-icons .social-icon:nth-child(3):hover { background: rgba(18, 183, 245, 0.2); border-color: #12b7f5; }
.social-icons .social-icon:nth-child(4):hover { background: rgba(255, 107, 53, 0.2); border-color: #ff6b35; }

.footer-column h3 {
  font-size: 18px !important;
  color: #ff6b35 !important;
  margin-bottom: 20px !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.footer-column h3 i {
  font-size: 16px !important;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-column:nth-child(2) h3 i { color: #ff6b35; background: rgba(255, 107, 53, 0.1); border: 1px solid rgba(255, 107, 53, 0.2); }
.footer-column:nth-child(3) h3 i { color: #2ecc71; background: rgba(46, 204, 113, 0.1); border: 1px solid rgba(46, 204, 113, 0.2); }
.footer-column:nth-child(4) h3 i { color: #3498db; background: rgba(52, 152, 219, 0.1); border: 1px solid rgba(52, 152, 219, 0.2); }
.footer-column:nth-child(5) h3 i { color: #e67e22; background: rgba(230, 126, 34, 0.1); border: 1px solid rgba(230, 126, 34, 0.2); }

.footer-column h3:hover i {
  transform: rotate(360deg) scale(1.1);
}

.footer-column ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-column ul li {
  margin-bottom: 10px !important;
}

.footer-column ul li a {
  text-decoration: none !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  padding: 5px 0 !important;
  display: inline-block !important;
  position: relative !important;
  font-weight: 500 !important;
}

.footer-column:nth-child(2) ul li:nth-child(1) a { color: #ff6b35 !important; }
.footer-column:nth-child(2) ul li:nth-child(2) a { color: #e74c3c !important; }
.footer-column:nth-child(2) ul li:nth-child(3) a { color: #3498db !important; }
.footer-column:nth-child(2) ul li:nth-child(4) a { color: #9b59b6 !important; }
.footer-column:nth-child(2) ul li:nth-child(5) a { color: #f39c12 !important; }

.footer-column:nth-child(3) ul li:nth-child(1) a { color: #2ecc71 !important; }
.footer-column:nth-child(3) ul li:nth-child(2) a { color: #1abc9c !important; }
.footer-column:nth-child(3) ul li:nth-child(3) a { color: #e67e22 !important; }
.footer-column:nth-child(3) ul li:nth-child(4) a { color: #8e44ad !important; }
.footer-column:nth-child(3) ul li:nth-child(5) a { color: #16a085 !important; }

.footer-column:nth-child(4) ul li:nth-child(1) a { color: #3498db !important; }
.footer-column:nth-child(4) ul li:nth-child(2) a { color: #9b59b6 !important; }
.footer-column:nth-child(4) ul li:nth-child(3) a { color: #e74c3c !important; }
.footer-column:nth-child(4) ul li:nth-child(4) a { color: #f39c12 !important; }
.footer-column:nth-child(4) ul li:nth-child(5) a { color: #2ecc71 !important; }

.footer-column:nth-child(5) ul li:nth-child(1) a { color: #ff6b35 !important; }
.footer-column:nth-child(5) ul li:nth-child(2) a { color: #1abc9c !important; }
.footer-column:nth-child(5) ul li:nth-child(3) a { color: #e67e22 !important; }
.footer-column:nth-child(5) ul li:nth-child(4) a { color: #8e44ad !important; }

.footer-column ul li a:hover {
  transform: translateX(8px) scale(1.05) !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}

.footer-column ul li a::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  transition: width 0.3s ease;
}

.footer-column:nth-child(2) ul li a::before { background: linear-gradient(90deg, #ff6b35, #e74c3c); }
.footer-column:nth-child(3) ul li a::before { background: linear-gradient(90deg, #2ecc71, #1abc9c); }
.footer-column:nth-child(4) ul li a::before { background: linear-gradient(90deg, #3498db, #9b59b6); }
.footer-column:nth-child(5) ul li a::before { background: linear-gradient(90deg, #ff6b35, #e67e22); }

.footer-column ul li a:hover::before {
  width: 8px;
}

.footer-link-disabled {
  font-size: 14px !important;
  cursor: default !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  padding: 5px 0 !important;
  display: inline-block !important;
  position: relative !important;
}

.footer-column:nth-child(5) ul li:nth-child(1) .footer-link-disabled { color: #ff6b35 !important; }
.footer-column:nth-child(5) ul li:nth-child(2) .footer-link-disabled { color: #1abc9c !important; }
.footer-column:nth-child(5) ul li:nth-child(3) .footer-link-disabled { color: #e67e22 !important; }
.footer-column:nth-child(5) ul li:nth-child(4) .footer-link-disabled { color: #8e44ad !important; }

.footer-column:nth-child(4) ul li:nth-child(4) .footer-link-disabled { color: #f39c12 !important; }
.footer-column:nth-child(4) ul li:nth-child(5) .footer-link-disabled { color: #2ecc71 !important; }

.footer-column:nth-child(3) ul li:nth-child(3) .footer-link-disabled { color: #e67e22 !important; }

.footer-link-disabled:hover {
  opacity: 0.8;
  transform: translateX(3px) scale(1.02);
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.contact-info {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  font-size: 13px;
  color: #95a5a6;
}

.contact-info i {
  color: #ff6b35;
  width: 16px;
}

.footer-links {
  background: rgba(0, 0, 0, 0.2) !important;
  padding: 30px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer-links h4 {
  font-size: 16px !important;
  color: #ff6b35 !important;
  margin-bottom: 20px !important;
  text-align: center !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
}

.friendly-links {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 15px !important;
}

.friendly-links a {
  text-decoration: none !important;
  font-size: 13px !important;
  padding: 8px 15px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  font-weight: 500 !important;
  cursor: pointer !important;
}

.friendly-links a:nth-child(1) { color: #ff6b35 !important; border-color: rgba(255, 107, 53, 0.3) !important; }
.friendly-links a:nth-child(2) { color: #3498db !important; border-color: rgba(52, 152, 219, 0.3) !important; }
.friendly-links a:nth-child(3) { color: #e74c3c !important; border-color: rgba(231, 76, 60, 0.3) !important; }
.friendly-links a:nth-child(4) { color: #9b59b6 !important; border-color: rgba(155, 89, 182, 0.3) !important; }
.friendly-links a:nth-child(5) { color: #f39c12 !important; border-color: rgba(243, 156, 18, 0.3) !important; }
.friendly-links a:nth-child(6) { color: #2ecc71 !important; border-color: rgba(46, 204, 113, 0.3) !important; }
.friendly-links a:nth-child(7) { color: #1abc9c !important; border-color: rgba(26, 188, 156, 0.3) !important; }
.friendly-links a:nth-child(8) { color: #e67e22 !important; border-color: rgba(230, 126, 34, 0.3) !important; }

.friendly-links a:hover {
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3) !important;
}

.friendly-links a:nth-child(1):hover { background: #ff6b35 !important; border-color: #ff6b35 !important; }
.friendly-links a:nth-child(2):hover { background: #3498db !important; border-color: #3498db !important; }
.friendly-links a:nth-child(3):hover { background: #e74c3c !important; border-color: #e74c3c !important; }
.friendly-links a:nth-child(4):hover { background: #9b59b6 !important; border-color: #9b59b6 !important; }
.friendly-links a:nth-child(5):hover { background: #f39c12 !important; border-color: #f39c12 !important; }
.friendly-links a:nth-child(6):hover { background: #2ecc71 !important; border-color: #2ecc71 !important; }
.friendly-links a:nth-child(7):hover { background: #1abc9c !important; border-color: #1abc9c !important; }
.friendly-links a:nth-child(8):hover { background: #e67e22 !important; border-color: #e67e22 !important; }

.footer-bottom {
  background: rgba(0, 0, 0, 0.3) !important;
  padding: 25px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer-bottom .footer-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
}

.copyright-info p {
  margin: 0 0 10px 0 !important;
  font-size: 14px !important;
  color: #95a5a6 !important;
}

.legal-links {
  display: flex !important;
  gap: 15px !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

.legal-links span {
  font-size: 12px !important;
  color: #7f8c8d !important;
}

.legal-links .legal-link {
  font-size: 12px !important;
  color: #95a5a6 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.legal-links .legal-link:hover {
  color: #ff6b35 !important;
}

.footer-stats {
  display: flex !important;
  gap: 25px !important;
  align-items: center !important;
}

.footer-stats .stat-item {
  font-size: 13px !important;
  color: #95a5a6 !important;
  padding: 8px 12px !important;
  border-radius: 15px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s ease !important;
}

.footer-stats .stat-item:nth-child(1) strong { color: #ff6b35 !important; }
.footer-stats .stat-item:nth-child(2) strong { color: #3498db !important; }
.footer-stats .stat-item:nth-child(3) strong { color: #2ecc71 !important; }

.footer-stats .stat-item strong {
  font-weight: 600 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
}

.footer-stats .stat-item:hover {
  transform: translateY(-2px) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.back-to-top {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  width: 50px !important;
  height: 50px !important;
  background: linear-gradient(135deg, #ff6b35, #e74c3c) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.3s ease !important;
  z-index: 1000 !important;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3) !important;
}

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

.back-to-top:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4) !important;
}

.back-to-top i {
  color: white !important;
  font-size: 20px !important;
}

/* 页脚响应式设计 */
@media (max-width: 1200px) {
  .footer-main .footer-container {
    grid-template-columns: 2fr 1fr 1fr 1fr !important;
    gap: 30px !important;
  }
  
  .footer-column:last-child {
    grid-column: 1 / -1 !important;
    margin-top: 20px !important;
  }
}

@media (max-width: 900px) {
  .footer-main .footer-container {
    grid-template-columns: 1fr 1fr !important;
    gap: 25px !important;
  }
  
  .footer-brand {
    grid-column: 1 / -1 !important;
    margin-bottom: 10px !important;
  }
  
  .footer-stats {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: flex-end !important;
  }
}

/* 移动端隐藏页脚（可选） */
@media (max-width: 768px) {
  .footer {
    /* 移动端保留页脚 */
    margin-top: 20px !important;
  }
  
  .footer-main {
    padding: 40px 0 30px !important;
  }
  
  .footer-main .footer-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .footer-brand {
    text-align: center !important;
    grid-column: 1 !important;
  }
  
  .brand-logo {
    justify-content: center !important;
  }
  
  .social-icons {
    justify-content: center !important;
  }
  
  .footer-column h3 {
    text-align: center !important;
    justify-content: center !important;
  }
  
  .footer-column ul {
    text-align: center !important;
  }
  
  .footer-bottom .footer-container {
    flex-direction: column !important;
    text-align: center !important;
    gap: 15px !important;
  }
  
  .footer-stats {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
  }
  
  .back-to-top {
    bottom: 20px !important;
    right: 20px !important;
    width: 45px !important;
    height: 45px !important;
  }
}

@media (max-width: 600px) {
  .footer-container {
    padding: 0 15px !important;
  }
  
  .footer-main {
    padding: 30px 0 20px !important;
  }
  
  .footer-links {
    padding: 20px 0 !important;
  }
  
  .friendly-links {
    gap: 10px !important;
  }
  
  .friendly-links a {
    font-size: 12px !important;
    padding: 6px 12px !important;
  }
  
  .footer-bottom {
    padding: 20px 0 !important;
  }
  
  .copyright-info p {
    font-size: 12px !important;
  }
  
  .legal-links span,
  .legal-links .legal-link {
    font-size: 11px !important;
  }
  
  .footer-stats .stat-item {
    font-size: 11px !important;
    padding: 6px 8px !important;
  }
}
