/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #4a5568;
    height: 70px;
    line-height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo img {
    height: 50px;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    gap: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 0 40px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: #8b3a3a;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 轮播图区域 */
.banner-container {
    margin-top: 70px;
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.banner {
    width: 100%;
    height: 100%;
}

.banner-slide {
    width: 100%;
    height: 100%;
    display: none;
}

.banner-slide.active {
    display: block;
}

/* 轮播图背景 */
.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* 幻灯片内容区域 - 757px  168px */

/* 幻灯片内容区域样式 */
.banner-slideshow {
    width: 757px;
    height: 168px;
    position: relative;
    overflow: hidden;
}

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide-img.active {
    display: block;
    opacity: 1;
}
.banner-content {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 757px;
    height: 168px;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 337px;
}
.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgb(255 103 103 / 50%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #f20000;
    width: 14px;
    height: 14px;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: rgba(74, 85, 104, 0.8);
    padding: 20px 0;
    backdrop-filter: blur(10px);
}

.breadcrumb-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breadcrumb-path {
    color: #fff;
    font-size: 18px;
}

.breadcrumb-path a {
    color: #fff;
    transition: color 0.3s ease;
}

.breadcrumb-path a:hover {
    color: #8b3a3a;
}

.breadcrumb-path .separator {
    margin: 0 10px;
    font-size: 14px;
}

.back-home {
    color: #fff;
    font-size: 18px;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.back-home:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 页面标题装饰 */
.section-title-decoration {
    text-align: center;
    padding: 60px 0 40px;
    position: relative;
}

.section-title-decoration h2 {
    display: inline-block;
    font-size: 32px;
    color: #4a5568;
    padding: 0 30px;
    position: relative;
    background: linear-gradient(to bottom, #e8f4f8, #f5f5f5);
}

.section-title-decoration h2::before,
.section-title-decoration h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, #4a5568);
}

.section-title-decoration h2::before {
    left: -60px;
}

.section-title-decoration h2::after {
    right: -60px;
    background: linear-gradient(to left, transparent, #4a5568);
}

/* 火爆开区区域 */
.server-launch {
    padding: 40px 20px;
    /* background: linear-gradient(to bottom, #000, #1a1a2e); */
}

.section-title {
    text-align: center;
    margin-bottom: 4px;
}

.section-title h2 {
    font-size: 34px;
    color: #5c9ead;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(92, 158, 173, 0.5);
}

.section-title p {
    color: #5c9ead;
    font-size: 14px;
    letter-spacing: 2px;
}

.server-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.server-card {
    /* background: #fff; */
    border-radius: 8px;
    overflow: hidden;
    padding: 19px;
    width: 480px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    margin-bottom: 20px;
    height: 360px;
    background: url(images/bbbg.png) 0 0 no-repeat;
    background-size: cover;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid transparent;
    /* border-image: linear-gradient(45deg, #5c9ead, #8b3a3a, #5c9ead) 1; */
    pointer-events: none;
}

.server-card:hover {
    transform: translateY(-10px);
    /* box-shadow: 0 15px 40px rgba(92, 158, 173, 0.4); */
}


/* 176 卡片背景样式 */
.card-header-bg-176 {
}

.card-content-176 {
    position: relative;
    width: 100%;
    text-align: center;
    z-index: 10;
    padding: 20px;
    background: transparent;
    background-size: 100%;
    height: 214px;
}

.card-content-176 h3 {
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    /* margin-bottom: 10px; */
}

.card-content-176 .subtitle {
    color: #fff;
    font-size: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
}

.card-content-176 .rating span {
    color: #ffd700;
    font-size: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.card-content-176 .server-name {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
.card-header {
    position: relative;
    height: 253px;
    overflow: hidden;
}

.card-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.badge.blue {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
}

.card-content {
    padding: 10px;
    text-align: center;
    /* background: linear-gradient(to bottom, #fff, #f8f9fa); */
}

.card-content h3 {
    font-size: 35px;
    color: #ffffff;
    margin-top: 63px;
    font-weight: bold;
}

.card-content .subtitle {
    font-size: 21px;
    color: #ffffff;
    /* margin-bottom: 5px; */
    font-weight: bold;
}

.rating {
    /* margin: 5px 0; */
}

.rating span {
    color: #ffd700;
    font-size: 24px;
    letter-spacing: 5px;
}

.server-name {
    font-size: 20px;
    color: #4a5568;
    font-weight: bold;
    /* margin-top: 5px; */
}

.card-buttons {
    display: flex;
    gap: 15px;
    padding: 10px 20px;
    /* background: #f8f9fa; */
}

.btn-download,
.btn-intro {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download {
    background: linear-gradient(45deg, #f6d365, #fda085);
    color: #fff;
}

.btn-download:hover {
    background: linear-gradient(45deg, #fda085, #f6d365);
    transform: scale(1.05);
}

.btn-intro {
    background: linear-gradient(45deg, #5c9ead, #4a5568);
    color: #fff;
}

.btn-intro:hover {
    background: linear-gradient(45deg, #4a5568, #5c9ead);
    transform: scale(1.05);
}

.btn-intro.blue {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
}

.btn-intro.blue:hover {
    background: linear-gradient(45deg, #00f2fe, #4facfe);
}

/* 关于我们内容区域 */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-text {
    padding: 40px;
    line-height: 2;
    font-size: 18px;
    color: #4a5568;
    text-indent: 2em;
}

.about-text p {
    margin-bottom: 20px;
    text-align: justify;
}

/* 客服专区页面 */
.service-content-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.service-card-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 60px 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.service-card-container::before,
.service-card-container::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid #5c9ead;
    transition: all 0.3s ease;
}

.service-card-container::before {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.service-card-container::after {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

.service-info-box {
    max-width: 800px;
    margin: 0 auto;
}

.service-category {
    padding: 30px;
    margin-bottom: 30px;
    background: linear-gradient(to bottom, #f8f9fa, #fff);
    border-radius: 8px;
    border-left: 4px solid #5c9ead;
}

.service-category h3 {
    font-size: 24px;
    color: #4a5568;
    margin-bottom: 20px;
    font-weight: bold;
}

.contact-details p {
    font-size: 18px;
    color: #718096;
    margin: 10px 0;
}

.contact-details .label {
    font-weight: bold;
    color: #4a5568;
}

/* 底部装饰 */
.bottom-decoration {
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-top: 0px;
}

.bottom-decoration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 客服浮窗 */
.service-float {
    position: fixed;
    left: 0;
    top: 38%;
    transform: translateY(-50%);
    z-index: 999;
}

@media (max-width: 768px) {
    .service-float {
        position: fixed;
        left: 50%;
        bottom: 20px;
        top: auto;
        transform: translateX(-50%);
        z-index: 999;
    }

    .service-content {
        border-radius: 8px;
        padding: 15px 25px;
        display: flex;
        align-items: center;
        gap: 15px;
        max-width: calc(100vw - 40px);
    }

    .service-content h4,
    .service-content .en {
        display: none;
    }

    .qr-code {
        width: 60px;
        height: 60px;
        margin: 0;
        flex-shrink: 0;
    }

    .btn-service {
        padding: 8px 20px;
        font-size: 13px;
        white-space: nowrap;
    }
}

.service-content {
    background: #fff;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 0 8px 8px 0;
    text-align: center;
}

.service-content h4 {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 5px;
}

.service-content .en {
    font-size: 12px;
    color: #a0aec0;
    margin-bottom: 15px;
}

.qr-code {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn-service {
    background: linear-gradient(45deg, #5c9ead, #4a5568);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-service:hover {
    background: linear-gradient(45deg, #4a5568, #5c9ead);
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(74, 85, 104, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .nav-menu li a {
        padding: 15px 20px;
        font-size: 18px;
        display: block;
    }

    .nav-menu li a:hover,
    .nav-menu li a.active {
        background-color: rgba(139, 58, 58, 0.5);
    }

    .banner-container {
        height: 250px;
        margin-top: 70px;
    }

    .server-cards {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .server-card {
        width: 100%;
        max-width: 400px;
        margin-bottom: 20px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .about-content {
        margin: 20px;
        padding: 20px;
    }

    .about-text {
        padding: 20px;
        font-size: 16px;
        line-height: 1.8;
    }

    .service-content-page {
        padding: 20px;
    }

    .service-card-container {
        padding: 30px 20px;
    }

    .service-category h3 {
        font-size: 20px;
    }

    .contact-details p {
        font-size: 16px;
    }

    .breadcrumb {
        padding: 15px 0;
    }

    .breadcrumb-content {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .breadcrumb-path {
        font-size: 16px;
    }

    .back-home {
        font-size: 16px;
        padding: 6px 15px;
    }

    .section-title-decoration {
        padding: 40px 0 30px;
    }

    .section-title-decoration h2 {
        font-size: 26px;
        padding: 0 20px;
    }

    .section-title-decoration h2::before,
    .section-title-decoration h2::after {
        width: 40px;
    }

    .section-title-decoration h2::before {
        left: -40px;
    }

    .section-title-decoration h2::after {
        right: -40px;
    }

    .bottom-decoration {
        height: 200px;
        margin-top: 30px;
    }

    .card-content h3 {
        font-size: 24px;
    }

    .card-content .subtitle {
        font-size: 14px;
    }

    .server-name {
        font-size: 18px;
    }

    .card-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-download,
    .btn-intro {
        width: 100%;
        padding: 14px;
        font-size: 15px;
    }
}




