/* ==================== 基础样式设置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

:root {
    /* 根据香港帆書學院LOGO配色 */
    --primary-color: #0044CC;      /* 藏蓝色 - 主要色调 */
    --primary-dark: #003399;       /* 深藏蓝 - 悬停状态 */
    --secondary-color: #FFCC00;     /* 暖黄色 - 辅助色/强调色 */
    --accent-red: #CC3300;          /* 红色点缀 - 源自LOGO中帆船的红色区域 */
    --accent-blue: #66B2FF;         /* 浅蓝色 - 波浪线条颜色 */
    --dark-color: #1a1a2e;          /* 深色文本 */
    --text-color: #333333;         /* 正文文本 */
    --gray-color: #666666;          /* 次要文本 */
    --light-gray: #F5F5F5;          /* 浅灰背景 */
    --white-color: #FFFFFF;         /* 白色 */
    --border-color: #E0E0E0;         /* 边框颜色 */
    --shadow-light: rgba(0, 68, 204, 0.1);
    --shadow-hover: rgba(0, 68, 204, 0.2);
    --gradient-primary: linear-gradient(135deg, #0044CC 0%, #0066FF 100%);
    --gradient-secondary: linear-gradient(135deg, #FFCC00 0%, #FFDD33 100%);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 16px;
    background-color: var(--white-color);
}

/* 响应式背景图 - PC端宽屏，移动端竖版 */
@media (min-width: 769px) {
    body {
        background-image: url('images/banners/pc_background.jpg');
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

@media (max-width: 768px) {
    body {
        background-image: url('images/banners/mobile_background.jpg');
        background-attachment: scroll;
        background-position: center top;
        background-repeat: no-repeat;
        background-size: 100% auto;
    
    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        width: 35px;
        height: 28px;
        padding: 3px 0;
        background: transparent;
        border: none;
        z-index: 1001;
    }
    
    .nav-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--primary-color);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        padding: 15px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        transition: left 0.3s ease;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }

    .nav-menu li {
        margin-left: 0;
        margin-bottom: 0;
    }

    .nav-menu a {
        display: block;
        padding: 10px 12px;
        text-align: center;
        font-size: 14px;
        border-radius: 8px;
        background-color: #f8f9fa;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        background-color: #e9ecef;
        transform: translateY(-2px);
    }

    .nav-menu a.active {
        background-color: var(--primary-color);
        color: white !important;
    }

    .nav-menu .btn-primary {
        grid-column: 1 / -1;
        width: 100%;
        text-align: center;
        margin-top: 10px;
        padding: 12px;
    }
}
}

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

/* ==================== 导航栏样式 ==================== */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 30px var(--shadow-hover);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.nav-brand h1 {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2px;
}

.nav-brand .subtitle {
    font-size: 0.75rem;
    color: var(--gray-color);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.btn-primary {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white-color);
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-hover);
    background: linear-gradient(135deg, #003399 0%, #0055DD 100%);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== 英雄区域样式 ==================== */
.hero {
    background: linear-gradient(rgba(0, 68, 204, 0.85) 0%, rgba(0, 51, 153, 0.9) 100%),
                url('images/banners/hero_background.jpg') center/cover no-repeat;
    color: var(--white-color);
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/others/wave_pattern.png') repeat-x;
    background-size: auto 100px;
    opacity: 0.1;
    animation: waveMove 20s linear infinite;
}

@keyframes waveMove {
    0% { background-position: 0 0; }
    100% { background-position: 100% 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.hero .subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
}

.event-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 50px;
}

.info-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 18px 28px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.info-item .icon {
    font-size: 1.8rem;
    margin-right: 15px;
    color: var(--secondary-color);
}

.info-item h3 {
    font-size: 0.95rem;
    margin-bottom: 3px;
    font-weight: 600;
}

.info-item p {
    font-size: 0.9rem;
    opacity: 0.95;
}

.btn-large {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--primary-dark);
    padding: 18px 45px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    transition: var(--transition);
    box-shadow: 0 6px 25px rgba(255, 204, 0, 0.3);
}

.btn-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 204, 0, 0.4);
    background: linear-gradient(135deg, #FFDD33 0%, #FFEE55 100%);
}

