/* 全局基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: '思源黑体', 'SimHei', sans-serif;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 色彩体系 */
:root {
    --primary-color: #CC0000;
    --secondary-color: #FFD700;
    --white: #FFFFFF;
    --black: #000000;
    --light-gray: #F5F5F5;
}

/* 字体规范 */
.section-title {
    font-family: '站酷文艺体', 'Microsoft YaHei', sans-serif;
    font-size: 32px;
    color: var(--black);
    margin-bottom: 40px;
    text-align: center;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮基础样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #E63232;
    transform: scale(1.02);
}

.btn:active {
    transform: scale(0.99);
}

/* 顶部导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 40px;
    transition: all 0.3s ease-in-out;
}

.navbar.scrolled {
    height: 60px;
    background-color: rgba(204, 0, 0, 1);
}

.navbar.scrolled .navbar-container {
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

.logo span {
    font-size: 20px;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-item {
    position: relative;
    color: var(--white);
    text-decoration: none;
    margin-left: 30px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: var(--secondary-color);
}

.nav-item:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 移动端导航菜单 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(204, 0, 0, 0.95);
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-header span {
    font-size: 18px;
    font-weight: bold;
    color: var(--white);
}

.close-menu {
    font-size: 24px;
    cursor: pointer;
    color: var(--white);
}

.mobile-menu-content {
    padding: 40px 20px;
}

.mobile-nav-item {
    display: block;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    margin-bottom: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.mobile-nav-item:hover {
    color: var(--secondary-color);
    transform: translateX(10px);
}

/* 首屏 Banner */
.banner {
    position: relative;
    height: 74vh;
    width: 100%;
    background: linear-gradient(135deg, #CC0000 0%, #E63232 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: var(--white);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.main-visual {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 100%;
}

.slogan {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.warm-text {
    font-size: 24px;
    margin-bottom: 40px;
}

.banner-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

.enter-fans-btn {
    position: absolute;
    right: 60px;
    bottom: 120px;
    width: 140px;
    height: 48px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enter-fans-btn:hover {
    background-color: var(--white);
    transform: scale(1.05);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--white);
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* IP 价值主张模块 */
.ip-value {
    padding: 80px 0;
    background-color: var(--white);
}

.value-cards {
    display: flex;
    gap: 5%;
    margin-top: 40px;
}

.value-card {
    flex: 1;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.value-card:hover {
    transform: translateY(-5px);
    background-color: #E63232;
    box-shadow: 0 10px 20px rgba(204, 0, 0, 0.3);
}

.card-title {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: bold;
}

.card-text {
    font-size: 16px;
    line-height: 24px;
}

/* 内容矩阵入口 */
.content-matrix {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.matrix-slider {
    position: relative;
    margin-top: 40px;
    overflow: hidden;
}

.matrix-cards {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.matrix-card {
    flex: 0 0 240px;
    height: 200px;
    background-color: var(--white);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.matrix-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--secondary-color);
}

.platform-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.platform-data {
    font-size: 14px;
    color: var(--black);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* 联名案例展示 */
.cooperation-cases {
    padding: 80px 0;
    background-color: var(--white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 180px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-brand {
    font-size: 18px;
    font-weight: bold;
    margin: 12px 20px 8px;
}

.case-desc {
    font-size: 14px;
    color: #666;
    margin: 0 20px 20px;
}

.see-detail-btn {
    display: block;
    width: 100px;
    height: 36px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.see-detail-btn:hover {
    background-color: #E63232;
    transform: scale(1.05);
}

.business-coop-btn {
    display: block;
    width: 160px;
    height: 50px;
    margin: 40px auto 0;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.business-coop-btn:hover {
    background-color: #E63232;
    transform: scale(1.05);
}

/* 公益行动专区 */
.charity-actions {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.charity-content {
    display: flex;
    gap: 5%;
    align-items: center;
}

.charity-image {
    flex: 0 0 40%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.charity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.charity-text {
    flex: 0 0 55%;
}

.charity-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.charity-desc {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 24px;
}

.charity-stats {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 30px;
}

.join-charity-btn {
    width: 140px;
    height: 48px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.join-charity-btn:hover {
    background-color: #E63232;
    color: var(--secondary-color);
    transform: scale(1.05);
}

/* 商务合作 */
.business-cooperation {
    padding: 80px 0;
    background-color: var(--white);
}

.business-content {
    text-align: center;
}

.business-desc {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cooperation-benefits {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    justify-content: center;
}

.benefit-item {
    flex: 0 0 200px;
    text-align: center;
}

.benefit-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.benefit-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
}

.benefit-text {
    font-size: 14px;
    line-height: 20px;
    color: #666;
}

.download-proposal-btn {
    display: inline-block;
    width: 200px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
}

.download-proposal-btn:hover {
    background-color: #E63232;
    transform: scale(1.05);
}

/* 粉丝社群 */
.fan-community {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.community-content {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.community-desc {
    flex: 0 0 400px;
    font-size: 18px;
    line-height: 28px;
}

.community-qrcode {
    flex: 0 0 200px;
    text-align: center;
}

.community-qrcode img {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
}

.qrcode-text {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
}

/* 底部信息栏 */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo img {
    width: 50px;
    height: 50px;
}

.footer-info {
    text-align: right;
}

.copyright {
    margin-bottom: 16px;
    font-size: 14px;
}

.contact-info {
    margin-bottom: 16px;
}

.contact-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
}

.social-link {
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--secondary-color);
    transform: scale(1.2);
}

.legal-links {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 16px;
}

.legal-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.legal-link:hover {
    color: var(--secondary-color);
}

/* 粉丝社群悬浮按钮 */
.fans-floating-btn {
    position: fixed;
    right: 40px;
    bottom: 80px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
    z-index: 999;
    animation: heartBeat 1s infinite ease-in-out;
    transition: all 0.3s ease;
}

.fans-floating-btn:hover {
    transform: scale(1.1);
    background-color: #E63232;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 弹窗通用样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: relative;
    background-color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    width: 400px;
    max-width: 90%;
    z-index: 10000;
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: var(--primary-color);
    color: var(--white);
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
}

.close-modal {
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--secondary-color);
    transform: scale(1.2);
}

.modal-body {
    padding: 40px;
    text-align: center;
}

.modal-body img {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
}

.modal-text {
    font-size: 16px;
    color: var(--black);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    /* 平板端适配 */
    .navbar-container {
        padding: 0 20px;
    }

    .nav-item {
        margin-left: 20px;
        font-size: 14px;
    }

    .main-visual {
        width: 100%;
        height: auto;
        object-fit: cover;
        max-height: 100%;
    }

    .value-cards {
        flex-direction: column;
        gap: 20px;
    }

    .value-card {
        width: 100%;
    }

    .charity-content {
        flex-direction: column;
    }

    .charity-image {
        width: 100%;
        height: 300px;
    }

    .charity-text {
        width: 100%;
        text-align: center;
    }

    .charity-text .section-title {
        text-align: center;
    }

    .cooperation-benefits {
        flex-direction: column;
        align-items: center;
    }

    .community-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        text-align: center;
        margin-top: 20px;
    }

    .social-links,
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* 移动端适配 */
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .banner {
        height: 60vh;
        width: 100%;
    }

    .main-visual {
        width: 100%;
        height: auto;
        object-fit: cover;
        max-height: 100%;
    }

    .enter-fans-btn {
        right: 20px;
        bottom: 80px;
    }

    .matrix-card {
        flex: 0 0 200px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .charity-image {
        height: 250px;
    }

    .fans-floating-btn {
        width: 70px;
        height: 70px;
        right: 20px;
        bottom: 60px;
    }

    .fans-floating-btn i {
        font-size: 24px;
    }

    .cooperation-cases,
    .ip-value,
    .content-matrix,
    .charity-actions,
    .business-cooperation,
    .fan-community {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

/* 模块入场动效 */
.module {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.module.active {
    opacity: 1;
    transform: translateY(0);
}
