/* 全局样式 - 移动端视口优化 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* 防止移动端缩放和滚动条问题 */
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* 渐变线样式 */
.gradient-line {
    height: 4px;
    width: 100%;
    background: linear-gradient(to right, rgba(201, 160, 99, 0), rgba(201, 160, 99, 1) 50%, rgba(201, 160, 99, 0));
    position: absolute;
    top: 0;
    left: 0;
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: rgba(201, 160, 99, 0.9);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    background-image: url('assets/1x/arrow_up_icon_45.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    background-color: rgba(201, 160, 99, 1);
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: inline;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    
    /* 移动端优化 */
    width: 100%;
    max-width: 100vw;
    position: relative;
    
    /* 防止移动端滚动回弹 */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: none;
}

/* 动画效果 */
.animate-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* 标题文字动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1 .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    animation-delay: calc(var(--char-index) * 0.1s);
}

/* 英文标题字符动画效果 */
.hero-section h2.animate-title-english .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    animation-delay: calc(var(--word-index) * 0.3s);
}

/* 英文标题行样式 */
.english-line {
    display: block;
    width: 100%;
}

.english-line.second-line {
    margin-top: 0.3em;
}

/* 桌面端标题部分样式 */
.title-part {
    display: inline-block;
}

.title-part.first-part {
    margin-right: 1em; /* 使用边距替代空格，减少50% */
}

/* 移动端标题行样式 */
.title-line {
    display: block;
    width: 100%;
}

.title-line.second-line {
    margin-top: 0.2em; /* 行间距 */
}

/* 移动端确保换行正常显示 */
@media (max-width: 768px) {
    .title-part {
        display: block;
        width: 100%;
    }
    
    .title-part.first-part {
        margin-right: 0;
        margin-bottom: 0.3em;
    }
    
    .title-line.second-line {
        margin-top: 0.1em;
    }
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 20px;
}

/* 通用section样式 */
.section {
    position: relative;
    padding-top: 80px;
}

/* 通用板块标题样式 */
.section-title {
    font-size: 40px;
    margin-bottom: 50px;
    text-align: center;
    color: #C9A063;
}

/* 移动端标题样式 */
@media screen and (max-width: 768px) {
    .section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
    
    .hero-section h1 {
        font-size: 72px;
        text-align: center;
    }
    
    .hero-section h1 .mobile-break {
        display: block;
    }
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section {
    display: block;
    width: 100%;
    overflow: visible;
    margin: 0;
    padding: 0;
}

/* 导航栏样式 */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: 0;
    height: 80px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

#header.scrolled {
    background-color: rgba(27, 45, 116, 0.95);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 50px;
}

.nav-right {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav {
    height: 100%;
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    height: 100%;
    align-items: center;
}

.main-nav li {
    margin-left: 30px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.main-nav a {
    color: white;
    font-size: 16px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #C9A063;
}

.main-nav a.active:after,
.main-nav a:hover:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #C9A063;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.main-nav a.active:after,
.main-nav a:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.95);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-radius: 0;
}

.dropdown-item:hover {
    background-color: rgba(201, 160, 99, 0.2);
    color: #C9A063;
}

.dropdown-item span {
    font-size: 14px;
    white-space: nowrap;
}

.language-selector {
    margin-left: 30px;
    color: white;
    height: 100%;
    display: flex;
    align-items: center;
}