/* ==================== 内容区域通用样式 ==================== */
.content-section {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.98);
    margin: 40px 0;
    border-radius: 20px;
    box-shadow: 0 5px 30px var(--shadow-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header .separator {
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

.section-header p {
    color: var(--gray-color);
    font-size: 1.1rem;
    margin-top: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== 关于大赛 ==================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 25px;
    color: var(--gray-color);
    line-height: 2;
    font-size: 1.05rem;
}

.core-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.value-item {
    background: linear-gradient(135deg, rgba(0, 68, 204, 0.05) 0%, rgba(0, 102, 255, 0.05) 100%);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.value-item p {
    color: var(--gray-color);
    font-size: 0.9rem;
    line-height: 1.6;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-hover);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

/* ==================== 组织机构 ==================== */
.organizers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.organizer-card {
    background: linear-gradient(135deg, var(--white-color) 0%, #F8F9FF 100%);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.organizer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.organizer-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.organizer-card:hover::before {
    transform: scaleX(1);
}

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

.organizer-card p {
    color: var(--gray-color);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ==================== 评委顾问 ==================== */
.judges-section {
    padding: 60px 0;
}

.judges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.judge-card {
    background: var(--white-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: var(--transition);
    border: 2px solid transparent;
}

.judge-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px var(--shadow-hover);
    border-color: var(--primary-color);
}

.judge-photo {
    height: 450px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #F5F7FF 0%, #E8EBFF 100%);
}

.judge-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.judge-card:hover .judge-photo img {
    transform: scale(1.08);
}

.judge-info {
    padding: 25px;
    background: linear-gradient(135deg, var(--white-color) 0%, #F8F9FF 100%);
}

.judge-info h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.judge-info .position {
    color: var(--accent-red);
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(204, 51, 0, 0.1);
    border-radius: 12px;
    font-size: 0.85rem;
}

.judge-info .bio {
    font-size: 0.95rem;
    color: var(--gray-color);
    line-height: 1.7;
}

/* ==================== 形象大使 ==================== */
.ambassadors-section {
    padding: 60px 0;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 40px 0 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
}

.ambassadors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.ambassador-card {
    background: var(--white-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: var(--transition);
    position: relative;
}

.ambassador-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: var(--transition);
}

.ambassador-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px var(--shadow-hover);
}

.ambassador-card:hover::after {
    transform: scaleX(1);
}

.ambassador-photo {
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #FFFBF0 0%, #FFF5D6 100%);
}

.ambassador-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.ambassador-card:hover .ambassador-photo img {
    transform: scale(1.05);
}

.ambassador-info {
    padding: 20px;
    text-align: center;
}

.ambassador-info h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-weight: 600;
}

.ambassador-info .school {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* ==================== 参赛组别 ==================== */
.categories-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.category-item {
    background: var(--white-color);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.category-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow-light);
    transform: translateY(-5px);
}

.category-item h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.category-item h3::before {
    content: '';
    width: 8px;
    height: 30px;
    background: var(--gradient-primary);
    margin-right: 12px;
    border-radius: 4px;
}

.category-item ul {
    list-style: none;
}

.category-item li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--gray-color);
}

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

/* ==================== 指定诵材 ==================== */
.materials-section {
    padding: 60px 0;
}

.material-category {
    margin-bottom: 50px;
    background: var(--white-color);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 5px 20px var(--shadow-light);
}

.material-category h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.material-category h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    margin-top: 15px;
}

.material-item {
    background: linear-gradient(135deg, #F8F9FF 0%, var(--white-color) 100%);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.material-item h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.material-item .content {
    color: var(--gray-color);
    line-height: 2;
    white-space: pre-line;
}

.material-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
}

.material-table th {
    background: var(--gradient-primary);
    color: var(--white-color);
    padding: 18px 15px;
    font-weight: 600;
    text-align: center;
}

.material-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.material-table tr:hover {
    background: rgba(0, 68, 204, 0.05);
}

/* ==================== 在线报名 ==================== */
.registration-section {
    padding: 60px 0;
}

.registration-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    background: var(--light-gray);
    padding: 8px;
    border-radius: 30px;
    display: inline-flex;
    width: 100%;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 45px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 25px;
    position: relative;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: var(--white-color);
    box-shadow: 0 4px 15px var(--shadow-light);
}

