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

/* CSS变量定义 - 统一颜色和尺寸 */
:root {
    --primary-color: #801211; /* 默认值，实际值将通过JavaScript从config.js动态获取 */
    --secondary-color: #994c1f; /* 默认值，实际值将通过JavaScript从config.js动态获取 */
    --primary-hover: rgba(255, 102, 0, 0.1);
    --text-primary: #333;
    --text-secondary: #495057;
    --text-muted: #6c757d;
    --background-primary: #ffffff;
    --background-secondary: #f8f9fa;
    --background-tertiary: #fafafa;
    --border-color: #e9ecef;
    --border-radius: 15px;
    --border-radius-sm: 12px;
    --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s ease;
    --padding-lg: 30px;
    --padding-md: 25px;
    --padding-sm: 20px;
    --gap-md: 20px;
    --gap-sm: 15px;
}

/* 模态框样式 */
.modal {
    display: none; /* 默认隐藏 */
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* 半透明背景 */
    overflow: auto;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

/* 模态框动画 */
@keyframes modalSlideIn {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

/* 关闭按钮 */
.close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: var(--primary-color);
    text-decoration: none;
    transform: rotate(90deg);
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    scroll-behavior: smooth;
}

/* 容器布局 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
}



/* 头部导航 */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: relative;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    z-index: 100;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 0px;
    height: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 56px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.site-title {
    margin-left: 10px;
    display: inline-block;
    text-align: left;
    padding: 13px 0;
}

.site-title h1 {
    color: var(--primary-color);
    font-size: 25.2px;
    font-weight: bold;
    margin: 7px 0 9px 10px;
    line-height: 1.2;
}

.site-title p {
    color: #666;
    font-size: 12.6px;
    margin: 0 0 7px 0;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav .container {
    display: flex;
    justify-content: flex-end;
    padding: 0;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: normal;
    font-size: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    pointer-events: auto;
    user-select: none;
}

.nav ul li a:hover {
    color: var(--primary-color);
    background-color: rgba(255, 102, 0, 0.1);
    transform: translateY(-2px);
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* 按钮样式 */
.service-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: bold;
    border-radius: 25px;
    padding: 10px 20px;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.service-btn::before {
    content: "💬 ";
    margin-right: 6px;
}

.nav ul li a.service-btn {
    color: white;
    font-weight: bold;
    margin: 0;
}

.section-service-btn {
    margin-top: 30px;
    text-align: center;
}

.section-service-btn .service-btn {
    font-size: 16px;
    padding: 12px 24px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.signup-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.signup-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.signup-button-container {
    text-align: center;
    margin: 50px 0 20px 0;
}

/* 移动端菜单 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: #333;
    z-index: 10001;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
}

.menu-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.mobile-menu-close-btn {
    display: none;
    background: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 10002;
    box-shadow: 0 3px 12px rgba(255, 102, 0, 0.4);
    width: 28px;
    height: 28px;
}

.mobile-menu-close-btn:hover {
    background: var(--secondary-color);
    transform: rotate(90deg) scale(1.1);
}

.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    display: none;
    pointer-events: auto;
}

/* 菜单项滑动动画 */
@keyframes itemSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 移动端菜单响应式 */


/* 通用板块样式 */
section {
    padding: 10px 0 20px;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-title::after {
    display: none;
}

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

.content p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    text-align: left;
}

.content ul {
    padding-left: 25px;
    margin-bottom: 25px;
}

.content ul li {
    margin-bottom: 12px;
    line-height: 1.6;
    position: relative;
}

.content ul li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* 卡片设计 */
.card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 102, 0, 0.1);
}

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

.card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

/* 网格布局 */
.grid {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* 顶部横幅 */
.top-banner {
    width: 100%;
    text-align: center;
    padding: 20px 20px 0 20px;
    background: #ffffff;
}

.top-banner-img {
    max-width: 100%;
    width: 1200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

/* 赛事简介 */
.about {
    background: #ffffff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
}

.about-text-section {
    margin-bottom: 20px;
}

.about-text-section h4 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
}

.about-text-section h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-text p {
    font-size: 18px;
    color: #495057;
    line-height: 1.9;
    text-align: left;
    margin-bottom: 15px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* 征稿主题 */
.theme {
    background-color: #fff;
}

.theme .content p {
    font-size: 18px;
    color: #495057;
    line-height: 1.9;
}

/* 组织机构 */
.organization {
    background-color: #fff;
}

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

.org-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary-color);
    text-align: center;
}

.org-item h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.org-item h3::before {
    content: attr(data-icon);
    font-size: 1.6rem;
}

.org-item p {
    color: #555;
    margin: 20px 0;
}

/* 展览组委会成员 */
.committee {
    background: #ffffff;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.committee-member {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.committee-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.member-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.avatar-placeholder {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.member-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.member-name {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.member-title {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.member-detail {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
}

/* 移动端样式优化 */
@media (max-width: 768px) {
    /* 增加内容显示面积 - 减小左右边距 */
    .container {
        width: 95%;
        padding: 0 3px;
    }
    
    /* 展览组委会成员部分特殊调整 */
    .committee .container {
        padding: 0;
    }
    
    .committee-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
        margin: 0 -5px;
    }
    
    .committee-member {
        padding: 15px 5px;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
    }
    
    .committee-member:hover {
        transform: none;
        box-shadow: none;
    }
    
    .member-avatar {
        margin: 0 auto 10px;
    }
    
    .member-info h3 {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }
    
    .member-title {
        color: var(--primary-color);
        font-size: 1rem;
        margin-bottom: 3px;
    }
    
    .member-detail {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* 组织机构样式 */
    .org-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 10px;
        border-top: 1px solid #e0e0e0;
    }
    
    .org-item {
        padding: 10px 0;
        border-bottom: 1px solid #e0e0e0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        border-top: none;
    }
    
    .org-item h3 {
        margin-bottom: 8px;
        font-size: 1.1rem;
        gap: 6px;
    }
    
    .org-item h3::before {
        font-size: 1.2rem;
    }
    
    .org-item p {
        margin: 6px 0;
        font-size: 0.85rem;
    }
}

/* 资讯模块 */
.news-section {
    background: #ffffff;
    padding: 50px 0;
}

.news-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
}