.lang-option {
    color: white;
    padding: 0 5px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.lang-option.active {
    color: #C9A063;
}

.lang-divider {
    color: white;
    display: inline-block;
    line-height: 1;
    font-size: 14px;
    vertical-align: middle;
    height: 14px;
}

/* 英雄区域样式 */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.hero-section h1 {
    font-size: 60pt;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* 英文标题样式 */
.hero-section h2.animate-title-english {
    font-size: 27pt;
    margin-bottom: 10px;
    margin-top: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    color: white;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: right;
    line-height: 1.2;
}

.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-down img {
    width: 40px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* 关于我们区域 */
#about {
    background-image: url('assets/1x/about_bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #000;
    color: white;
    display: block;
    width: 100%;
    min-height: auto;
    padding: calc(80 / 1920 * 100vw) 0 calc(50 / 1920 * 100vw);
    margin: 0;
    position: relative;
    z-index: 1;
}

.about-wrapper {
    padding: 0;
    text-align: center;
}

#about h2 {
    font-size: 40px;
    color: #C9A063;
    margin-bottom: 60px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 2;
    font-size: 16px;
}

.about-icons {
    display: flex;
    justify-content: space-around;
    margin-top: 200px; /* 从400px减少到200px，向上移动200px */
    min-height: 180px;
    position: relative;
}

.icon-container {
    text-align: center;
}

.icon-item img {
    width: 150px;
    height: 150px;
    margin-top: -40px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.icon-item:hover img {
    transform: scale(1.1);
}

.icon-desc {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 500; /* 中粗字体 */
    line-height: 1.4;
}

.about-icons-desc {
    margin-top: 20px;
    line-height: 1.6;
    padding-bottom: 20px;
}

.mission-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform-origin: center;
    transition: transform 0.3s ease;
    max-width: 100%;
    margin-bottom: calc(50 / 1920 * 100vw);
}

.mission-line {
    margin: 5px 0;
    /* 移除宽度限制，使图片以原始大小显示 */
}

.mission-text {
    color: white;
    font-size: 20px;
    margin-top: 15px;
}

/* 响应式缩放 */
@media (max-width: 992px) {
    #about {
        padding: calc(60 / 1200 * 100vw) 0 calc(40 / 1200 * 100vw);
    }
    
    .mission-container {
        transform: scale(0.9);
        margin-bottom: calc(40 / 1200 * 100vw);
    }
    
    #about h2 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    #about {
        padding: calc(50 / 768 * 100vw) 0 calc(35 / 768 * 100vw);
    }
    
    .mission-container {
        transform: scale(0.8);
        margin-bottom: calc(35 / 768 * 100vw);
    }
    
    #about h2,
    #business h2,
    #celebrity h2,
    #join h2,
    #contact h2,
    #matrix h2 {
        font-size: 32px !important;
        margin-bottom: 40px;
    }
    
    #business {
        padding: 20px 0;
    }
    
    #celebrity {
        padding: 20px 0;
    }
    
    #matrix {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    
    .matrix-wrapper {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

@media (max-width: 576px) {
    #about {
        padding: calc(40 / 576 * 100vw) 0 calc(30 / 576 * 100vw);
    }
    
    .mission-container {
        margin-bottom: calc(30 / 576 * 100vw);
    }
}

/* 名人矩阵区域 - 统一padding */
#matrix {
    position: relative;
    padding: calc(80 / 1920 * 100vw) 0; /* 与其他板块保持一致 */
    background-image: url('assets/1x/matrix_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 桌面端使用fixed */
    overflow: visible; /* 改为visible防止内容被裁剪 */
    min-height: auto;
}

.matrix-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 40px;
    color: #C9A063;
}

/* 矩阵缩放容器 - 关键修复 */
.matrix-container-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: visible;
    margin: 0 auto;
    position: relative;
    
    /* 关键：创建新的层叠上下文，隔离transform影响 */
    isolation: isolate;
}

/* 矩阵内容容器 */
.matrix-content {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 1200px !important;
    position: relative !important;
    margin: 0 auto !important;
    transform-origin: center top !important;
    
    /* 确保transform不会影响外部布局 */
    will-change: transform;
}

/* 矩阵列 */
.matrix-column {
    display: flex !important;
    flex-direction: column !important;
    gap: 44px !important;
    align-self: center !important;
}

/* 矩阵容器 */
.matrix-container {
    width: 354px !important;
    height: 430px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background-color: transparent !important;
}

/* 矩阵图标 */
.matrix-container img {
    max-width: 100% !important;
    max-height: 70% !important;
    object-fit: contain !important;
}

/* 矩阵标题 */
.matrix-container h3 {
    color: #C9A063 !important;
    font-size: 24px !important;
    font-weight: bold !important;
    text-align: center !important;
    margin-top: 20px !important;
}

/* Logo容器特殊高度 */
.matrix-container.logo-container {
    height: 219px !important;
    position: relative;
    z-index: 10;
}

/* Logo图片特殊样式 - 撑满容器高度 */
.matrix-container.logo-container img {
    max-width: 100% !important;
    max-height: 100% !important;
    height: 100% !important;
    width: auto !important;
    object-fit: contain !important;
}

/* 背景光线容器 */
.matrix-light-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.matrix-light-bg {
    position: absolute;
    z-index: 1;
    max-width: 300%;
    height: auto;
}

@media (max-width: 768px) {
    #matrix {
        padding: 20px 0;
        min-height: auto;
        background-attachment: scroll;
        
        /* 移动端优化：防止滚动条导致的布局问题 */
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    .matrix-title {
        margin-bottom: 30px;
        font-size: 32px;
    }
    
    .matrix-container-wrapper {
        padding: 0 20px;
        
        /* 移动端视口优化 */
        max-width: 100vw;
        box-sizing: border-box;
        position: relative;
        
        /* 防止内容溢出 */
        contain: layout style;
    }
    
    /* 移动端matrix-content优化 */
    .matrix-content {
        /* 防止transform导致的渲染问题 */
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        transform-style: preserve-3d;
        -webkit-transform-style: preserve-3d;
    }
}

/* 业务板块区域 */

