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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* 顶部导航样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #65a22a;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #65a22a;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主banner区域 */
.hero-banner {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.banner-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.banner-title-en {
    font-size: 5.5rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    margin-bottom: 25px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out;
    line-height: 1.1;
}

.banner-title-cn {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 45px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out 0.3s both;
    line-height: 1.2;
}

.submit-btn {
    background: white;
    color: #0c6030;
    border: 2px solid #0c6030;
    padding: 20px 50px;
    font-size: 22px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
    background: #0c6030;
    color: white;
    font-size: 23px;
}

/* 通用section样式 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #65a22a, #0c6030);
    border-radius: 2px;
}

.bg-light {
    background: #f8f9fa;
}

/* 投稿组别 */
.groups-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.group-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.group-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #65a22a, #0c6030);
}

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

.group-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.group-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.group-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 15px;
}

.group-features {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(135deg, #65a22a, #0c6030);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

/* 赛事详情 */
.competition-content {
    max-width: 1000px;
    margin: 0 auto;
}

.competition-intro {
    margin-bottom: 60px;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    text-align: justify;
    position: relative;
    padding-left: 20px;
}

.intro-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #65a22a, #0c6030);
    border-radius: 2px;
}

.intro-text:first-child {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    padding-left: 0;
}

.intro-text:first-child::before {
    display: none;
}

.competition-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.highlight-item {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.highlight-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.highlight-content p {
    color: #666;
    line-height: 1.5;
    font-size: 14px;
}

/* 参赛说明 */
.rules-content {
    max-width: 800px;
    margin: 0 auto;
}

.rules-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #e9ecef;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn.active,
.tab-btn:hover {
    color: #65a22a;
    border-bottom-color: #65a22a;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.rules-list {
    list-style: none;
    padding: 0;
}

.rules-list li {
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 30px;
}

.rules-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #65a22a;
    font-weight: bold;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #65a22a, #0c6030);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.3;
}

.step-content p {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

/* 流程箭头 */
.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.arrow-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #65a22a, #0c6030);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(101, 162, 42, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 3px 10px rgba(101, 162, 42, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(101, 162, 42, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 3px 10px rgba(101, 162, 42, 0.3);
    }
}

