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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f7fa;
   
}
.page-cont{
    width: 100%;
    
}
.header {
    background-color: #e8f0f8;
    padding: 15px 0;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    display: block;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    outline: none;
}

.btn-outline {
    background-color: transparent;
    border-color: #306AF6;
    color: #306AF6;
}

.btn-outline:hover {
    background-color: #306AF6;
    color: #fff;
}
  a{
    text-decoration: none;
}
.btn-primary {
    background-color: #306AF6;
    color: #fff;
    border-color: #306AF6;
}

.btn-primary:hover {
    background-color: #357abd;
    border-color: #357abd;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 88px;
    border-radius: 30px;
    background-color: white;
}

.intro-section {
    padding: 80px 0;
    
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.section-title img {
    width: 88px;
    margin-right: -30px;
}

.section-title h2 {
    font-size: 32px;
    color: #333;
    font-weight: 600;
}

 

.intro-text {
    font-size: 20px;
    line-height: 1.8;
    color: #000;
    text-align: justify;
    margin-bottom: 20px;
    text-indent: 2rem;
}

.event-intro {
    margin-bottom: 30px;
    display: flex;
}

.event-intro h4 {
    font-size: 20px;
    color: #333;
    white-space: nowrap;
    margin-bottom: 10px;
    
}

.event-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #000;
    /* text-indent: 2em; */
}

.rules-title {
    text-align: center;
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}

.rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.rule-card {
    background-color: #F1F6FA;
    border-radius: 24px;
    padding:32px 38px;
}

.card-title {
    font-size: 20px;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 3px solid #4a90d9;
}

.rule-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #000;
    margin-bottom: 8px;
}

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

.group-section {
    background-color: #F1F6FA;
    border-radius: 8px;
    padding: 20px;
}

.group-tags {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.group-tag {
    flex: 1;
    text-align: center;
    background: #306AF6;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.group-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 217, 0.3);
}

.process-section {
    background-color: #F1F6FA;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.process-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #000;
    margin-bottom: 20px;
    text-indent: 2em;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    margin-bottom: 20px;
}

.process-step {
    flex: 1;
    text-align: center;
    background-color: #fff;
    border: 1px solid #306AF6;
    color: #4a90d9;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
}

.process-arrow {
    color: #4a90d9;
    font-size: 0;
    display: inline-block;
    width: 28px;
    margin: 0 10px;
    height: 24px;
    background: url(../img/next1.png);
    background-size: 100% 100%;
    font-weight: bold;
}

.process-note {
    margin-bottom: 15px;
}

.process-note p {
    font-size: 16px;
    line-height: 1.8;
    color: #000;
}

.process-note .note-example {
    color: #4a90d9;
    margin-left: 3em;
    margin-top: 5px;
}

.other-note p {
    font-size: 16px;
    line-height: 1.8;
    padding: 28px 57px;
    display: flex;
    color: #000;
}
.other-note p strong {
   white-space: nowrap;
}

.scoring-section {
    margin-top: 30px;
}

.scoring-table-wrapper {
    background-color: #e8f0f8;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #d0e0f0;
}

.scoring-table {
    width: 100%;
    border-collapse: collapse;
}

.scoring-table thead {
    background-color: #e8f0f8;
}

.scoring-table th {
    padding: 15px 20px;
    text-align: center;
    font-size: 20px;
    color: #333;
    font-weight: 600;
    border: 1px solid #d0e0f0;
}

.scoring-table td {
    padding: 20px;
    border: 1px solid #d0e0f0;
    vertical-align: middle;
    background-color: #e8f0f8;
    text-align: center;
}

.scoring-table tr:last-child td {
    border-bottom: 1px solid #d0e0f0;
}

.col-dimension {
    width: 220px;
}

.col-weight {
    width: 200px;
}

.col-requirement {
    width: auto;
}

.dimension-name {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: #333;
}

.weight {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    /* color: #4a90d9; */
}

.requirement p {
    font-size: 16px;
    line-height: 1.8;
    color: #000;
    margin-bottom: 8px;
    text-align: left;
}

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

.building-cards-section {
    margin-top: 30px;
}

.building-cards-content {
    /* background-color: #f8fafc; */
    border-radius: 8px;
    padding: 30px;
}

.cards-info {
    margin-bottom: 25px;
    background-color: #F1F6FA;
    padding: 30px;
    border-radius: 24px;
    margin-right: 50px;

}

.cards-list {
    list-style: none;
    margin-top: 15px;
}

.cards-list li {
    font-size: 16px;
    line-height: 2;
    color: #000;
    padding-left: 0;
}

.cards-layout {
    display: flex;
    /* gap: 30px; */
}

.cards-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* gap: 20px; */
}