.news-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-preview-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-preview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.news-preview-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-preview-item:hover .news-preview-image img {
    transform: scale(1.05);
}

.news-preview-content {
    padding: 20px;
}

.news-preview-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2d3748;
}

.news-preview-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-preview-title a:hover {
    color: var(--primary-color);
}

.news-preview-summary {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-preview-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #a0aec0;
}

.news-preview-more {
    text-align: center;
    margin-top: 40px;
}

.news-preview-more .btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: bold;
    border-radius: 25px;
    padding: 12px 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.news-preview-more .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

/* 新闻列表页面样式 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2d3748;
}

.news-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-summary {
    color: #718096;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #a0aec0;
}

/* 分页样式 */
.pagination {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
}

.pagination ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination a {
    background: white;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.pagination a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination .page-current {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

/* 新闻详情页面样式 */
.news-detail-section {
    background: #ffffff;
    padding: 50px 0;
}

.news-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

.news-article {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.article-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.article-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #718096;
}

.article-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    color: #2d3748;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.article-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 30px 0 15px;
    font-weight: 600;
}

.news-sidebar {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: 25px;
    align-self: start;
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.recent-news li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.recent-news li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-news a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.recent-news a:hover {
    color: var(--primary-color);
}

.recent-news-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-news-date {
    font-size: 0.85rem;
    color: #718096;
}

.related-links {
    list-style: none;
}

.related-links li {
    margin-bottom: 12px;
}

.related-links a {
    color: #4a5568;
    text-decoration: none;
    font-size: 1rem;
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.related-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.back-to-list {
    text-align: center;
    margin-top: 30px;
}

.back-to-list .btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: bold;
    border-radius: 25px;
    padding: 12px 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.back-to-list .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

/* 版权声明样式已删除 */

/* 视频模块 */
.video-section {
    background-color: #f8f9fa;
    padding: 50px 0;
    text-align: center;
}

.video-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.video-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* 图片展示模块 */
.gallery-section {
    padding: 20px 0;
    background-color: #ffffff;
}

.gallery-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
    text-align: center;
}

.gallery-container {
    width: 100%;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #e0e0e0;
}

.gallery-container::-webkit-scrollbar {
    height: 8px;
}

.gallery-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.gallery-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.gallery-container::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.gallery-wrapper {
    display: flex;
    gap: 20px;
    padding: 10px;
}

.gallery-item {
    flex: 0 0 auto;
    width: 280px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}



/* 页脚 */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
    padding: 40px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.5), transparent);
}

