/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
  font-family: 'YouSheFont';
  src: url('../font/youshe.ttf') format('truetype');
  font-style: normal;
  font-weight: normal;
  font-display: swap;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    background: url('../images/bg.png') 0 0 no-repeat;
  
    background-size: cover;
    background-attachment: scroll;
    overflow-x: hidden;
}
ul,
dl,
dd,
dt,
h1,
h2,
h3,
h4,
h5,
h6,
form {
    padding: 0;
    margin: 0;
}

ul,
li {
    list-style: none;
}

[data-tabhead] {
    display: flex;
    align-items: center;
  padding: 0 20px;
  gap: 15px;
  justify-content: space-between;
}
[data-tabhead] .Titem {
  cursor: pointer;
}
[data-tabhead] .Titem .img2{
    display: none;
}
[data-tabhead] .Titem.active .img1{
    display: none;
}
[data-tabhead] .Titem.active .img2{
    display: block;
}
[data-tabbody] .Titem {
  position: absolute;
  opacity: 0;
  transform: translateY(20px);
  max-height: 0;
  overflow: hidden;
}
[data-tabbody] .Titem.active {
  overflow: visible;
  transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
  position: relative;
  opacity: 1;
  transform: translateY(0);
  max-height: 100%;
}

img {
    max-width: 100%;
    display: block;
}

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

.container {
    min-width: 1400px;
    max-width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}
.modal-content{
    z-index: 555555;
}
/* 导航栏 */
.header {
    background: rgba(0, 0, 0, 0.3);
    /*backdrop-filter: blur(10px);*/
    /*padding: 12px 0;*/
    height: 100px;
    right: 0;
    left: 0;
    top: 0;
    position: sticky;
    padding: 0 !important;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.IndexBody .header{
    
    position: fixed;
}
.header.scrolled {
    background: rgba(60, 60, 60, 0.85);
    backdrop-filter: blur(10px);
}

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

.logo img {
    max-height: 80px;
}

.nav {
    display: flex;
    gap: 80px;
    align-items: center;
    height: 100%;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(220, 230, 255, 1);
    transition: all 0.3s;
    position: relative;
    height: 100%;
    justify-content: center;
}

.nav-item:hover {
    transform: translateY(-2px);
}

.nav-item.active {
    color: #ffffff;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
}


.nav-text-cn {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}

.nav-text-en {
    font-size: 9px;
    text-transform: uppercase;
    opacity: 0.9;
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: relative;
    width: 30px;
    height: 24px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s;
    position: absolute;
    left: 0;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 20px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

/* Hero 区域 */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #5D81FC;
    overflow: hidden;
}

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

.hero-thumbnails {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.thumbnail {
    width: 159px;
    height: 94px;
    border: 4px solid rgba(74, 144, 226, 0.5);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.7;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.6);
    background: rgba(74, 144, 226, 0.3);
    pointer-events: auto;
}

.thumbnail.active {
    border-color: rgba(74, 144, 226, 1);
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(74, 144, 226, 1);
}

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

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

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
    /*max-width: calc(100% - 200px);*/
    max-height: 100%;
    overflow: hidden;
    /*border: 6px solid #5D7EFF;*/
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

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

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

.hero-slide video source {
    width: 100%;
    height: 100%;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: #ffffff;
    width: 35px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 25px;
    background: rgba(30, 40, 60, 0.85);
    padding: 20px 15px;
    border-radius: 20px 0 0 20px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: transform 0.3s;
    cursor: pointer;
}

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

.social-item img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.social-item span {
    font-size: 12px;
    color: #ffffff;
    font-weight: 500;
    white-space: nowrap;
}

.hero-bottom {
    width: 100%;
}

.hero-bottom img {
    width: 100%;
    display: block;
}

/* 最新活动 */
.latest-activity {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 50px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title img {
    max-width: 500px;
    margin: 0 auto;
}

.activity-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1920px;
    margin: 0 auto;
}

/* 左右侧图片容器 */
.activity-side {
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: center;
}

.activity-side.left {
    order: 1;
}

.activity-side.right {
    order: 3;
}

.activity-side-img {
    width: 100px;
    overflow: hidden;
    position: relative;
}

/* 左侧缩略图 - 左圆角 */
.activity-side.left .activity-side-img {
    border-radius: 12px 0 0 12px;
}

/* 右侧缩略图 - 右圆角 */
.activity-side.right .activity-side-img {
    border-radius: 0 12px 12px 0;
}

/* 远离主图的缩略图 */
.activity-side.left .activity-side-img:first-child,
.activity-side.right .activity-side-img:last-child {
    height: 50vh;
}

/* 靠近主图的缩略图 */
.activity-side.left .activity-side-img:last-child,
.activity-side.right .activity-side-img:first-child {
    height: 60vh;
}

.activity-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 缩略图暗化效果 - 靠近主图 50% */
.activity-side.left .activity-side-img:last-child::after,
.activity-side.right .activity-side-img:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

/* 缩略图暗化效果 - 远离主图 70% */
.activity-side.left .activity-side-img:first-child::after,
.activity-side.right .activity-side-img:last-child::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    pointer-events: none;
}