#business {
    background-image: url('assets/1x/business_bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #000;
    background-attachment: fixed;
    color: white;
    padding: calc(80 / 1920 * 100vw) 0;
    display: block;
    width: 100%;
    overflow: hidden;
    margin: 0;
    min-height: 600px;
}

#business h2 {
    font-size: 40px;
    color: #C9A063;
    text-align: center;
    margin-bottom: 60px;
}

.business-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

/* 业务卡片样式 */
.business-card {
    width: calc(50% - 40px);
    max-width: 553px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 calc(4 / 1920 * 100vw) calc(4 / 1920 * 100vw) rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 20px; /* 从40px减半为20px */
}

.business-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 calc(6 / 1920 * 100vw) calc(6 / 1920 * 100vw) rgba(0, 0, 0, 0.4);
}

.card-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 比例 */
    overflow: hidden;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-image h3 {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    color: white;
    font-size: calc(32 / 1920 * 100vw);
    font-weight: bold;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .business-card {
        width: calc(100% - 40px);
    }
}

@media (max-width: 768px) {
    .card-image h3 {
        font-size: 24px;
    }
    
    #business h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    #join h2 {
        font-size: 32px;
        margin-bottom: 40px !important;
    }
    
    .business-content {
        gap: 8px; /* 原来的40px缩小80%，变为8px */
    }
    
    .business-card {
        margin-bottom: 8px; /* 原来的40px缩小80%，变为8px */
    }
}

/* 名人矩阵区域 */
#celebrity {
    padding: calc(80 / 1920 * 100vw) 0;
    background-color: #000;
    position: relative;
    display: block;
    width: 100%;
    height: calc(1280 / 1920 * 100vw); /* 保持1920*1280的比例 */
    overflow: hidden;
    margin: 0;
    color: white;
}

#celebrity::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 备份原渐变背景: background: radial-gradient(circle, #1B2D74 0%, #060F27 100%); */
    background: url("assets/1x/contact_bg.jpg") no-repeat center center;
    background-size: cover;
    z-index: 0;
}

#celebrity h2 {
    font-size: calc(40 / 1920 * 100vw);
    color: #C9A063;
    text-align: center;
    margin-bottom: calc(60 / 1920 * 100vw);
    position: relative;
    z-index: 1;
}

.celebrity-content {
    position: relative;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}


    align-items: center;
    justify-content: center;
    width: 354px;
    height: 430px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    transform-origin: center center;
}

.item-title {
    font-size: 36pt;
    font-weight: bold;
    color: #C9A063 !important;
}



@media (max-width: 500px) {
    .matrix-wrapper {
        margin-bottom: 100px;
        transform: scale(0.6);
    }
    
    .matrix-container {
        transform: scale(0.6);
    }
    
    .matrix-item {
        width: 280px;
        height: 340px;
    }
}

@media (max-width: 450px) {
    .matrix-wrapper {
        margin-bottom: 150px;
        transform: scale(0.5);
    }
    
    .matrix-container {
        transform: scale(0.5);
    }
    
    .matrix-item {
        width: 260px;
        height: 320px;
    }
}

.matrix-item.logo {
    height: 219px;
    background: transparent;
}

/* 图标容器样式 */
.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
}

/* Logo图标特殊样式 */
.matrix-item.logo .icon-container {
    width: 80%;
    height: 80%;
}

.icon-container img {
    max-width: 100%;
    max-height: 100%;
}

/* Logo图标特殊样式 */
.matrix-item.logo .icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 标题样式 */
.item-title {
    margin-top: 20px;
    font-size: 24px;
    font-family: SourceHanSansCN;
    font-weight: 400;
    color: #333333;
    line-height: 36px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .matrix-container {
        gap: calc(44px * 0.8);
    }
    
    .matrix-column {
        gap: calc(44px * 0.8);
    }
    
    .matrix-item {
        width: calc(354px * 0.8);
        height: calc(430px * 0.8);
    }
    
    .matrix-item.logo {
        height: calc(219px * 0.8);
    }
    
    .icon-container {
        width: calc(200px * 0.8);
        height: calc(200px * 0.8);
    }
}

@media (max-width: 992px) {
    .matrix-container {
        gap: calc(44px * 0.6);
    }
    
    .matrix-column {
        gap: calc(44px * 0.6);
    }
    
    .matrix-item {
        width: calc(354px * 0.6);
        height: calc(430px * 0.6);
    }
    
    .matrix-item.logo {
        height: calc(219px * 0.6);
    }
    
    .icon-container {
        width: calc(200px * 0.6);
        height: calc(200px * 0.6);
    }
}

@media (max-width: 768px) {
    .matrix-container {
        flex-direction: column;
        align-items: center;
    }
    
    .matrix-column {
        width: 100%;
        align-items: center;
    }
}

/* 移除连接线效果 */