.cards-right {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.cards-examples-bottom {
    display: flex;
    align-items: center;
    /* flex-direction: column; */
    gap: 10px;
}

.example-label {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.example-images-bottom {
    display: flex;
    
    flex: 1;
}

.example-images-bottom img {
    height: 220px;
    width: 50%;
    /* width: auto; */
    object-fit: cover;
    border-radius: 4px;
}

.example-images-right {
    display: flex;
     
    width: 100%;
    height: 100%;
}

.example-images-right img {
    flex: 1;
    height: 100%;
    width: 33%;
    object-fit: cover;
    border-radius: 4px;
}

.creative-examples-section {
    margin-top: 30px;
}

.creative-examples-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 20px;
}

.creative-example-card {
    background-color: #F1F6FA;
    border-radius: 24px;
    padding:30px;
}

.creative-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #000;
    margin: 24px 0;
}

.creative-image {
    margin-top: 15px;
}

.creative-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.creative-footer {
    /* background-color: #f8fafc; */
    border-radius: 8px;
    padding: 20px 25px;
}

.creative-footer p {
    font-size: 16px;
    line-height: 1.8;
    color: #000;
}

.schedule-section {
    padding: 40px 0;
    /* background-color: #fff; */
}

.grade-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    border: 1px solid #d0e0f0;
    border-radius: 24px;
    overflow: hidden;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab-label {
    background:#306AF6;
    color: #fff;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 500;
}

.tab-item {
    font-size: 16px;
    color: #666;
    cursor: pointer;
    padding: 10px 16px;
    transition: all 0.3s ease;
    border-left: 1px solid #e8e8e8;
}

.tab-item:first-of-type {
    border-left: none;
}

.tab-item.active {
    color: #4a90d9;
    font-weight: 600;
}

.tab-divider {
    display: none;
}

.schedule-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.schedule-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #F1F6FA;
    border-radius: 12px;
    padding: 25px;
    flex: 1;
    min-width: 0;
}

.schedule-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.schedule-icon img {
    width: 105px;
    height: 105px;
    object-fit: contain;
}

.schedule-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.schedule-title {
    font-size: 32px;
    white-space: nowrap;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.schedule-time {
    display: inline-block;
    background:#306AF6;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 16px;
    text-align: center;
}

.schedule-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    text-align: left;
    margin: 0;
}

.schedule-arrow {
    flex-shrink: 0;
}

.schedule-arrow img {
    width: 118px;
    height: 118px;
    opacity: 0.6;
}

.schedule-footer {
    text-align: center;
    padding: 20px;
}

.schedule-footer p {
    font-size: 20px;
    color: #000;
}

