/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 容器通用样式 */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* 页头导航 */
.header {
    background-color: #1a1a1a;
    padding: 15px 0;
}

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

.nav-list {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: #fff;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #f5a623;
}

/* 横幅样式 */
.hero {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

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

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.download-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #f5a623;
    color: #fff;
    font-size: 18px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #e09615;
}

/* 区块标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.main-title {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.sub-title {
    font-size: 16px;
    color: #666;
}

/* 内容网格布局 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.content-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.card-title {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 下载区块 */
.download-section {
    background-color: #f5f5f5;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.download-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.download-text {
    font-size: 18px;
    color: #1a1a1a;
    font-weight: 500;
}

.register-btn {
    background-color: #f5a623;
    color: #fff;
}

.register-text {
    font-size: 18px;
    color: #fff;
    font-weight: 500;
}

/* 世界杯介绍文本 */
.worldcup-desc {
    background-color: #fff;
}

.desc-text {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    text-align: justify;
}

/* 页尾样式 */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 40px 20px;
}

.footer-top {
    text-align: center;
    margin-bottom: 30px;
}

.friend-link {
    color: #f5a623;
    font-size: 16px;
    transition: color 0.3s;
}

.friend-link:hover {
    color: #e09615;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.column-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #f5a623;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-list a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: #fff;
}

.qrcode-img {
    width: 120px;
    height: 120px;
}

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

/* 响应式适配 */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-content h1 {
        font-size: 32px;
    }

    .hero {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-list {
        flex-direction: column;
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .download-btn {
        padding: 10px 25px;
        font-size: 16px;
    }
}