.footer p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
    text-align: center;
}

.footer-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* 隐藏元素类 */
.hidden {
    display: none;
}

/* 展开按钮 */
.committee-toggle-container,
.group-toggle-container,
.certificates-toggle-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.committee-toggle-btn,
.group-toggle-btn,
.certificates-toggle-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.committee-toggle-btn:hover,
.group-toggle-btn:hover,
.certificates-toggle-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.committee-toggle-btn::before,
.group-toggle-btn::before,
.certificates-toggle-btn::before {
    content: "▼";
    font-size: 14px;
    transition: transform 0.3s ease;
}

.committee-toggle-btn.expanded::before,
.group-toggle-btn.expanded::before,
.certificates-toggle-btn.expanded::before {
    transform: rotate(180deg);
}

/* 可折叠板块 */
.collapsible-section {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
}

.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.collapsible-header:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.collapsible-header .section-title {
    margin: 0;
    color: white;
    font-size: 1.8rem;
    text-align: left;
}

.toggle-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.collapsible-content {
    padding: 25px;
}

/* 悬浮客服按钮 */
.floating-service-btn {
    position: fixed;
    right: 35px;
    bottom: 400px;
    width: 50px;
    height: 50px;
    background: rgba(255, 102, 0, 0.8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 99;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    text-align: center;
    line-height: 1.2;
}

.floating-service-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-service-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 102, 0, 0.8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .group-cards {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
    }
    
    .top-banner-img {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 3px;
    }
    
    .header .container {
        position: relative;
    }
    
    .mobile-menu-btn {
        display: block;
        padding: 8px;
    }
    
    .menu-icon {
            width: 36px;
            height: 36px;
        }
    
    @media (max-width: 480px) {
        .mobile-menu-btn {
            right: 15px;
            padding: 6px;
        }
        
        .menu-icon {
            width: 38px;
            height: 38px;
        }
    }
    
    .nav ul {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.99);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        z-index: 10001;
        overflow-y: auto;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav ul.show {
        display: flex;
        right: 0;
        padding: 80px 20px 40px;
        z-index: 99999;
    }
    
    .nav ul.show ~ .menu-backdrop {
        display: block;
    }
    
    .mobile-menu-close-btn {
        display: flex;
        margin-bottom: 20px;
    }
    
    .nav ul li {
        margin: 6px 0;
        text-align: center;
        width: 100%;
        max-width: 250px;
        opacity: 0;
        transform: translateX(30px);
        animation: itemSlideIn 0.4s ease forwards;
    }
    

    
    .nav ul li a {
    font-size: 1.2rem;
    padding: 12px 20px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.2);
    text-decoration: none;
    pointer-events: auto;
    user-select: none;
    max-width: 250px;
    margin: 0 auto;
}
    
    .nav ul li a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3), 0 0 0 5px rgba(255, 102, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}
    
    .section-title {
        font-size: 1.6rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .content {
        padding: 0 10px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-img {
        max-width: 95%;
    }
    
    .about-text h3 {
        font-size: 1.6rem;
    }
    
    .about-text-section h4 {
        font-size: 1.2rem;
    }
    
    .about-text p {
        font-size: 16px;
    }
    
    .group-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        gap: 20px;
    }
    
    .group-card {
        padding: 20px 15px;
    }
    
    .group-icon {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .group-card h3 {
        font-size: 1.1rem;
    }
    
    .group-card p {
        font-size: 0.85rem;
    }
    
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-content {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .evaluation-criteria {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 100%;
    }
    
    .criterion-card {
        padding: 20px;
    }
    
    .criterion-percentage {
        font-size: 2.5rem;
    }
    
    .criterion-title {
        font-size: 1.2rem;
    }
    
    .criterion-desc {
        font-size: 0.9rem;
    }
    
    .certificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .committee-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        width: 100%;
        padding: 0;
    }
    
    .collapsible-section {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .committee {
        padding: 15px;
    }
    
    .collapsible-content {
        padding: 15px;
    }
    
    .collapsible-header {
        padding: 15px;
    }
    
   
    
    .committee-member {
        padding: 20px;
    }
    
    .member-avatar {
        width: 80px;
        height: 80px;
    }
    
    .avatar-placeholder {
        font-size: 2rem;
    }
    
    .service-btn {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .section-service-btn {
        margin-top: 20px;
    }
    
    .section-service-btn .service-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .video-section {
        padding: 30px 0;
    }
    
    .video-section h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .video-container {
        max-width: 100%;
        border-radius: 10px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }
    

    .floating-service-btn {
        right: 25px;
        bottom: 400px;
        width: 45px;
        height: 45px;
        font-size: 12px;
    }
    
    .back-to-top {
        bottom: 80px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .footer {
        display: none;
    }
    
    /* 响应式版权声明样式已删除 */

    
    .collapsible-header {
        padding: 15px 20px;
    }
    
    .collapsible-header .section-title {
        font-size: 1.6rem;
    }
    
    .collapsible-content {
        padding: 20px;
    }
    
    .toggle-btn {
        font-size: 1.3rem;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 2px;
    }
    
    .section-title {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
        padding: 0 5px;
    }
    
    .group-cards {
        grid-template-columns: 1fr;
        max-width: 300px;
        gap: 15px;
    }
    
    .group-card {
        padding: 18px 12px;
    }
    
    .group-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .group-card h3 {
        font-size: 1rem;
    }
    
    .group-card p {
        font-size: 0.8rem;
    }
    
    .evaluation-criteria {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .criterion-card {
        padding: 20px 15px;
    }
    
    .criterion-percentage {
        font-size: 2rem;
    }
    
    .criterion-title {
        font-size: 1.1rem;
    }
    
    .committee-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* 移除了移动端只显示前2个成员的限制，现在会显示全部成员 */
    
    .committee-toggle-container {
        display: block;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .requirements .content {
        padding: 0;
    }
    
    .requirement-category {
        padding: 15px 10px;
        margin-bottom: 10px;
    }
    
    .requirement-category h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .content ul {
        padding-left: 20px;
    }
    
    .content ul li {
        font-size: 0.9rem;
    }
}

/* 主要内容区域 */
.main-content {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.main-content .container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 通用板块样式 - 所有section共用 */
.section {
    background: var(--background-primary);
    padding: var(--padding-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.section:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* 板块标题样式 */
.section-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* 统一内容卡片样式 - 所有子模块共用 */
.content-card {
    
    padding: var(--padding-md);
    margin-bottom: var(--gap-md);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.content-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.content-card:last-child {
    margin-bottom: 0;
}

/* 卡片标题样式 */
.content-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-card p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin: 8px 0;
}

/* 分组类别样式 */
.group-categories {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--gap-sm);
    margin-top: 30px;
}

.category {
    
    padding: var(--padding-md);
    margin-bottom: var(--gap-md);
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    transition: all var(--transition-fast);
}

.category:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.category h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 600;
    text-align: center;
}

.category p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* 作品种类及要求模块的列表样式 */
#requirements .category ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

#requirements .category ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* 征集对象模块样式 - 与作品征集模块样式保持一致并居中显示 */
#participants .group-categories {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--gap-sm);
    margin-top: 30px;
}

#participants .group {
    padding: var(--padding-md);
    margin-bottom: 0;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    transition: all var(--transition-fast);
    text-align: center;
}

#participants .group:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

#participants .group:last-child {
    margin-bottom: 0;
}

#participants .group h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 600;
}

#participants .group p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* 时间流程容器样式 */
#schedule {
    display: flex;
    flex-direction: column;
}

#schedule .section-title {
    margin-bottom: 30px;
}

.schedule-container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

/* 移动端响应式布局 */
@media (max-width: 768px) {
    .schedule-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .schedule-item {
        min-width: auto;
        margin-bottom: 0;
    }
}

/* 时间流程样式 */
.schedule-item {
    flex: 1;
    min-width: 300px;
    padding: var(--padding-md);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.schedule-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.schedule-item h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.schedule-item p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin: 8px 0;
}

/* 作品类别样式 */
.work-category {
    
    padding: 35px;
    margin-bottom: var(--gap-md);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.work-category:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.work-category:last-child {
    margin-bottom: 0;
}

.work-category h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.work-category p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.work-category p:last-child {
    margin-bottom: 0;
}

/* 文件格式标准样式 */
.format-section {
    padding: var(--padding-md);
    margin-bottom: var(--gap-md);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.format-section:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.format-section h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    position: relative;
}

.format-section h3::after {
    display: none; /* 移除作品上传要求和其它要求标题下的装饰横线 */
}

/* 文件格式标准网格布局 */
#file-format {
    /* 标题跨所有列 */
}

#file-format .section-title {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

#fileFormatRequirements {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

/* 文件格式标准样式 */
.copyright-section {
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    margin-bottom: 0;
}

.copyright-section:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.copyright-section h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.copyright-section p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

.format-section p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin: 12px 0;
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    transition: color var(--transition-fast);
}

