/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== 顶部导航栏区块样式 ===== */
.header-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wechat-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.consult-text {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.add-wechat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 2px solid #07c160;
    border-radius: 20px;
    background: white;
    color: #07c160;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-wechat-btn:hover {
    background: #07c160;
    color: white;
    transform: translateY(-2px);
}

.plus-icon {
    font-size: 16px;
    font-weight: bold;
}

/* ===== 微信弹窗样式 ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 32px 24px;
    max-width: 320px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #e0e0e0;
    color: #333;
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.modal-body {
    text-align: center;
}

.wechat-id-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.wechat-id-box {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 12px 20px;
    width: 100%;
    max-width: 280px;
    text-align: center;
}

.wechat-id {
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

.copy-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: #07c160;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 280px;
}

.copy-btn:hover {
    background: #06ad56;
    transform: translateY(-2px);
}

.copy-btn.copied {
    background: #28a745;
}

/* ===== 账号交易平台广告区块样式 ===== */
.trading-platform-section {
    margin-top: 60px;
    padding: 0;
    text-align: center;
    background: none;
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
}

.platform-content {
    width: 100%;
    margin: 0;
    text-align: center;
}

.platform-image {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

/* ===== 第三个区块样式 ===== */
.section-3 {
    padding: 0;
    margin: 0;
    background: none;
    border-radius: 0;
    backdrop-filter: none;
}

/* ===== 轮播图样式 ===== */
.carousel-container {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 87.5vw; /* 根据800*700比例计算：700/800 = 0.875，即87.5% */
    max-height: 700px; /* 设置最大高度，避免在大屏幕上过高 */
    overflow: hidden;
    cursor: grab;
}

.carousel-wrapper:active {
    cursor: grabbing;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.carousel-slide.active {
    transform: translateX(0);
}

.carousel-slide.slide-left {
    transform: translateX(-100%);
}

.carousel-slide.slide-right {
    transform: translateX(100%);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

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

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

.dot.active {
    background: white;
    transform: scale(1.2);
}

.carousel-btn {
    display: none; /* 隐藏左右箭头按钮 */
}
/* ===== 第四个区块样式 ===== */
.section-4 {
    padding: 0;
    margin: 0;
    background: none;
    border-radius: 0;
    backdrop-filter: none;
}

.section-4-image {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

/* ===== 第六个区块样式 ===== */
.section-6 {
    padding: 0;
    margin: 0;
    background: none;
    border-radius: 0;
    backdrop-filter: none;
    position: relative;
}

.section-6-image {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    display: block;
    transition: transform 0.3s ease;
}

.section-6-image:hover {
    transform: scale(1.02);
}

/* ===== 第七个区块样式 ===== */
.section-7 {
    padding: 0;
    margin: 0;
    background: none;
    border-radius: 0;
    backdrop-filter: none;
}

.section-7-image {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

/* ===== 第八个区块样式 ===== */
.section-8 {
    padding: 0;
    margin: 0;
    background: none;
    border-radius: 0;
    backdrop-filter: none;
    position: relative;
}

.section-8-image {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    display: block;
    transition: transform 0.3s ease;
}

.section-8-image:hover {
    transform: scale(1.02);
}

/* ===== 第九个区块样式 ===== */
.section-9 {
    padding: 0;
    margin: 0;
    background: none;
    border-radius: 0;
    backdrop-filter: none;
}

.section-9-image {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

/* ===== 第十个区块样式 ===== */
.section-10 {
    padding: 0;
    margin: 0;
    background: none;
    border-radius: 0;
    backdrop-filter: none;
    position: relative;
}

.section-10-image {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    display: block;
    transition: transform 0.3s ease;
}

.section-10-image:hover {
    transform: scale(1.02);
}

/* ===== 底部按钮区块样式 ===== */
.bottom-buttons-section {
    background: white;
    padding: 20px 16px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.bottom-buttons-container {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.bottom-wechat-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: 2px solid #ff6b35;
    border-radius: 25px;
    background: white;
    color: #ff6b35;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bottom-wechat-btn:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-2px);
}

.bottom-phone-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    border-radius: 25px;
    background: #ff6b35;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bottom-phone-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.bottom-wechat-icon,
.bottom-phone-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

/* ===== 响应式设计 ===== */
@media (max-width: 480px) {
    .section-3 {
        padding: 0;
        margin: 0;
    }
    
    .section-4 {
        padding: 0;
        margin: 0;
    }
    
    .section-6 {
        padding: 0;
        margin: 0;
    }
    
    .section-7 {
        padding: 0;
        margin: 0;
    }
    
    .section-8 {
        padding: 0;
        margin: 0;
    }
    
    .section-9 {
        padding: 0;
        margin: 0;
    }
    
    .section-10 {
        padding: 0;
        margin: 0;
        margin-bottom:25px;
    }
    

    
    .carousel-wrapper {
        height: 87.5vw; /* 移动端也保持相同比例 */
        max-height: 400px; /* 移动端最大高度限制 */
    }
    
    .carousel-btn {
        display: none; /* 移动端也隐藏按钮 */
    }
    
    .carousel-dots {
        bottom: 15px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .bottom-buttons-section {
        padding: 16px 12px;
    }
    
    .bottom-buttons-container {
        gap: 10px;
    }
    
    .bottom-wechat-btn,
    .bottom-phone-btn {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .bottom-wechat-icon,
    .bottom-phone-icon {
        width: 18px;
        height: 18px;
    }
}

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

.trading-platform-section,
.section-3,
.section-4,
.section-6,
.section-7,
.section-8,
.section-9,
.section-10 {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== 滚动条样式 ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.5);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.7);
}