.celebrity-description {
    text-align: center;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.celebrity-description p {
    color: #333;
    font-size: 18px;
    line-height: 1.6;
}
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.celebrity-category {
    width: calc(50% - 20px);
}

.category-title {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.category-title img {
    width: 80px;
    height: 80px;
    margin-right: 20px;
}

.category-title h3 {
    color: #C9A063;
    font-size: 24px;
    margin-bottom: 0;
}

.category-items {
    display: flex;
    justify-content: space-around;
}

.celebrity-item {
    text-align: center;
}

.celebrity-item img {
    width: 96px;
    height: 96px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.celebrity-item:hover img {
    transform: scale(1.1);
}

.celebrity-item p {
    color: #C9A063;
    font-size: 16px;
}

/* 加入我们区域 */
#join {
    background-image: url('assets/1x/join_bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #000;
    color: white;
    padding: calc(80 / 1920 * 100vw) 0;
    display: block;
    width: 100%;
    overflow: hidden;
    margin: 0;
}

#join h2 {
    font-size: 40px;
    color: #C9A063;
    text-align: center;
    margin-bottom: 60px;
}

.join-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.join-item {
    width: calc(50% - 40px);
    max-width: 553px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 40px;
}

.join-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 20px rgba(0, 0, 0, 0.4);
}

.join-item .card-image {
    position: relative;
    width: 100%;
}

.join-item img {
    width: 100%;
    display: block;
}

.join-item h3 {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.join-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to top, rgba(26, 44, 115, 1) 0%, rgba(26, 44, 115, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.join-item:hover::after {
    opacity: 1;
}

/* 联系我们区域 */
#contact {
    background-color: #000;
    background-image: url('assets/1x/contact_bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    padding: calc(80 / 1920 * 100vw) 0;
    display: block;
    width: 100%;
    overflow: hidden;
    margin: 0;
}

#contact h2 {
    font-size: 40px;
    color: #C9A063;
    text-align: center;
    margin-bottom: 60px;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-map {
    width: 60%;
}

.contact-map img {
    width: 100%;
    border-radius: 10px;
}

.contact-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px; /* 增加联系项目之间的间距 */
}

.contact-item img {
    width: 24px;
    height: 24px;
    margin-right: 15px;
}

.contact-item p {
    color: #C9A063;
    font-size: 16px;
}

/* 图片预览弹窗 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#modalImage {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px;
    cursor: pointer;
    z-index: 1001;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prev-button {
    left: 15px;
}

.next-button {
    right: 15px;
}

/* 页脚区域 */
footer {
    background-color: #1B2D74;
    color: white;
    padding: 30px 0;
    border-top: 1px solid rgba(201, 160, 99, 0.3);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 16.66%; /* 高度为六分之一 */
    background: linear-gradient(to bottom, #040E38 0%, rgba(27, 45, 116, 0) 100%);
    z-index: 1;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 35px;
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .about-icons {
        margin-top: 300px;
    }
    
    .icon-item img {
        width: 120px;
        height: 120px;
    }
    
    .matrix-container {
        transform: scale(0.9);
        transform-origin: center center;
    }
    
    .matrix-item {
        width: 320px;
        height: 390px;
    }
}

@media (max-width: 992px) {
    .main-nav li {
        margin-left: 20px;
    }
    
    .about-icons {
        margin-top: 200px;
        flex-wrap: wrap;
    }
    
    .icon-container {
        width: 50%;
        margin-bottom: 30px;
    }
    
    .business-item {
        width: calc(50% - 40px);
    }
    
    .celebrity-category {
        width: 100%;
    }
    
    .matrix-container {
        transform: scale(0.8);
        transform-origin: center center;
    }
    
    .matrix-item {
        width: 300px;
        height: 370px;
    }
    
    .matrix-container {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 60px;
        text-align: center;
    }
    
    /* 移动端英文标题样式 */
    .hero-section h2.animate-title-english {
        font-size: 18pt;
        text-align: center;
        text-align-last: center;
        line-height: 1.4;
        margin-top: 15px;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }
    
    .mobile-break {
        display: block;
    }
    
    .nav-right {
        flex-direction: column;
    }
    
    .language-selector {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .icon-container {
        width: 100%;
    }
    
    .business-item {
        width: 100%;
    }
    
    .join-content {
        flex-direction: column;
        align-items: center;
    }
    
    .join-item {
        width: 100%;
        max-width: 553px;
        margin-bottom: 8px;
    }
}
    
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-content {
        gap: 0px;
    }
    
    .contact-details {
        gap: 10px;
    }
    
    /* 增大名人矩阵中icon下方文字在移动端的字体大小 */
    .matrix-container h3 {
        font-size: 32px !important;
    }
    
    /* 联系我们标题在移动端的样式 */
    #contact h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start !important;
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    .main-nav li {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    .category-items {
        flex-direction: column;
    }
    
    .celebrity-item {
        margin-bottom: 30px;
    }
}