.format-section p:hover {
    color: var(--text-primary);
}

.format-section p strong {
    min-width: 120px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 17px;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

/* 添加小图标装饰 */
.format-section p strong::before {
    content: "✓";
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 14px;
}

/* 要求列表样式 */
.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    padding: 15px 20px;
    margin-bottom: 12px;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.requirements-list li:last-child {
    margin-bottom: 0;
}

/* 评价标准网格布局 */
#evaluation-criteria {
    /* 标题跨所有列 */
}

#evaluation-criteria .section-title {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

#evaluationCriteria {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: var(--gap-md);
    align-items: start;
}

/* 评价标准样式 - 使用版权说明模块的样式 */
#evaluationCriteria .copyright-section {
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    height: 100%;
    margin-bottom: 0;
}

#evaluationCriteria .copyright-section:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

#evaluationCriteria .copyright-section h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

#evaluationCriteria .copyright-section p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* 荣誉证书展示样式 */
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--gap-md);
    margin-top: 30px;
}

/* 桌面端一行显示 */
@media (min-width: 1200px) {
    .certificate-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* 移动端2×3布局 */
@media (max-width: 1199px) {
    .certificate-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.certificate-item {
    padding: 0;
    margin-bottom: 0;
    border-radius: 0;
    border: none;
    transition: all var(--transition-fast);
    overflow: hidden;
    /* 设置固定宽高比，确保所有证书项尺寸一致 */
    aspect-ratio: 1 / 1.414; /* A4纸比例 */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.certificate-item:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.certificate-item:last-child {
    margin-bottom: 0;
}

.certificate-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform var(--transition-slow);
    /* 强制图片适应容器尺寸 */
    object-fit: cover;
    background-color: #fff;
}

.certificate-item:hover .certificate-image {
    transform: scale(1.05);
}

/* 奖励比例及奖励办法网格布局 */
#awards {
    /* 标题跨所有列 */
}

#awards .section-title {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

#awardMethods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
    align-items: start;
}