.tab-content {
    display: none;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-info {
    background: linear-gradient(135deg, rgba(0, 68, 204, 0.05) 0%, rgba(0, 102, 255, 0.05) 100%);
    padding: 35px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 2px solid rgba(0, 68, 204, 0.2);
}

.form-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.form-info ul {
    list-style: none;
}

.form-info li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--text-color);
    line-height: 1.8;
}

.form-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.form-container {
    background: var(--white-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px var(--shadow-light);
}

.registration-dates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.date-item {
    background: linear-gradient(135deg, var(--white-color) 0%, #F8F9FF 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.date-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.date-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.date-item p {
    color: var(--text-color);
    font-size: 1.05rem;
    font-weight: 500;
}

.date-item .note {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* ==================== 奖项设置 ==================== */
.awards-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 40px 0;
    background: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-light);
}

.awards-table thead {
    background: var(--gradient-primary);
}

.awards-table th {
    color: var(--white-color);
    padding: 20px 15px;
    font-weight: 600;
    text-align: center;
    font-size: 1.05rem;
}

.awards-table tbody tr {
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.awards-table tbody tr:hover {
    background: rgba(0, 68, 204, 0.08);
    transform: scale(1.02);
}

.awards-table td {
    padding: 18px 15px;
    text-align: center;
    font-size: 1rem;
}

.awards-table .award-name {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.awards-table .score-range {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--accent-red);
}

.awards-table .grade {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

.awards-table .grade.A {
    background: rgba(204, 51, 0, 0.15);
    color: var(--accent-red);
}

.awards-table .grade.B {
    background: rgba(255, 204, 0, 0.2);
    color: #CC9900;
}

.awards-table .grade.C {
    background: rgba(102, 178, 255, 0.2);
    color: var(--primary-color);
}

.awards-table .grade.D {
    background: rgba(102, 102, 102, 0.15);
    color: #666666;
}

.awards-table .quota {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.15rem;
}

/* ==================== 页面标题 ==================== */
.page-header {
    background: var(--gradient-primary);
    color: var(--white-color);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('images/others/wave_bottom.png') repeat-x;
    background-size: auto 100px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.page-header p {
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    position: relative;
    z-index: 2;
}

/* ==================== 联系我们 ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: var(--white-color);
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

.contact-card p {
    color: var(--gray-color);
    line-height: 1.8;
}

.payment-info {
    background: linear-gradient(135deg, #F8F9FF 0%, var(--white-color) 100%);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(0, 68, 204, 0.2);
    margin-bottom: 40px;
}

.payment-item {
    background: var(--white-color);
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 12px;
    border-left: 5px solid var(--secondary-color);
    transition: var(--transition);
}

.payment-item:hover {
    box-shadow: 0 5px 20px var(--shadow-light);
}

.payment-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.payment-item p {
    color: var(--text-color);
    font-family: 'Courier New', monospace;
    line-height: 2;
    font-size: 1.05rem;
}

/* ==================== 页脚样式 ==================== */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--white-color);
    padding: 80px 0 40px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 12px;
    opacity: 0.9;
    line-height: 1.8;
    color: #E0E0E0;
}

.footer-section a {
    color: #E0E0E0;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.9;
    line-height: 2;
    display: block;
}

.footer-section a:hover {
    color: var(--secondary-color);
    opacity: 1;
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    opacity: 0.8;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 992px) {
    .navbar .container {
        height: 80px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        height: calc(100vh - 80px);
        transition: var(--transition);
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        align-items: stretch;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    
    .btn-primary {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .event-info {
        flex-direction: column;
        align-items: stretch;
    }
    
    .info-item {
        width: 100%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .core-values {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .organizers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-container {
        grid-template-columns: 1fr;
    }
    
    .registration-dates {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    
    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        width: 35px;
        height: 28px;
        padding: 3px 0;
        background: transparent;
        border: none;
        z-index: 1001;
    }
    
    .nav-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--primary-color);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin-left: 0;
        margin-bottom: 15px;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 20px;
    }
    
    .nav-menu .btn-primary {
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }
}
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 15px 35px;
        font-size: 1rem;
    }
    
    .content-section {
        padding: 50px 0;
        margin: 25px 0;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .judges-grid {
        grid-template-columns: 1fr;
    }
    
    .ambassadors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .organizers-grid {
        grid-template-columns: 1fr;
    }
    
    .core-values {
        grid-template-columns: 1fr;
    }
    
    .registration-tabs {
        flex-direction: column;
        background: none;
        padding: 0;
    }
    
    .tab-btn {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
        background: var(--light-gray);
    }
    
    .tab-btn.active {
        background: var(--gradient-primary);
    }
    
    .page-header {
        padding: 50px 0;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .ambassadors-grid {
        grid-template-columns: 1fr;
    }
    
    .ambassador-photo {
        height: 350px;
    }
    
    .judge-photo {
        height: 400px;
    }
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== 实用类 ==================== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 60px 0;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.15) 0%, rgba(255, 238, 85, 0.1) 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    margin: 30px 0;
}

.highlight-box h4 {
    color: #CC9900;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.highlight-box p {
    color: var(--text-color);
    line-height: 1.8;
}

/* ============ V4版本新增样式 ============ */

/* 1. 评委/形象大使图片定位修复 */
.judges-grid .judge-item img,
.ambassadors-grid .ambassador-item img {
    object-position: top center !important;
    object-fit: cover !important;
}

/* 2. 首页Banner优化 - 移除文字，仅保留背景图 */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 36, 99, 0.3), rgba(10, 36, 99, 0.5));
}

