/* ========== 全局重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

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

ul {
    list-style: none;
}

/* ========== 容器 ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 顶部导航栏 ========== */
.header {
    background: linear-gradient(135deg, #1a5fb4 0%, #0d47a1 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
}

.nav-title {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    width: 16px;
    height: 16px;
    margin-right: 4px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
}

.nav-item:nth-child(1) .nav-link::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E");
}

.nav-item:nth-child(2) .nav-link::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
}

.nav-item:nth-child(3) .nav-link::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E");
}

.nav-item:nth-child(4) .nav-link::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M12 2v20M2 12h20'/%3E%3C/svg%3E");
}

.nav-item:nth-child(5) .nav-link::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.15);
}

/* ========== Hero Banner ========== */
.hero {
    position: relative;
    background: linear-gradient(180deg, #1a5fb4 0%, #0d47a1 50%, #1565c0 100%);
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 海浪背景效果 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(0,30,80,0.3) 0%, transparent 60%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: 
        linear-gradient(180deg, transparent 0%, rgba(0,40,100,0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 60px 20px;
}

.hero-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.hero-logo img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: contain;
}

.hero-title {
    color: #fff;
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    letter-spacing: 6px;
    font-family: Arial, sans-serif;
    margin-bottom: 30px;
}

.hero-slogan {
    color: rgba(255, 255, 255, 0.95);
    font-size: 20px;
    letter-spacing: 8px;
    font-weight: 500;
}

/* ========== 通用区块标题 ========== */
.section {
    padding: 60px 0;
    background-color: #fff;
    scroll-margin-top: 60px;
}

.hero {
    scroll-margin-top: 0;
}

.footer {
    scroll-margin-top: 60px;
}

.section-gray {
    background-color: #f5f7fa;
}

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

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #1a5fb4;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.section-title-line {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #f0a030, #e06020);
    border-radius: 2px;
    margin: 0 auto;
}

/* ========== 传播载体卡片 ========== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 24px 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(26, 95, 180, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 95, 180, 0.06);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(26, 95, 180, 0.15);
}

.card-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-tag {
    display: inline-block;
    background: linear-gradient(90deg, #f0a030, #e06020);
    color: #fff;
    font-size: 13px;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.card-tag.tag-hover {
    position: relative;
    cursor: pointer;
}

.qr-tooltip {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background-color: #fff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    border: 1px solid #e8e8e8;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 50;
    pointer-events: none;
    width: 184px;
}

.qr-tooltip img {
    display: block;
    border-radius: 6px;
    background-color: #fff;
}

.qr-arrow {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-left: 1px solid #e8e8e8;
    border-top: 1px solid #e8e8e8;
}

.card-tag.tag-hover.active .qr-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #1a5fb4;
    margin-bottom: 16px;
}

.card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    text-align: justify;
    text-align-last: center;
}

/* ========== 媒体矩阵 ========== */
.media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.media-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 36px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.media-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ========== 媒体矩阵 3D 翻转卡片 ========== */
.flip-card {
    perspective: 1000px;
    height: 200px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 10px;
}

.flip-card-front {
    background-color: #fff;
    text-align: center;
    padding: 36px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.flip-card-back {
    background-color: #fff;
    text-align: center;
    padding: 24px 16px;
    box-shadow: 0 8px 24px rgba(26, 95, 180, 0.15);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flip-card-back img {
    width: 140px;
    height: 140px;
    border-radius: 6px;
    margin-bottom: 14px;
    border: 1px solid #e8e8e8;
    padding: 4px;
    background-color: #fff;
}

.flip-card-back p {
    font-size: 13px;
    color: #1a5fb4;
    font-weight: 500;
}

.flip-hint {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    color: #f0a030;
    opacity: 0.8;
}

.media-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.media-icon.wechat {
    background: linear-gradient(135deg, #07c160, #06ad56);
}

.media-icon.weibo {
    background: linear-gradient(135deg, #e6162d, #c01028);
}

.media-icon.douyin {
    background: linear-gradient(135deg, #000, #333);
}

.media-icon.tiktok {
    background: linear-gradient(135deg, #1a5fb4, #0d47a1);
}

.media-item h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 6px;
}

.media-item p {
    font-size: 13px;
    color: #888;
}

/* ========== 页脚（蓝色风格，与顶部一致） ========== */
.footer {
    background: linear-gradient(135deg, #0d47a1 0%, #1a5fb4 100%);
    padding: 40px 0;
    color: #fff;
}

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

/* 左侧 Logo */
.footer-logo {
    flex: 0 0 auto;
}

.footer-logo svg,
.footer-logo img {
    display: block;
    width: 140px;
    height: auto;
}

/* 中间 文字信息 */
.footer-info {
    flex: 1;
    text-align: center;
    min-width: 260px;
}

.footer-copy {
    font-size: 16px;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 2px;
}

.footer-copy-en {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    font-family: Arial, sans-serif;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.footer-icp {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
}

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

.footer-badges img {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* 右侧 二维码 */
.footer-qr {
    flex: 0 0 auto;
    text-align: center;
}

.qr-box {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 8px;
    border-radius: 4px;
    overflow: visible;
}

.qr-box img {
    display: block;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.85);
}

.qr-box-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.qr-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

/* ========== 右侧悬浮举报框 ========== */
.float-report {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 220px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.float-report-header {
    background: linear-gradient(135deg, #1a5fb4, #0d47a1);
    color: #fff;
    padding: 12px 16px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.float-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.float-close:hover {
    opacity: 1;
}

.float-report-body {
    padding: 16px;
}

.float-report-body p {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.float-report-body p:last-child {
    margin-bottom: 0;
}

/* ========== 蜀道昭化 弹窗 ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: relative;
    background-color: #fff;
    border-radius: 12px;
    padding: 40px 36px 32px;
    width: 360px;
    max-width: 92vw;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background-color: #f0f2f5;
    color: #666;
    font-size: 22px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: #1a5fb4;
    color: #fff;
}

.modal-title {
    font-size: 20px;
    font-weight: bold;
    color: #1a5fb4;
    margin-bottom: 6px;
    letter-spacing: 2px;
}

.modal-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 24px;
}

.qrcode-wrap {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    width: 220px;
    margin: 0 auto 24px;
    box-shadow: 0 2px 10px rgba(26, 95, 180, 0.08);
}

.modal-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.btn-download {
    flex: 1;
    max-width: 140px;
    display: inline-block;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-android {
    background: linear-gradient(135deg, #07c160, #06ad56);
}

.btn-ios {
    background: linear-gradient(135deg, #1a5fb4, #0d47a1);
}

.modal-tip {
    font-size: 12px;
    color: #aaa;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .cards-grid,
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 32px;
    }

    .float-report {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        height: auto;
        padding: 12px 20px;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        margin-top: 10px;
    }

    .hero-title {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .hero-slogan {
        font-size: 16px;
        letter-spacing: 4px;
    }

    .cards-grid,
    .media-grid {
        grid-template-columns: 1fr;
    }

    .footer-row {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .footer-logo {
        order: 1;
    }

    .footer-info {
        order: 2;
    }

    .footer-qr {
        order: 3;
    }

    .section {
        padding: 40px 0;
    }
}
