* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa, #e8eaf6);
    color: #333;
    line-height: 1.6;
}

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

header {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(106, 17, 203, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav ul li a:hover {
    opacity: 0.8;
}

/* 汉堡菜单按钮 - 默认隐藏 */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 100;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hero {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(106, 17, 203, 0.1), rgba(37, 117, 252, 0.1));
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.download-btn {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    color: #6a11cb;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(90deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.9));
}

.download-btn i {
    font-size: 24px;
    margin-right: 10px;
}

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

.section-title h2 {
    font-size: 36px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    border-radius: 3px;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.twitter-link {
    color: #2575fc;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.twitter-link:hover {
    color: #6a11cb;
}

.twitter-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.twitter-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff, #f5f7fa);
    position: relative;
    overflow: hidden;
}

.videos {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa, #e8eaf6);
    position: relative;
}

.videos::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 0;
}

.videos .container {
    position: relative;
    z-index: 1;
}

.video-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.video-group {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.video-group.active {
    display: block;
    opacity: 1;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.video-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.9), rgba(37, 117, 252, 0.9));
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3);
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 30px rgba(106, 17, 203, 0.4);
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.video-info p {
    color: #666;
    font-size: 14px;
}

/* 轮播导航点样式 */
.carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(106, 17, 203, 0.3);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: #6a11cb;
    transform: scale(1.2);
}

/* 轮播控制按钮样式 */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #6a11cb;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-control:hover {
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

/* 服务器推荐部分的样式 */
.server-promo {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 14px;
}

.server-promo .promo-link {
    color: white;
    font-weight: 600;
    margin-left: 10px;
    text-decoration: none;
}

.server-promo .promo-link:hover {
    text-decoration: underline;
}

.server-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.server-option {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.server-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.server-header {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: white;
    padding: 15px;
    text-align: center;
}

.server-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.server-price {
    text-align: center;
    padding: 20px 0;
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.server-price .currency {
    font-size: 24px;
    vertical-align: top;
    position: relative;
    top: 2px;
}

.server-price .period {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

.server-specs {
    padding: 0 20px 20px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: #666;
    font-size: 14px;
}

.spec-value {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.spec-select select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    color: #333;
    width: 180px;
    outline: none;
    cursor: pointer;
}

.server-actions {
    display: flex;
    padding: 0 20px 20px;
    gap: 10px;
}

.btn-primary {
    flex: 1;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #5a0cb0, #1e65e0);
}

.btn-secondary {
    flex: 1;
    background: white;
    color: #6a11cb;
    border: 1px solid #6a11cb;
    padding: 12px 0;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f5f7ff;
}

footer {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    padding: 70px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    opacity: 0.05;
    z-index: 0;
}

footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #8a3bdf, #4a94fd);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-column ul li a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-column ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 769px) {
    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        margin-bottom: 0;
    }

    /* 在移动端隐藏页脚内容 */
    .footer-content {
        display: none;
    }

    /* 显示汉堡菜单按钮 */
    .hamburger-menu {
        display: flex;
    }

    /* 移动端导航菜单样式 */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: linear-gradient(135deg, #6a11cb, #2575fc);
        z-index: 99;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding-top: 80px;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 15px 0;
    }

    /* 汉堡菜单激活状态 */
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* 遮罩层 */
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 98;
    }

    .overlay.active {
        display: block;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 80%;
        justify-content: center;
        margin-bottom: 15px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-control.prev {
        left: 10px;
    }

    .carousel-control.next {
        right: 10px;
    }

    .server-options {
        grid-template-columns: 1fr;
    }
}

/* 在线客服样式 */
.customer-service {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.service-toggle {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(106, 17, 203, 0.3);
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.service-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.service-toggle:hover::before {
    left: 100%;
}

.service-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(106, 17, 203, 0.4);
}

.service-toggle i {
    font-size: 18px;
    animation: pulse 2s infinite;
}

.service-text {
    font-weight: 600;
    font-size: 14px;
}

.service-options {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    min-width: 200px;
}

.customer-service.active .service-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.service-option {
    border-bottom: 1px solid #f0f0f0;
}

.service-option:last-child {
    border-bottom: none;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(106, 17, 203, 0.1), transparent);
    transition: left 0.5s;
}

.service-link:hover::before {
    left: 100%;
}

.service-link:hover {
    background: linear-gradient(90deg, #f8f9ff, #f0f4ff);
    color: #6a11cb;
    transform: translateX(5px);
}

.telegram-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0088cc, #00a8ff);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.telegram-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.telegram-icon:hover::before {
    left: 100%;
}

.telegram-icon svg {
    width: 16px;
    height: 16px;
    color: white;
    transition: all 0.3s ease;
}

.service-link:hover .telegram-icon {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(106, 17, 203, 0.3);
}

.service-link:hover .telegram-icon svg {
    transform: scale(1.1);
}

.service-link span {
    font-weight: 500;
    font-size: 14px;
}

/* 脉冲动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .customer-service {
        right: 15px;
        bottom: 15px;
    }
    
    .service-toggle {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .service-text {
        display: none;
    }
    
    .service-options {
        min-width: 160px;
        right: -10px;
    }
    
    .service-link {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .telegram-icon {
        width: 20px;
        height: 20px;
    }
    
    .telegram-icon svg {
        width: 14px;
        height: 14px;
    }
}
