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

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background-color: #EFEFEF;
    color: #333;
    margin: 0;
}

a {
    text-decoration: none;
    color: #000000;
}
a:hover {
    text-decoration: none; 
    color: #FF0000;
}

/* 顶部导航 */
.header {
    background: transparent;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.3s ease;
}

.header.scrolled {
    background: rgba(13, 71, 161, 0.8) !important;
}

.logo {
    display: flex;
    align-items: center;
    color: #fff;
}

.logo img {
    margin-right: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-cn {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
}

.logo-en {
    font-size: 8px;
    text-align: center;
    line-height: 1.4;
}

.lang-switch {
    margin-left: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-switch a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.lang-switch span {
    color: #fff;
    font-size: 14px;
}

.nav {
    display: flex;
    list-style: none;
}

.nav li {
    margin-left: 0;
    position: relative;
    text-align: center;
}

.nav li > a {
    padding: 10px 25px;
}

.nav li.active,
.nav li:hover {
    background: rgba(13, 71, 161, 0.6);
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
    display: block;
    padding: 20px 15px;
    white-space: nowrap;
}

/* 二级下拉菜单 */
.nav li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0, 0, 0, 0.9);
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    padding: 8px 0;
}

.submenu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(0, 0, 0, 0.9);
}

.submenu li {
    margin: 0;
    display: block;
}

.submenu a {
    color: #fff;
    padding: 0px 20px;
    font-size: 16px;
    white-space: nowrap;
    transition: all 0.3s;
}

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

/* Hero幻灯片区域 */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13,71,161,0.6) 0%, rgba(1,87,155,0.5) 50%, rgba(0,96,100,0.6) 100%);
}