.regions-section {
    padding: 40px 0;
    background-color: #f5f7fa;
}
.regions-section .container{
    height: 550px;

}
.region-tabs {
    display: flex;
    justify-content: space-between;
    gap: 38px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.region-tab {
    padding: 8px 20px;
    border-radius:30px;
    text-align: center;
    flex: 1;
    font-size: 20px;
    color: #306AF6;
    background-color: #fff;
    border: 1px solid #306AF6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.region-tab.active {
    background: #306AF6;
    color: #fff;
    border-color: #4a90d9;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 39px;
    margin: 0 auto;
}

.city-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #F1F6FA;
    border-radius: 24px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.city-name {
    font-size: 32px;
    font-weight: 600;
    color: #333;
}

.city-arrow {
    width: 74px;
    height: 74px;
    background: url(../img/next.png);
    background-size: 100% 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a90d9;
    font-size: 0;
}

.video-section {
    padding: 40px 0;
    /* background-color: #fff; */
}

.video-container {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    /* max-width: 1000px; */
    margin-left: auto;
    margin-right: auto;
}

.video-player {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid #4a90d9;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

.video-list {
    width: 377px;
    background-color: #F1F6FA;
    border-radius: 12px;
    padding: 20px;
}

.list-header {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 3px solid #4a90d9;
}

.list-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.list-count {
    font-size: 16px;
    color: #999;
}

.list-items {
    max-height: 320px;
    overflow-y: auto;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.list-item:hover {
    background-color: #e8f0f8;
}

.list-item.active {
    background: #306AF6;
}

.list-item.active .item-number,
.list-item.active .item-name {
    color: #fff;
}

.item-number {
    
    font-weight: 500;
}

.item-name {
    font-size: 16px;
    color: #000;
}

.video-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer {
    background: linear-gradient(135deg, #86b7ee 0%, #3b8fe9 100%);
    padding: 30px 0;
    text-align: center;
}

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

.footer-title {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-label {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.footer-links a {
    color: #fff;
    font-size: 14px;
    text-decoration: underline;
    padding: 4px 8px;
    transition: all 0.3s;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* 弹窗样式 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e8e8e8;
}

.modal-header h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: #f0f0f0;
    color: #666;
}

.modal-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: #fafbfc;
}

.modal-btn:hover {
    border-color: #306AF6;
    background-color: #f0f5ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(48, 106, 246, 0.15);
}

.modal-btn-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.modal-btn-desc {
    font-size: 13px;
    color: #666;
}

/* ==================== 移动端响应式样式 ==================== */

/* 平板设备 (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .container {
        padding: 20px 40px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .intro-text {
        font-size: 18px;
    }
    
    .schedule-title {
        font-size: 24px;
    }
    
    .schedule-icon img {
        width: 80px;
        height: 80px;
    }
    
    .city-name {
        font-size: 24px;
    }
    
    .city-arrow {
        width: 50px;
        height: 50px;
    }
    
    .dimension-name {
        font-size: 24px;
    }
    
    .example-label {
        font-size: 24px;
    }
}

/* 手机设备 (小于 768px) */
@media screen and (max-width: 768px) {
    /* 头部 */
    .header-container {
        padding: 0 15px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .header-actions {
        width: 100%;
        justify-content: flex-end;
        gap: 8px;
    }
    
    .header-actions .btn {
        padding: 6px 10px;
        font-size: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* 容器 */
    .container {
        padding: 15px 20px;
        border-radius: 16px;
    }
    
    .intro-section {
        padding: 40px 0;
    }
    
    /* 标题 */
    .section-title {
        flex-direction: column;
        gap: 5px;
    }
    
    .section-title img {
        width: 60px;
        margin-right: 0;
    }
    
    .section-title h2 {
        font-size: 22px;
    }
    
    /* 介绍文字 */
    .intro-text {
        font-size: 16px;
        text-indent: 1.5rem;
    }
    
    .event-intro {
        flex-direction: column;
    }
    
    .event-intro h4 {
        font-size: 18px;
        white-space: normal;
    }
    
    /* 规则卡片 */
    .rules-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .rule-card {
        padding: 20px;
        border-radius: 16px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .rule-card p {
        font-size: 14px;
    }
    
    /* 组别标签 */
    .group-tags {
        flex-wrap: wrap;
    }
    
    .group-tag {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    /* 流程 */
    .process-flow {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .process-step {
        font-size: 12px;
        padding: 8px 12px;
        flex: none;
        width: 70%;
        max-width: 200px;
    }
    
    .process-arrow {
        display: block;
        width: 18px;
        height: 20px;
        margin: 4px 0;
        transform: rotate(90deg);
    }
    
    .other-note p {
        padding: 15px 20px;
        flex-direction: column;
    }
    
    /* 评分表格 */
    .scoring-table-wrapper {
        overflow-x: visible;
    }
    
    .scoring-table {
        min-width: auto;
        width: 100%;
    }
    
    .scoring-table th,
    .scoring-table td {
        padding: 8px 6px;
        font-size: 13px;
    }
    
    .scoring-table .col-dimension {
        width: 80px;
        min-width: 80px;
    }
    
    .scoring-table .col-weight {
        width: 70px;
        min-width: 70px;
    }
    
    .dimension-name {
        font-size: 14px;
    }
    
    .weight {
        font-size: 13px;
    }
    
    /* 积木卡片 */
    .building-cards-content {
        padding: 15px;
    }
    
    .cards-info {
        padding: 20px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cards-layout {
        flex-direction: column;
    }
    
    .cards-examples-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .example-label {
        font-size: 20px;
    }
    
    .example-images-bottom img {
        height: 150px;
    }
    
    .example-images-right {
        /* flex-direction: column; */
    }
    
    .example-images-right img {
        width: 100%;
        height: 150px;
    }
    
    /* 创意示例 */
    .creative-examples-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .creative-example-card {
        padding: 20px;
    }
    
    /* 赛程标签 */
    .grade-tabs {
        flex-wrap: wrap;
        border-radius: 12px;
    }
    
    .tab-label,
    .tab-item {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    /* 赛程时间线 */
    .schedule-timeline {
        flex-direction: column;
        gap: 15px;
    }
    
    .schedule-arrow {
        display: none;
    }
    
    .schedule-item {
        padding: 15px;
    }
    
    .schedule-top {
        flex-direction: column;
        text-align: center;
    }
    
    .schedule-icon img {
        width: 60px;
        height: 60px;
    }
    
    .schedule-title {
        font-size: 20px;
        white-space: normal;
    }
    
    .schedule-time {
        font-size: 14px;
    }
    
    .schedule-desc {
        font-size: 14px;
    }
    
    .schedule-footer p {
        font-size: 16px;
    }
    
    /* 地区选择 */
    .regions-section .container {
        height: auto;
    }
    
    .region-tabs {
        gap: 10px;
    }
    
    .region-tab {
        font-size: 14px;
        padding: 6px 12px;
        flex: none;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .city-item {
        padding: 12px 15px;
    }
    
    .city-name {
        font-size: 20px;
    }
    
    .city-arrow {
        width: 40px;
        height: 40px;
    }
    
    /* 视频区域 */
    .video-container {
        flex-direction: column;
    }
    
    .video-list {
        width: 100%;
    }
    
    .video-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .video-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* 页脚 */
    .footer {
        padding: 20px 0;
    }
    
    .footer-title {
        font-size: 16px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    /* 弹窗 */
    .modal-content {
        width: 95%;
        margin: 0 10px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-btn {
        padding: 12px 16px;
    }
}

/* 小屏手机 (小于 480px) */
@media screen and (max-width: 480px) {
    .section-title h2 {
        font-size: 18px;
    }
    
    .intro-text {
        font-size: 14px;
    }
    
    .process-step {
        min-width: calc(50% - 4px);
        font-size: 11px;
    }
    
    .schedule-title {
        font-size: 16px;
    }
    
    .city-name {
        font-size: 16px;
    }
}