/* 中间主图区域 */
.activity-center {
    position: relative;
    order: 2;
    flex-shrink: 0;
}

/* 主图 */
.activity-main {
    min-width: 1200px;
    height: 70vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.activity-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: transform 0.3s;
}

.activity-link:hover {
    transform: scale(1.02);
}

.activity-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease-in-out;
}

/* 箭头按钮 */
.activity-arrow {
    position: absolute;
    width: 72px;
    height: 72px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    top: 50%;
    transition: transform 0.3s;
}

.activity-arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.activity-arrow.left {
    left: -114px;
    transform: translate(-50%, -50%) scaleX(-1);
}

.activity-arrow.left:hover {
    transform: translate(-50%, -50%) scaleX(-1) scale(1.1);
}

.activity-arrow.right {
    right: -114px;
    transform: translate(50%, -50%);
}

.activity-arrow.right:hover {
    transform: translate(50%, -50%) scale(1.1);
}

/* 全赛城市 */
.home-city {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 50px;
}

.city-divider {
    width: 100%;
    position: absolute;
    top: 0%;
    left: 0;
    transform: translateY(-50%);
}

.city-divider img {
    width: 100%;
    display: block;
}

.city-content {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.city-map-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.city-map-wrapper .city_dian {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 24px;
    color: rgba(23, 29, 68, 1);
    transition: all 0.3s ease;
}
.city-map-wrapper .city_dian.mobile{

    display: none;
}
.city-map-wrapper .city_dian img{
    transition: all 0.3s ease;
    
}

.city-map-wrapper .city_dian:hover {
    cursor: pointer;
}

.city-map-wrapper .city_dian:hover img {
    transform: scale(1.1);
}

.city-map-wrapper .city_dian>img {
    width: 29px;
}

.modal-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.map_modal_overlay{
    /*background: url(../images/dialogbg.png) no-repeat;*/
  z-index: 9999;
    background-size: cover;
}

.map_modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 800px;
    max-width: 70%;
    border-radius: 15px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); */
    z-index: 1001;
    padding:40px 50px;
    background-image: url(/images/city_bg.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.map_modal .Info{
    margin-top: 20px;
    display: grid;
    grid-template-columns: 0.6fr 1fr;
    gap:40px;
}
.map_modal .Info .img_box img{
    max-width: 100%;
    max-height: 100%;
}
.map_modal .Info .t1{
    font-size: 15px;
    margin-bottom:10px;
    line-height: 1.5;
}
.map_modal .Info .t2{
    margin-bottom:10px;
    font-size: 20px;
}
.map_modal .Info .con{
    line-height: 1.6;
}
.moadl-logo{
    height: 80px;
    top: 0;
    position: absolute;
    left: 10%;
}
.moadl-logo   img{
        max-width: 100%;
        max-height: 100%;
  
}
.map_modal .swiperBox{
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 0.3fr;
    gap: 14px;
}
.map_modal .tab_blod{
    font-size: 20px;
    font-weight: normal;
    margin-top: 10px;
}
.map_modal  .Product_thumb .Item img {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    object-fit: cover;
    cursor: pointer;
}
.map_modal .prev,
.map_modal .next{
    background: initial;
}
.map_modal  .Product_top{
      border-radius: 20px;
    overflow: hidden;
}

.map_modal  .Product_top .Item img{
    border-radius: 20px;
    object-fit: cover;
    width: 100%;
    overflow: hidden;
}
.map_modal .close-btn {
    width: 67px;
    height: 67px;
    position: absolute;
    cursor: pointer;
    top: -13px;
    right: -11px;

}



.city-map {
}

.city-map img {
    max-width: 100%;
    height: 73vh;
}

.city-character {
    position: absolute;
    z-index: 3;
    bottom: 0;
}

.city-character.left {
    left:0%;
   max-width: 40%;
   bottom: 0;

}

.city-character.right {
    right: 0;
    width: 292px;
    height: auto;
}

.city-character img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Footer */
.footer {
    width: 100%;
    background: #ffffff;
    color: #333333;
    padding: 40px 0 20px;
    border-top: 1px solid #e5e7eb;
    transition: transform 0.4s ease, opacity 0.4s ease;
 /*transform: translateY(60px);*/
    /*opacity: 0;*/
}

.footer.visible {
      /*opacity: 1;*/
      /* transform: translateY(0px);*/
    }
.footer-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 30px;
    /*border-bottom: 1px solid #e5e7eb;*/
    margin-bottom: 20px;
}