.slide-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.slide-content h1 {

    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content h2 {
    font-size: 36px;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide.active .slide-content h2 {
    font-size: 16px;
}

.banner-logo {
    margin-bottom: 20px;
    animation: fadeInDeep 0.8s ease-out forwards;
    opacity: 0;
}

.banner-logo img {
    height: auto;
}

@keyframes fadeInDeep {
    0% {
        opacity: 0;
        filter: brightness(1.5) grayscale(0.3);
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        filter: brightness(1) grayscale(0);
        transform: scale(1);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-cn1 {
    animation: slideInFromLeft 0.6s ease-out 0.3s forwards;
    opacity: 0;
}

.banner-en1 {
    animation: slideInFromRight 0.6s ease-out 0.5s forwards;
    opacity: 0;
}

.banner-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #e65100;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    animation: slideInFromBottom 0.6s ease-out 0.7s forwards;
    opacity: 0;
}

.banner-btn:hover {
    background: #ff6f00;
}

.banner1-title-cn {
    font-size: 100px;
    color: #fff;
    margin-bottom: 10px;
}

.banner1-title-en {
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
}

.banner-en1 {
    font-size: 18px;
}

.banner-en2 {
    font-size: 24px;
}

.banner-cn1 {
    font-size: 50px;
}

.slide-content h1:first-of-type + h1 {
    margin-top: -20px;
}

.banner-cn2 {
    font-size: 80px;
}

.banner2-content .banner-cn {
    font-size: 100px;
    padding: 30px;
}

.banner2-content .banner-en1 {
    font-size: 18px;
    margin-left: 20px;
    padding: 20px;
}

.banner2-content .banner-en2 {
    font-size: 24px;
    margin-left: 20px;
    padding: 20px;
}

.banner3-content h1 {
    font-size: 100px;
}

.banner3-content h2 {
    font-size: 24px;
}

.banner4-content h1,
.banner4-content h2 {
    font-size: 100px;
}

.banner4-left {
    transform: translateX(-100px);
}

.banner4-right {
    transform: translateX(100px);
}

/* 幻灯片指示器 */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(255,255,255,0.8);
}

/* 幻灯片箭头 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.4);
}

.slider-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.slider-prev {
    left: 20px;
}

.slider-prev::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}

.slider-next {
    right: 20px;
}

.slider-next::before {
    transform: translate(-70%, -50%) rotate(45deg);
}

/* 通用区域标题 */
.section-title {
    text-align: center;
    padding: 60px 0 60px;
    font-size: 28px;
    font-weight: bold;
    color: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.section-title::before,
.section-title::after {
    content: '';
    width: 10px;
    height: 30px;
}

.section-title::before {
    background: linear-gradient(to right, 
        rgba(21, 101, 192, 0.5) 0px, rgba(21, 101, 192, 0.5) 1px,
        transparent 1px, transparent 4px,
        #1565c0 4px, #1565c0 8px,
        transparent 8px
    );
}

.section-title::after {
    background: linear-gradient(to right, 
        #1565c0 0px, #1565c0 4px,
        transparent 4px, transparent 7px,
        rgba(21, 101, 192, 0.5) 7px, rgba(21, 101, 192, 0.5) 8px,
        transparent 8px
    );
}

/* 比赛通知 */
.notice-section {
    padding: 0 50px 50px 50px;
}

.notice-container {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
}

.notice-sidebar {
    width: 20%;
    background: #000;
    color: #fff;
}

.notice-sidebar-title {
    padding: 15px 10px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    background: #1565c0;
}

.notice-menu {
    list-style: none;
}

.notice-menu li {
    padding: 12px 20px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 18px;
    user-select: none;
}

.notice-menu li:hover,
.notice-menu li.active {
    background: #1565c0;
    border-radius: 0 30px 30px 0;
    width: 96%;
}

.notice-menu li.active {
    border-left: 3px solid #fff;
}

.notice-content {
    width: 80%;
    padding: 20px 30px;
    background: #fafafa;
}

.notice-panel {
    display: none;
}

.notice-panel.active {
    display: block;
}

.notice-content h3 {
    color: #1565c0;
    font-size: 18px;
    margin-bottom: 15px;
}

.notice-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.notice-more {
    text-align: right;
    margin-top: 20px;
}

.notice-more a {
    color: #e65100;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
}

/* 比赛规则 */
.rules-section {
    background: url('images/index-gz-bg.jpg') no-repeat center top;
    background-size: 100% 600px;
}

.rules-section .section-title {
    color: #fff;
}

.rules-section .section-title::before {
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.5) 0px, rgba(255, 255, 255, 0.5) 1px,
        transparent 1px, transparent 4px,
        #fff 4px, #fff 8px,
        transparent 8px
    );
}

.rules-section .section-title::after {
    background: linear-gradient(to right, 
        #fff 0px, #fff 4px,
        transparent 4px, transparent 7px,
        rgba(255, 255, 255, 0.5) 7px, rgba(255, 255, 255, 0.5) 8px,
        transparent 8px
    );
}

.rules-container {
    display: flex;
    max-width: 1200px;
    height: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.rules-content {
    flex: 1;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.rules-arrow {
    width: 50px;
    height: 30px;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.rules-prev {
    background: #fff;
    color: #1565c0;
    border-radius: 40px 0 0 40px;
}

.rules-next {
    background: #1565c0;
    color: #fff;
    border-radius: 0 40px 40px 0;
}

.rules-prev:hover {
    background: #f0f0f0;
}

.rules-next:hover {
    background: #0d47a1;
}

.rules-image {
    position: relative;
}

.rules-image .rules-arrow-group {
    position: absolute;
    bottom: 60px;
    right: -20px;
    display: flex;
    margin: 0;
    z-index: 5;
}

.rules-panel {
    display: none;
    gap: 20px;
}

.rules-panel.active {
    display: flex;
    align-items: flex-start;
}

.rules-image {
    flex-shrink: 0;
    background: url('images/index-gz-jiao.png') no-repeat left bottom;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    padding: 30px;
}

.rules-image img {
    width: 100%;
    height: auto;
    display: block;
}

.rules-text {
    flex: 1;
    padding: 30px 0;
}

.rules-text h3 {
    display: flex;
    align-items: center;
    color: #1565c0;
    font-size: 25px;
    margin-bottom: 15px;
}

.rules-number {
    background: #1565c0;
    color: #fff;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 25px;
}

.rules-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.rules-nav {
    width: 250px;
    background: #f5f5f5;
}

.rules-nav-item {
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 1px solid #e0e0e0;
    height: 160px;
}

.rules-nav-item:hover,
.rules-nav-item.active {
    background: #e65100;
    color: #fff;
}

.rules-nav-item h4 {
    font-size: 30px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* 比赛动态 */
.news-section {
    padding-bottom: 50px;
}

.news-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-video {
    width: 80%;
    aspect-ratio: 16 / 9;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    overflow: hidden;
}

.news-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-image {
    width: 20%;
    aspect-ratio: 16 / 9;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    overflow: hidden;
    position: relative;
}

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

.news-image:hover > img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

.play-button img {
    display: block;
}

/* 精彩瞬间 */
.gallery-section {
    background: #fff;
    padding-bottom: 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.gallery-item {
    aspect-ratio: 16/10;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: scale(0.95);
    filter: brightness(1.5) grayscale(0.5);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, filter 0.8s ease-out;
}

.gallery-item.animate {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1) grayscale(0);
}

.gallery-item:nth-child(1) { transition-delay: 0s; }
.gallery-item:nth-child(2) { transition-delay: 0.1s; }
.gallery-item:nth-child(3) { transition-delay: 0.2s; }
.gallery-item:nth-child(4) { transition-delay: 0.3s; }
.gallery-item:nth-child(5) { transition-delay: 0.4s; }
.gallery-item:nth-child(6) { transition-delay: 0.5s; }
.gallery-item:nth-child(7) { transition-delay: 0.6s; }
.gallery-item:nth-child(8) { transition-delay: 0.7s; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(96, 165, 230, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
/* 参赛队伍 */
.teams-section {
    background: url('images/index-td-bg.jpg') no-repeat center top;
    background-size: cover;
    padding-bottom: 50px;
}

.teams-section  {
    color: #fff;
    padding-top: 80px;
}

.section-title {
    color: #0d47a1;
}

.teams-title {
    color: #fff !important;
}



.teams-section .section-title::before {
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.5) 0px, rgba(255, 255, 255, 0.5) 1px,
        transparent 1px, transparent 4px,
        #fff 4px, #fff 8px,
        transparent 8px
    );
}

.teams-section .section-title::after {
    background: linear-gradient(to right, 
        #fff 0px, #fff 4px,
        transparent 4px, transparent 7px,
        rgba(255, 255, 255, 0.5) 7px, rgba(255, 255, 255, 0.5) 8px,
        transparent 8px
    );
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    width: 70%;
    margin: 0 auto;
}

.team-card {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.team-card.animate {
    opacity: 1;
    transform: translateX(0);
}

.team-card:nth-child(1) { transition-delay: 0s; }
.team-card:nth-child(2) { transition-delay: 0.15s; }
.team-card:nth-child(3) { transition-delay: 0.3s; }
.team-card:nth-child(4) { transition-delay: 0.45s; }

.team-card:hover {
    transform: translateY(-5px);
}

.team-card.animate:hover {
    transform: translateY(-5px);
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-image {
    overflow: hidden;
}

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

.team-info {
    padding: 15px;
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    color: #fff;
    height: 80px;
    opacity: 0.8;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.team-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.team-school {
    font-size: 14px;
    opacity: 0.9;
}

/* 页脚 */
.footer {
    background: #082A55 url('images/footer-bg.png');
    background-size: 100% 100%;
    color: #fff;
    text-align: center;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}



/* 页面模板主体内容区 */
.page-main {
    min-height: 500px;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
}

/* 内页通用BANNER */
.page-banner {
    height: 350px;
    background: url('images/index-gz-bg.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.page-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    width: 100%;
    margin: auto;
    padding: 0 20px;
}

.page-banner-text {
    color: #fff;
}

.page-banner-line1 {
    font-size: 24px;
    line-height: 1.2;
}

.page-banner-line2 {
    font-size: 35px;
    line-height: 1.2;
    margin-top: 15px;
}

.page-banner-btn-wrap {
    flex-shrink: 0;
}

.page-banner-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.page-banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
}

/* Banner底部三列区域 */
.page-banner-btm {
    width: 100%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    background: url('images/bannerbox-bg.png') repeat-x center bottom;
}

.page-banner-tbg {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    height: 80px;
    margin: 0 auto;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #0F59A0;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumb-current {
    color: #0F59A0;
    font-weight: bold;
}

.page-banner-col1 {

    flex-shrink: 0;
    background: #0F59A0;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 10px;
    height: 80px;
    padding: 0px 50px;
}

.page-banner-col1 .page-banner-title {
    color: #fff;
    font-size: 26px;
}

.page-banner-col1 .page-banner-subtitle {
    color: #fff;
    font-size: 14px;
}

.page-banner-lm {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: auto 0;
}

.page-banner-col2 {
    width: 75px;
    flex-shrink: 0;
    height: 100%;
    background: url('images/bannerBox-arrow.png') no-repeat center center;
    background-size: contain;
}

.page-banner-col3 {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-left: auto;
    padding: 10px 50px 0px 0px;
}

.page-banner-lmgd {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.page-banner-lmgd::-webkit-scrollbar {
    display: none;
}

.page-banner-col3 a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
    padding: 0 15px;
    white-space: nowrap;
}

.page-banner-col3 a:hover {
    color: #1565c0;
}

.page-banner-col3 a.active {
    color: #1565c0;
    font-weight: bold;
}


/* 响应式导航字体 */
@media (min-width: 1680px) {
    .nav a {
        font-size: 18px;
    }
    .submenu a {
        font-size: 18px;
    }
}

@media (min-width: 1360px) and (max-width: 1679px) {
    .nav a {
        font-size: 14px;
    }
    .submenu a {
        font-size: 14px;
    }
}

@media (min-width: 769px) and (max-width: 1359px) {
    .nav a {
        font-size: 12px;
    }
    .submenu a {
        font-size: 12px;
    }

    .nav li > a {
    padding: 10px 15px;
    }

    .lang-switch a {
        font-size: 12px;
    }    

    .logo img {
        height: 25px;
    }    

    .logo-cn {
        font-size: 16px;
    }

    .logo-en {
        font-size: 7px;
    }

    .banner-cn1 {
        font-size: 40px;
    }    
    .banner-en1 {
        font-size: 14px;
    }    

    .banner-cn2 {
        font-size: 50px;
    }    
    .banner-en2 {
        font-size: 16px;
    }  
    .hero-slider    
    {
        height: 450px;
    }

    .banner-logo img
    {
        height: 80px;
    }

}

/* ==================== 移动端展开按钮 ==================== */
.submenu-toggle {
    display: none;
}

/* ==================== 移动端菜单按钮 ==================== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s;
}

/* 菜单打开时变成X */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

@media (max-width: 1023px) {
    .mobile-menu-btn {
        display: flex;
    }

    .header {
        background: #082A55;
    }

    .header.scrolled {
        background: #082A55 !important;
    }

    .logo img {
        height: 25px;
    }     

    /* 导航容器变为全屏 - 浅灰色背景 */
    .nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: #f5f5f5;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 999;
        flex-direction: column;
    }

    .nav.active {
        display: block;
    }

    /* 导航变为垂直布局 */
    .nav li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #e0e0e0;
    }

    .nav li > a {
        padding: 18px 20px;
        color: #000;
        font-size: 18px;
        font-weight: 500;
    }

    /* 当前选中栏目高亮 - 比背景色稍深 */
    .nav li.active,
    .nav li:hover {
        background: #e0e0e0;
    }

    /* 子菜单样式 - 移动端 */
    .submenu {
        position: static;
        opacity: 0;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        background: #fff;
        min-width: auto;
        width: 100%;
        border-radius: 0;
        left: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        padding: 0 20px;
    }



    .submenu.active {
        max-height: 500px;
        opacity: 1;
    }

    .submenu.active {
        display: block;
    }

    .submenu a {
        padding: 15px 20px 15px 56px;
        font-size: 16px;
        color: #000;

    }

    .submenu a:hover {
        background: #d8d8d8;
    }

    /* 带子菜单的项 */
    .has-submenu {
        position: relative;
    }

    .has-submenu > a {
        padding-right: 60px;
    }

    /* 展开按钮 */
    .submenu-toggle {
        display: flex;
        position: absolute;
        right: 10px;
        top: 0;
        width: 50px;
        height: 56px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
    }

    .submenu-toggle::after {
        content: '+';
        font-size: 20px;
        color: #666;
    }

    .submenu-toggle.active::after {
        content: '-';
    }

    /* 禁用桌面端悬停效果 */
    .nav li:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* 隐藏子菜单三角形 */
    .submenu::before {
        display: none;
    }

    /* 其他移动端隐藏 */
    .logo-text {
        display: none;
    }
}

/* 660-1023px显示logo-text */
@media (min-width: 660px) and (max-width: 1023px) {
    .logo-text {
        display: flex;
    }

  
  
}

/* 1279px及以下比赛规则区TAB横向排列 */
@media (max-width: 1279px) {
    .rules-container {
        flex-direction: column;
        height: auto;
        width: 90%;
    }

    .rules-nav {
        width: 100%;
        display: flex;
        flex-direction: row;
        order: -1;
    }

    .rules-nav-item {
        flex: 1;
        height: 60px;
        padding: 10px;
        border-bottom: none;
        border-right: 1px solid #e0e0e0;
    }

    .rules-nav-item:last-child {
        border-right: none;
    }

    .rules-nav-item h4 {
        font-size: 18px;
    }

    .rules-content {
        padding: 30px;
    }
    .news-container{
        width:90%;
    }

    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .page-banner-col1 .page-banner-title {
        font-size: 18px;
    }

    .page-banner-col1 .page-banner-subtitle {
        font-size: 12px;
    }

    .page-banner-col3 a {
        font-size: 14px;
    }

      .page-banner-col1 {
        height: 80px;
        padding: 0px 20px;
    }    

}

@media (max-width: 768px) {
    .rules-panel.active {
        flex-direction: column;
    }

    .rules-image {
        width: 100%;
        padding: 20px;
    }

    .rules-text {
        width: 100%;
        padding: 20px;
    }

    .notice-sidebar {
        width: 120px;
    }

    .notice-menu li{
        font-size: 14px;
    }

    .notice-content p {
        font-size: 14px;
    }

    .banner-cn1 {
        font-size: 30px;
    }    
    .banner-en1 {
        font-size: 12px;
    }    

    .banner-cn2 {
        font-size: 24px;
    }    
    .banner-en2 {
        font-size: 6px;
    }  
    .hero-slider    
    {
        height: 350px;
    }

    .banner-logo img
    {
        height: 50px;
    }

    .banner-logo
    {
        margin-bottom: 0px;
        
    }

    .rules-nav-item h4 {
        font-size: 16px;
    }    

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .notice-section {
        padding: 0 15px 50px 15px;
        }

        


    .page-banner-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .page-banner-tbg {
        flex-wrap: wrap;
        height: auto;
    }

    .page-banner-col1,
    .page-banner-col2 {
        height: 50px;
    }

    .page-banner-col3 {
        width: 100%;
        justify-content: center;
        padding: 10px 0;
        border-top: 1px solid rgba(255,255,255,0.2);
        height: 60px;
    }

    .page-banner-col2 {
        background-position: left center;
    }

    .page-banner-line1 {
        font-size: 18px;
    }

    .page-banner-line2 {
        font-size: 28px;
    }

    .page-banner-text {
        margin-top: -40px;
    }

}

@media (max-width: 640px) {

    .header{
        padding: 0 10px;
    }


    .footer {
        font-size: 12px;
    }

    .page-banner-col1 {
        padding: 0px 0px 0px 20px;
    }

    .team-name {
        font-size: 14px;
    }

    .team-school {
        font-size: 12px;
    }

}

@media (max-width: 420px) {
    .notice-sidebar {
        width: 80px;
    }

}

/* ==================== 新闻列表样式 ==================== */
.pages-list-section {
    padding: 40px 20px;
    min-height: 600px;
    max-width: 1200px;
    margin: 0 auto;
}

.pages-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pages-list-item {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.pages-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.pages-list-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 15px;
    background: #e0e7ff;
    border-radius: 10px;
    color: #0F59A0;
}

.pages-list-date .day {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
}

.pages-list-date .month {
    font-size: 14px;
    margin-top: 5px;
}

.pages-list-content {
    flex: 1;
}

.pages-list-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.pages-list-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.pages-list-content h3 a:hover {
    color: #0F59A0;
}

.pages-list-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.pages-more {
    display: inline-block;
    float: right;
    padding: 8px 20px;
    background: #0F59A0;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.pages-more:hover {
    background: #1565c0;
}

/* ==================== 分页样式 ==================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    gap: 5px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
    margin: 0 3px;
}

.pagination a:hover {
    color: #FFF;
    background-color: #2b7dd0;
}

.pagination a.page-num-current {
    background-color: #2b7dd0;
    border-color: #2b7dd0;
    color: #fff;
}

.pagination a:hover.page-num-current {
    background-color: #FFF;
    border-color: #2b7dd0;
    color: #333;
}

.pagination .prev,
.pagination .next {
    padding: 0 15px;
}

.pagination .dots {
    border: none;
    background: none;
    cursor: default;
}


/* ==================== 新闻列表响应式样式 ==================== */
@media (max-width: 768px) {
    .pages-list-section {
        padding: 30px 15px;
    }

    .pages-list-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .pages-list-date {
        flex-direction: row;
        gap: 8px;
        min-width: auto;
        padding: 10px 15px;
        align-self: flex-start;
    }

    .pages-list-date .day {
        font-size: 20px;
    }

    .pages-list-date .month {
        font-size: 12px;
        margin-top: 0;
    }

    .pages-list-content h3 {
        font-size: 16px;
    }

    .pages-list-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .pagination {
        gap: 5px;
        margin-top: 30px;
    }

    .page-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .page-num {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

/* ==================== 文章详情页样式 ==================== */
.pages-detail-section {
    padding: 40px 20px;
    min-height: 600px;
    max-width: 1200px;
    margin: 0 auto;
}

.pages-detail {
    background: #fff;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pages-detail-title {
    font-size: 30px;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 1px solid #e8e8e8;
    padding: 20px;   

}

.pages-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    padding-top: 30px;

}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.meta-item i {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #0F59A0;
    border-radius: 50%;
}

.pages-detail-content {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
}

.pages-detail-content p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.pages-detail-content > p:has(> b:only-child) {
    text-indent: 0;
}

.pages-detail-content > p > b:only-child {
    display: block;
    font-size: 24px;
    color: #333;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e7ff;
    font-weight: bold;
}

.pages-detail-content > p > img {
    display: block;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin: 30px auto;
}

.pages-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e8e8e8;
}

.pages-nav > div {
    font-size: 16px;
    color: #666;
}



/* ==================== 文章详情页响应式样式 ==================== */
@media (max-width: 768px) {
    .pages-detail-section {
        padding: 20px 15px;
    }

    .pages-detail {
        padding: 25px 20px;
        border-radius: 8px;
    }

    .pages-detail-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .pages-detail-meta {
        gap: 15px;
    }

    .meta-item {
        font-size: 13px;
    }

    .pages-detail-content {
        font-size: 15px;
    }

    .pages-detail-content > p > b:only-child {
        font-size: 18px;
        margin: 30px 0 15px;
        padding-bottom: 8px;
        border-bottom: 2px solid #e0e7ff;
    }

    .pages-detail-content > p > img {
        width: 100%;
        margin: 20px auto;
    }

    .pages-nav {
        display: none;
    }
}