/* 版权声明网格布局 */
#copyright {
    /* 标题跨所有列 */
}

#copyright .section-title {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

#copyrightNotice {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-md);
    align-items: start;
}

/* 版权声明样式 */
.copyright-section {
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    height: 100%;
    margin-bottom: 0;
}

.copyright-section:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.copyright-section h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.copyright-section p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* 响应式调整 - 1200px以下 */
@media (max-width: 1200px) {
    /* 响应式调整奖励比例及版权声明网格 */
    #awardMethods {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 新闻列表页面响应式调整 */
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .news-item {
        max-width: 100%;
    }
    
    /* 新闻详情页面响应式调整 */
    .news-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 900px;
    }
    
    .news-article {
        padding: 30px;
    }
    
    .article-image {
        height: 350px;
    }
    
    .news-sidebar {
        max-width: 900px;
        margin: 0 auto;
        position: static;
    }
    
    #copyrightNotice {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* 评价标准网格响应式 */
    #evaluationCriteria {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .work-category,
    .schedule-item,
    .award-section,
    .copyright-section,
    .criteria-item {
        padding: 25px;
    }
}

/* 悬浮导航链接样式优化 */
.floating-nav {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 9999;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 5px;
    /* 添加最大宽度限制，防止溢出 */
    max-width: calc(100vw - 60px);
    box-sizing: border-box;
}