.hero-content {
    display: none; /* 隐藏原有的hero内容 */
}

/* 3. 首页信息模块（在banner下方） */
.info-section {
    background: linear-gradient(135deg, #0A2463 0%, #1a4ba8 100%);
    padding: 60px 0;
    color: white;
    position: relative;
    margin-top: 0;
}

.info-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.info-item {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.info-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #FFD700;
    font-weight: 600;
}

.info-item p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.info-item strong {
    font-size: 20px;
    color: white;
    display: block;
    margin-bottom: 5px;
}

/* 4. 组织机构logo样式 */
.org-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.org-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 200px;
}

.org-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.org-logo-item span {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

/* 5. 导航栏"在线报名"按钮强调 */
.nav-menu .btn-register {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #0A2463 !important;
    font-weight: 700 !important;
    padding: 12px 30px !important;
    border-radius: 25px !important;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4) !important;
    transition: all 0.3s ease !important;
    animation: pulse 2s infinite !important;
}

.nav-menu .btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6) !important;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 6px 25px rgba(255, 215, 0, 0.7); }
}

/* 6. 左上角logo替换为图片 */
.nav-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand-logo img {
    width: 180px;
    height: 60px;
    object-fit: contain;
}

.nav-brand-text {
    display: none;
}

/* 7. 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.7);
}

.back-to-top svg {
    width: 30px;
    height: 30px;
    fill: #0A2463;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: rotate(-45deg) translateY(-3px);
}

/* 8. 在线报名页面的麦客CRM表单区域 */
.maike-crm-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.maike-crm-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.maike-crm-iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    display: block;
}

.maike-crm-header {
    padding: 30px;
    text-align: center;
    background: linear-gradient(135deg, #0A2463 0%, #1a4ba8 100%);
    color: white;
}

.maike-crm-header h2 {
    margin: 0;
    font-size: 28px;
}

.maike-crm-header p {
    margin: 10px 0 0;
    opacity: 0.9;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .info-section {
        padding: 40px 0;
    }
    
    .info-section .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-item {
        padding: 20px 15px;
    }
    
    .info-item h3 {
        font-size: 16px;
    }
    
    .info-item p {
        font-size: 14px;
    }
    
    .info-item strong {
        font-size: 18px;
    }
    
    .org-logos {
        gap: 20px;
    }
    
    .org-logo-img {
        width: 60px;
        height: 60px;
    }
    
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top svg {
        width: 24px;
        height: 24px;
    }
    
    .maike-crm-iframe {
        min-height: 400px;
    }
    
    .nav-brand-logo img {
        width: 140px;
        height: 45px;
    }
}


/* ============ V4版本更新样式 ============ */

/* 首页信息模块四小块样式 */
.info-section {
    background: linear-gradient(135deg, #0A2463 0%, #1a4ba8 100%);
    padding: 50px 0;
    color: white;
    position: relative;
    margin-top: 0;
}

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

.info-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.info-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.info-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 10px;
}

.info-content h4 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #FFD700;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-content p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: white;
    font-weight: 500;
}