.footer-logo img {
    width: 362px;
    height: 138px;
}

.footer-social {
    display: flex;
    gap: 30px;
    align-items: center;
}

.footer-social-item img {
    height: 45px;
    width: auto;
    transition: transform 0.3s;
    object-fit: contain;
}

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

.footer-contact {
    text-align: right;
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
    padding: 20px 0;
}

.footer-nav a {
    color: #333333;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #5D7EFF;
}

.footer-bottom {
    text-align: center;
    color: #999999;
    font-size: 12px;
    line-height: 1.8;
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
}

.footer-bottom p {
    margin: 5px 0;
}

/* 响应式设计 - 移动端 */
@media (max-width: 768px) {
    .activity-main,
        .container{
        min-width: auto;
    }
    .city-map img{
        height: auto;
    }
    .hero{
        height: auto;
    }
    .map_modal .Info .img_box img{
        margin: 0 auto;
        max-height: 150px;
    }
    .map_modal .Product_thumb .Item img{
        border-radius: 8px;
    }
    [data-tabhead]{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
    .map_modal .tab_blod,
    .map_modal .Info .t2{
        font-size: 16px;
    }
    .map_modal .Info .con{
        font-size: 12px;
    }
    .map_modal{
        max-width: 95%;
        padding: 20px;
    }
    .footer{
        opacity: 1;
        transition: translateY(0);
    }
    .map_modal .Info{
        gap: 10px;
        grid-template-columns: 1fr;
    }
    .map_modal .close-btn{
        width: 3em;
        height: 3em;
    }
    .moadl-logo{
        height: 40px;
    }
    .city-map-wrapper .city_dian>img{
        width: 1em;
    }
        .city-map-wrapper .city_dian.pc{
            display: none;
        }
    .city-map-wrapper .city_dian.mobile{
        display: flex;
        font-size: 12px;
    }
    .container{
        padding: 0;
    }
    .logo img {
        height: 35px;
    }
    .header {
        height: 70px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(60, 60, 60, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        transform: translateX(-100%);
        transition: transform 0.3s;
        z-index: 999;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-item {
        padding: 15px 20px;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-item:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.1);
    }

    .hero {
        overflow-x: hidden;
        padding: 0;
        margin: 0;
    }

    .hero-content {
        height: auto;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
    }

    .hero-slider {
        position: relative;
        width: 100%;
        height: auto;
        order: 1;
    }

    .hero-slides {
        position: relative;
        width: 100%;
        height: auto;
        max-width: 100%;
        border-radius: 0;
        border: none;
        padding-bottom: 56.25%;
    }

    .hero-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

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

    .hero-thumbnails {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        gap: 10px;
        padding: 15px;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        box-sizing: border-box;
        margin: 0;
        order: 2;
    }

    .hero-thumbnails::-webkit-scrollbar {
        display: none;
    }

    .thumbnail {
        width: 100px;
        height: 60px;
        flex-shrink: 0;
        border-width: 3px;
        margin: 0;
    }

    .thumbnail:first-child {
        margin-left: 0;
    }

    .hero-dots {
        bottom: 15px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 25px;
    }

    .social-sidebar {
        gap: 15px;
        padding: 15px 10px;
        border-radius: 20px 0 0 20px;
    }

    .social-item img {
        width: 35px;
        height: 35px;
    }

    .social-item span {
        font-size: 10px;
    }

    .latest-activity {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 20px;
    }

    .section-title img {
        max-width: 250px;
    }

    .activity-carousel {
        flex-direction: column;
        gap: 20px;
        height: auto;
    }

    .activity-side {
        display: none;
    }

    .activity-center {
        width: 100%;
    }

    .activity-main {
        width: 90%;
        height: auto;
        aspect-ratio: 1200 / 681;
        margin: 0 auto;
    }

    .activity-arrow {
        width: 50px;
        height: 50px;
    }

    .activity-arrow.left {
        left: 10px;
    }

    .activity-arrow.right {
        right: 10px;
    }

    .home-city {
        padding: 0 0 10px 0;
    }

    .city-content {
        min-height: auto;
        padding: 20px 0;
        position: relative;
    }

    .city-map-wrapper {
        width: 100%;
        padding: 0 10px;
    }

    .city-map {
        max-width: 100%;
        padding: 0;
    }

    .city-character {
        position: absolute;
        width: auto;
        height: auto;
        max-width: 60px;
    }

    .city-character.left {
        left: 0;
        bottom: 0;
        max-width: 60px;
    }

    .city-character.right {
        right: 0;
        bottom: 0;
    }

    .city-character img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
    }

    .footer-logo img {
        width: 250px;
        height: auto;
    }

    .footer-social {
        gap: 20px;
    }

    .footer-social-item img {
        height: 40px;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* 中等屏幕适配 */