.floating-nav.visible {
    opacity: 1;
    transform: translateX(0);
}

.floating-nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    /* 添加最大高度限制，防止溢出 */
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.floating-nav li {
    margin: 2px 0;
    padding: 0;
    border-radius: 15px;
    overflow: hidden; /* 修改为hidden以防止内容溢出 */
}

.floating-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0 20px;
    position: relative;
    overflow: hidden; /* 修改为hidden以防止内容溢出 */
    border-radius: 15px;
    z-index: 1;
    /* 添加宽度限制，防止文本过长导致溢出 */
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
    box-sizing: border-box;
}

.floating-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.1), transparent);
    transition: all 0.5s ease;
    z-index: -1;
    border-radius: 15px;
}

.floating-nav a:hover::before {
    left: 150%;
}

.floating-nav a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* 激活状态样式 - 添加圆角背景 */
.floating-nav a.active {
    background: var(--primary-color);
    color: white;
    border-radius: 15px;
    overflow: hidden; /* 修改为hidden以防止内容溢出 */
    position: relative;
    z-index: 1;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .group-categories {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .floating-nav {
        right: 18px;
        bottom: 72px;
        /* 在移动端进一步限制宽度，基于当前尺寸增加50% */
        max-width: calc((100vw - 40px) * 0.9);
        padding: 3px;
    }
    
    /* 新闻列表页面响应式调整 */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-item {
        max-width: 100%;
    }
    
    .news-content {
        padding: 15px;
    }
    
    .news-title {
        font-size: 1.2rem;
    }
    
    /* 新闻详情页面响应式调整 */
    .news-detail-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .news-article {
        padding: 25px;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-image {
        height: 300px;
    }
    
    .news-sidebar {
        padding: 25px;
        display: none;
    }
    
    .floating-nav ul {
        /* 在移动端调整最大高度，基于当前尺寸增加50% */
        max-height: calc((100vh - 160px) * 0.9);
    }
    
    .floating-nav a {
        height: 36px;
        padding: 0 13.5px;
        font-size: 12px;
    }
    
    .main-content {
        padding: 20px 0 50px;
    }
    
    .section {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .work-category,
    .schedule-item,
    .award-section,
    .copyright-section,
    .criteria-item {
        padding: 20px;
    }
    
    /* 征集对象改为列表样式 */
    #participants .group-categories {
        display: block;
        margin-top: 8px;
    }
    
    #participants .group {
        padding: 15px 0;
        border: none;
        border-bottom: 1px solid #e0e0e0;
        border-radius: 0;
        margin-bottom: 0;
        box-shadow: none;
        background: none;
    }
    
    #participants .group:last-child {
        border-bottom: none;
    }
    
    #participants .group:hover {
        transform: none;
        box-shadow: none;
    }
    
    /* 其他区域保持原有的网格样式 */
    .group-categories:not(#participants .group-categories) {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category:not(#participants .category) {
        padding: 20px;
    }
    
    /* 移动端调整为单列布局 */
    #awardMethods,
    #copyrightNotice,
    #evaluationCriteria {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category h3,
    .work-category h3,
    .schedule-item h3,
    .award-section h3,
    .copyright-section h3 {
        font-size: 1.3rem;
    }
    
    .category p,
    .work-category p,
    .schedule-item p,
    .award-section p,
    .copyright-section p,
    .format-section p,
    .requirements-list li {
        font-size: 15px;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .floating-nav {
        right: 15px;
        bottom: 70px;
        /* 在小屏幕上进一步限制宽度，基于当前尺寸增加50% */
        max-width: calc((100vw - 30px) * 0.9);
        padding: 1.5px;
    }
    
    .floating-nav ul {
        /* 在小屏幕上调整最大高度，基于当前尺寸增加50% */
        max-height: calc((100vh - 140px) * 0.9);
    }
    
    /* 新闻列表页面响应式调整 */
    .news-grid {
        gap: 15px;
    }
    
    .news-item {
        border-radius: 12px;
    }
    
    .news-image {
        height: 150px;
    }
    
    .news-content {
        padding: 12px;
    }
    
    .news-title {
        font-size: 1.1rem;
    }
    
    .news-summary {
        font-size: 0.9rem;
    }
    
    .news-meta {
        font-size: 0.8rem;
    }
    
    .pagination ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .pagination a,
    .pagination span {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .floating-nav a {
        height: 31.5px;
        padding: 0 10.5px;
        font-size: 10.5px;
    }
    
    .section {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .category,
    .work-category,
    .schedule-item,
    .award-section,
    .copyright-section {
        padding: 15px;
    }
    
    .format-section {
        padding: 20px 15px;
    }
    
    .requirements-list li {
        padding: 5px 10px;
    }
    
    /* 调整移动端底部菜单，确保不遮挡内容 */
    body {
        padding-bottom: 70px;
    }
}

/* 移动端底部悬浮菜单 - 仅在移动端显示 */
.mobile-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9998;
    display: none; /* 默认隐藏，在移动端显示 */
}

/* 仅在移动端显示 */
@media (max-width: 768px) {
    .mobile-bottom-menu {
        display: flex;
    }
    
    /* 确保页面内容不被底部菜单遮挡 */
    body {
        padding-bottom: 60px;
    }
    
    /* 新闻详情页面响应式调整 */
    .news-detail-container {
        padding: 0 15px;
    }
}

/* 菜单项样式 */
.mobile-menu-item {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.mobile-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 中间的咨询客服按钮 - 突出显示 */
.mobile-menu-item.service {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 0 10px;
}

.mobile-menu-item.service::before {
    content: "💬 ";
    margin-right: 4px;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .mobile-bottom-menu {
        padding: 0 15px;
    }
    
    .mobile-menu-item {
        font-size: 14px;
    }
    
    .mobile-menu-item.service {
        margin: 0 5px;
    }
    
    /* 新闻详情页面响应式调整 */
    .news-detail-container {
        padding: 0 15px;
    }
    
    .news-article {
        padding: 20px;
    }
    
    .article-title {
        font-size: 1.6rem;
    }
    
    .article-image {
        height: 250px;
    }
    
    .news-sidebar {
        padding: 20px;
    }
    
    .sidebar-widget h3 {
        font-size: 1.2rem;
    }
}