/* 优化"在线报名"按钮呼吸效果 */
.nav-menu .btn-register {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
    color: #0A2463 !important;
    font-weight: 700 !important;
    padding: 12px 30px !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    animation: breathe 3s ease-in-out infinite !important;
    position: relative;
    overflow: hidden;
}

.nav-menu .btn-register:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6) !important;
    animation-play-state: paused;
}

@keyframes breathe {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
        transform: scale(1.05);
    }
}

/* 导航栏active状态样式优化 */
.nav-menu a.active {
    color: #FFD700 !important;
    font-weight: 700 !important;
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    border-radius: 2px;
}

/* 移动端响应式调整 */
@media (max-width: 768px) {
    .info-section {
        padding: 40px 0;
    }
    
    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 0 12px;
    }
    
    .info-card {
        padding: 18px 12px;
    }
    
    .info-icon {
        font-size: 32px;
    }
    
    .info-content h4 {
        font-size: 13px;
    }
    
    .info-content p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 0 10px;
    }
}


/* ============ 指定诵材选项卡样式 ============ */
.materials-tabs-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.tabs-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tabs-header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #0A2463;
    color: #0A2463;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 0 0 auto;
}

.tab-btn:hover {
    background: #0A2463;
    color: white;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: #0A2463;
    color: white;
}

.tabs-content {
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    color: #0A2463;
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #FFD700;
}

.article-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid #0A2463;
}

.article-card:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.article-card h4 {
    color: #0A2463;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.article-card .author {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    font-style: italic;
}

.article-content {
    color: #333;
    line-height: 1.8;
    font-size: 16px;
}

/* ============ GIF焦点图样式 ============ */
.hero-focus-section {
    padding: 0;
    margin: 0;
    background: #f5f5f5;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.hero-focus-pc,
.hero-focus-mobile {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: #000;
    position: relative;
}

.hero-focus-pc img,
.hero-focus-mobile img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
    object-fit: cover;
    position: relative;
}

.hero-focus-mobile {
    display: none;
}

/* 移动端隐藏PC端焦点图,显示移动端焦点图 */
@media (max-width: 768px) {
    .hero-focus-pc {
        display: none;
    }
    
    .hero-focus-mobile {
        display: block;
    }
}

/* ============ 赞助支持样式 ============ */
.sponsors-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.sponsor-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #0A2463;
}

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

.sponsor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.sponsor-name {
    color: #0A2463;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.sponsor-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0A2463;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.sponsor-details {
    margin-bottom: 15px;
}

.sponsor-type {
    color: #666;
    font-size: 14px;
    margin: 0 0 15px 0;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 8px;
}

.sponsor-awards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.award-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.award-item:hover {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.award-type {
    color: #0A2463;
    font-weight: 600;
    font-size: 14px;
}

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

.award-amount {
    color: #FFD700;
    font-weight: 700;
    font-size: 16px;
    background: #0A2463;
    padding: 5px 12px;
    border-radius: 5px;
}

/* 移动端响应式调整 */
@media (max-width: 768px) {
    .materials-tabs-section {
        padding: 40px 0;
    }

    .tabs-container {
        padding: 20px;
        border-radius: 15px;
    }

    .tabs-header {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 10px;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .tabs-header::-webkit-scrollbar {
        height: 4px;
    }

    .tabs-header::-webkit-scrollbar-thumb {
        background-color: #0A2463;
        border-radius: 2px;
    }

    .tabs-header::-webkit-scrollbar-track {
        background-color: #e0e0e0;
    }

    .tab-btn {
        flex: 0 0 auto;
        padding: 10px 20px;
        min-width: auto;
        text-align: center;
        font-size: 13px;
    }

    .sponsors-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .award-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