/* 下载按钮区域 */
.download-section {
    text-align: center;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.download-btn {
    background: linear-gradient(135deg, #65a22a, #0c6030);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(101, 162, 42, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(101, 162, 42, 0.4);
    background: linear-gradient(135deg, #0c6030, #0a4d26);
}

.download-icon {
    font-size: 18px;
}

.download-text {
    font-size: 16px;
}

/* 奖项说明 */
.awards-info {
    margin-top: 30px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.awards-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
    position: relative;
    padding-left: 20px;
}

.awards-text::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #65a22a;
    font-weight: bold;
    font-size: 18px;
}

.awards-text:last-child {
    margin-bottom: 0;
}

/* 奖项设置 */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

/* 特殊奖项样式 */
.awards-grid .award-category:nth-child(4),
.awards-grid .award-category:nth-child(5) {
    grid-column: span 1;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
    border: 2px solid #65a22a;
    position: relative;
    box-shadow: 0 8px 25px rgba(101, 162, 42, 0.2);
}

/* 特殊奖项行样式 - 让两个奖项各占50% */
.awards-grid .award-category:nth-child(4) {
    grid-column: 1 / 2;
}

.awards-grid .award-category:nth-child(5) {
    grid-column: 2 / 3;
}


.awards-grid .award-category:nth-child(4):hover,
.awards-grid .award-category:nth-child(5):hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(101, 162, 42, 0.3);
}

/* 特殊奖项的标题样式 */
.awards-grid .award-category:nth-child(4) .category-header,
.awards-grid .award-category:nth-child(5) .category-header {
    background: linear-gradient(135deg, #65a22a 0%, #0c6030 100%);
    color: white;
}

.awards-grid .award-category:nth-child(4) .category-header h3,
.awards-grid .award-category:nth-child(5) .category-header h3 {
    color: white;
    font-weight: 700;
}

/* 特殊奖项的奖项项样式 */
.awards-grid .award-category:nth-child(4) .award-item,
.awards-grid .award-category:nth-child(5) .award-item {
    background: rgba(255, 255, 255, 0.8);
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid rgba(101, 162, 42, 0.2);
}

.award-category {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.category-header {
    background: linear-gradient(135deg, #65a22a, #0c6030);
    color: white;
    padding: 25px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.category-icon {
    font-size: 2rem;
}

.category-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.award-list {
    padding: 25px 20px;
}

.award-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.award-item:last-child {
    border-bottom: none;
}

.award-item:hover {
    background: #f8f9ff;
    margin: 0 -10px;
    padding: 12px 10px;
    border-radius: 8px;
}

.award-name {
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

.award-count {
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

/* 奖项等级样式 */
.award-item.gold .award-name {
    color: #ffd700;
    font-weight: 600;
}

.award-item.gold .award-count {
    color: #ffd700;
    font-weight: 700;
}

.award-item.silver .award-name {
    color: #c0c0c0;
    font-weight: 600;
}

.award-item.silver .award-count {
    color: #c0c0c0;
    font-weight: 700;
}

.award-item.bronze .award-name {
    color: #cd7f32;
    font-weight: 600;
}

.award-item.bronze .award-count {
    color: #cd7f32;
    font-weight: 700;
}

.award-item.normal .award-name {
    color: #333;
}

.award-item.normal .award-count {
    color: #666;
}

/* 主办单位 */
.organizer-content {
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 40px;
}

.organizer-info {
    background: white;
    padding: 40px 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
}

.organizer-info h3 {
    color: #0c6030;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    border-bottom: 2px solid #65a22a;
    padding-bottom: 10px;
    margin-top: 30px;
}

.organizer-info h3:first-child {
    margin-top: 0;
}

.organizer-info p {
    color: #555;
    margin-bottom: 8px;
    font-size: 15px;
    display: inline-block;
    margin-right: 18px;
    margin-bottom: 10px;
    padding: 5px 12px;
    background: #f8f9fa;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.organizer-info p:hover {
    background: #65a22a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(101, 162, 42, 0.3);
}

/* 关于我们 */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #65a22a;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}


/* 页脚 */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #65a22a;
}

.footer-info p {
    color: #ccc;
    line-height: 1.6;
}

.footer-contact h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #999;
}

/* 底部二维码区域 */
.footer-qr {
    background: #2c2c2c;
    padding: 30px 0;
    border-top: 1px solid #444;
}

.qr-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.qr-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.qr-code {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: white;
    padding: 5px;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-text h4 {
    color: #65a22a;
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.qr-text p {
    color: #ccc;
    font-size: 14px;
    margin: 0;
}

.qr-right {
    flex: 1;
    text-align: right;
}

.copyright-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.copyright {
    color: #999;
    font-size: 14px;
    margin: 0;
}

.disclaimer {
    color: #666;
    font-size: 13px;
    margin: 0;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .awards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .awards-grid .award-category:nth-child(4) {
        grid-column: 1 / 2;
    }
    
    .awards-grid .award-category:nth-child(5) {
        grid-column: 2 / 3;
    }
    
    .category-header {
        padding: 20px 15px;
    }
    
    .category-icon {
        font-size: 1.8rem;
    }
    
    .category-header h3 {
        font-size: 1.2rem;
    }
    
    .award-list {
        padding: 20px 15px;
    }
    
    .award-item {
        padding: 10px 0;
    }
    
    .award-name {
        font-size: 14px;
    }
    
    .award-count {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .banner-title-en {
        font-size: 3.5rem;
        letter-spacing: 0.2em;
    }
    
    .banner-title-cn {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .competition-highlights {
        grid-template-columns: 1fr;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .intro-text {
        font-size: 1rem;
        padding-left: 15px;
    }
    
    .intro-text:first-child {
        font-size: 1.2rem;
    }
    
    .groups-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .group-card {
        padding: 30px 20px;
    }
    
    .group-icon {
        font-size: 3rem;
    }
    
    .group-card h3 {
        font-size: 1.5rem;
    }
    
    .group-card p {
        font-size: 14px;
    }
    
    .organizer-info {
        padding: 30px 20px;
    }
    
    .organizer-info h3 {
        font-size: 1.2rem;
        margin-top: 25px;
    }
    
    .organizer-info p {
        font-size: 13px;
        padding: 4px 10px;
        margin-right: 15px;
        margin-bottom: 8px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .qr-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .qr-left {
        flex-direction: column;
        gap: 15px;
    }
    
    .qr-code {
        width: 70px;
        height: 70px;
    }
    
    .qr-right {
        text-align: center;
    }
    
    .copyright-info {
        gap: 5px;
    }
    
    .copyright {
        font-size: 13px;
    }
    
    .disclaimer {
        font-size: 12px;
    }
    
    .rules-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .tab-btn.active {
        border-left-color: #007bff;
        border-bottom-color: transparent;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 15px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .step {
        min-width: auto;
        max-width: none;
        width: 100%;
    }
    
    .download-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .awards-text {
        font-size: 14px;
        padding-left: 15px;
    }
    
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .awards-grid .award-category:nth-child(4) {
        grid-column: 1 / 2;
    }
    
    .awards-grid .award-category:nth-child(5) {
        grid-column: 2 / 3;
    }
    
    .category-header {
        padding: 20px 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    .category-icon {
        font-size: 1.8rem;
    }
    
    .category-header h3 {
        font-size: 1.2rem;
    }
    
    .award-list {
        padding: 20px 15px;
    }
    
    .award-item {
        padding: 10px 0;
    }
    
    .award-name {
        font-size: 14px;
    }
    
    .award-count {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .banner-title-en {
        font-size: 2.8rem;
        letter-spacing: 0.1em;
    }
    
    .banner-title-cn {
        font-size: 1.8rem;
    }
    
    .submit-btn {
        padding: 16px 35px;
        font-size: 18px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .submit-form {
        padding: 30px 20px;
    }
}
