/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft JhengHei', 'PingFang TC', 'Heiti TC', 'Apple LiGothic', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #0078d7;
    transition: color 0.3s ease;
}

a:hover {
    color: #005a9e;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

.btn-primary {
    display: inline-block;
    background-color: #0078d7;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.btn-primary:hover {
    background-color: #005a9e;
    color: #fff;
    transform: translateY(-2px);
}

.btn-start-chat {
    display: inline-block;
    background-color: #ff4d4d;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    box-shadow: 0 4px 8px rgba(255, 77, 77, 0.3);
}

.btn-start-chat:hover {
    background-color: #ff3333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 77, 77, 0.4);
}

/* 头部导航 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 40px;
    width: auto;
}

.main-nav ul {
    display: flex;
    align-items: center;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #0078d7;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 视频聊天部分 */
.video-chat-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

/* 顶部视频功能 */
.video-chat-live {
    position: relative;
    width: 100%;
    height: 400px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.video-chat-live:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.video-chat-live video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.start-chat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.start-chat-overlay h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.start-chat-btn {
    background: #ff4d4d;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(255, 77, 77, 0.5);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.start-chat-btn:hover {
    background: #ff3333;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 77, 77, 0.6);
}

.video-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 2;
}

.video-control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.video-control-btn i {
    color: #fff;
    font-size: 18px;
}

.video-chat-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.video-chat-text {
    flex: 1;
}

.video-chat-text h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 10px;
}

.video-chat-text h2 {
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}

.video-chat-text p {
    font-size: 1.2rem;
    color: #777;
    margin-bottom: 30px;
}

.online-counter {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: #333;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background-color: #4CAF50;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

#online-count {
    font-weight: bold;
    margin-right: 5px;
}

.video-chat-preview {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.banner-img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.play-button:before {
    content: '';
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-left: 30px solid #ff4d4d;
    border-bottom: 20px solid transparent;
    margin-left: 8px;
}

.play-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* 关于部分 */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.about-image {
    flex: 1;
}

.global-connection-img {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 产品展示 - 重新调整 */
.product-showcase {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 30px; /* 减小间距 */
}

.product-feature {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-feature.reverse {
    flex-direction: row-reverse;
}

.product-image {
    flex: 0 0 40%; /* 固定宽度为40% */
    max-width: 40%;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.product-description {
    flex: 1;
}

.product-description h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.product-description p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* 用户评价 */
.testimonials-section {
    padding: 80px 0;
    background-color: #fff;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: none;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: #555;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 5px;
}

.author-info p {
    color: #777;
    font-size: 0.9rem;
}

.rating {
    color: #ffb400;
    margin-top: 5px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-dot.active {
    background-color: #0078d7;
}

/* FAQ部分 */
.faq-section {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #0078d7;
    font-weight: bold;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: #555;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* 活跃用户部分 */
.active-users-section {
    padding: 80px 0;
    background-color: #fff;
}

.active-users-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.user-avatar {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.user-avatar:hover {
    transform: translateY(-5px);
}

.user-avatar img {
    width: 100%;
    height: auto;
    display: block;
}

.online-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 12px;
    height: 12px;
    background-color: #4CAF50;
    border-radius: 50%;
    border: 2px solid #fff;
}

.active-users-cta {
    text-align: center;
    margin-top: 30px;
}

.active-users-cta p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
}

.active-users-cta strong {
    color: #0078d7;
}

/* 获奖情况 */
.awards-section {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.awards-showcase {
    text-align: center;
    margin-bottom: 30px;
}

.awards-image {
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.awards-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.awards-description p {
    font-size: 1.1rem;
    color: #555;
}

/* 安全认证 */
.safety-section {
    padding: 80px 0;
    background-color: #fff;
}

.safety-content {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.safety-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.safety-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.safety-badge {
    text-align: center;
    width: 180px;
}

.safety-badge img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.safety-badge p {
    font-size: 1rem;
    color: #555;
}

/* 排行榜 */
.ranking-section {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.ranking-table {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.ranking-header {
    display: grid;
    grid-template-columns: 0.5fr 3fr 1fr 3fr;
    background-color: #0078d7;
    color: #fff;
    padding: 15px 20px;
    font-weight: bold;
}

.ranking-item {
    display: grid;
    grid-template-columns: 0.5fr 3fr 1fr 3fr;
    padding: 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
    transition: background-color 0.3s ease;
}

.ranking-item:last-child {
    border-bottom: none;
}

.ranking-item:hover {
    background-color: #f9f9f9;
}

.top-rank {
    background-color: #f0f7ff;
}

.rank-column {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.top-rank .rank-column {
    color: #0078d7;
}

.app-column {
    display: flex;
    align-items: center;
}

.app-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 15px;
    object-fit: contain;
}

.app-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.app-info p {
    font-size: 0.9rem;
    color: #777;
}

.rating-column {
    text-align: center;
}

.stars {
    color: #ffb400;
    margin-bottom: 5px;
}

.rating-column span {
    font-weight: bold;
    color: #333;
}

.features-column {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
}

/* 下载部分 */
.download-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0078d7 0%, #005a9e 100%);
    color: #fff;
}

.download-section .section-header h2,
.download-section .section-header p {
    color: #fff;
}

.download-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.download-button {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.download-button img {
    height: 40px;
    margin-right: 10px;
}

.download-text {
    display: flex;
    flex-direction: column;
}

.download-text span {
    font-size: 0.8rem;
    color: #555;
}

.download-text strong {
    font-size: 1.2rem;
    color: #333;
}

.download-note {
    text-align: center;
    font-size: 1rem;
    opacity: 0.8;
}

/* 页脚 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-language {
    text-align: center;
    margin-bottom: 30px;
}

.footer-language h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.language-options {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.language-options a {
    color: #ccc;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.language-options a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.language-options a.active {
    background-color: #0078d7;
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #aaa;
}

.disclaimer {
    font-size: 0.8rem;
    color: #888;
}

/* 下载弹窗 */
/* 下载弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    width: 100%;
    max-width: 600px;
    margin: 50px auto;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    animation: modalFadeIn 0.4s;
    box-sizing: border-box;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    z-index: 10;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: #333;
    background-color: #f0f0f0;
    border-radius: 50%;
}

.modal-header {
    padding: 30px 20px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.modal-logo {
    height: 50px;
    margin-bottom: 15px;
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.4rem;
    line-height: 1.3;
}

.modal-body {
    padding: 25px 20px;
}

.modal-body p {
    text-align: center;
    margin: 0 0 20px 0;
    color: #666;
    font-size: 1rem;
}

.app-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

.benefit-item i {
    font-size: 1.5rem;
    color: #4e2a84;
    margin-bottom: 8px;
}

.benefit-item span {
    font-size: 0.9rem;
    color: #333;
}

.app-download-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.app-store-btn, .play-store-btn {
    display: flex;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    flex: 1;
    max-width: 160px;
}

.app-store-btn:hover, .play-store-btn:hover {
    background-color: #000;
    color: white;
    transform: translateY(-2px);
}

.app-store-btn img, .play-store-btn img {
    height: 24px;
    margin-right: 8px;
}

.store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-text span {
    font-size: 0.7rem;
}

.store-text strong {
    font-size: 0.9rem;
}

.modal-footer {
    padding: 15px 20px;
    text-align: center;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.continue-web-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
    padding: 5px 10px;
}

.continue-web-btn:hover {
    color: #333;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        margin: 20px auto;
        max-width: none;
        width: calc(100% - 20px);
    }
    
    .modal-header {
        padding: 20px 15px 15px;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 20px 15px;
    }
    
    .app-benefits {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .app-download-options {
        flex-direction: column;
        align-items: center;
    }
    
    .app-store-btn, .play-store-btn {
        max-width: 200px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: calc(100% - 10px);
        margin: 10px auto;
    }
    
    .modal-header h2 {
        font-size: 1.1rem;
    }
}



/* 响应式设计 */
@media (max-width: 1024px) {
    .active-users-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .product-feature, 
    .product-feature.reverse {
        flex-direction: column;
    }
    
    .product-image {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .product-image img {
        max-width: 60%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .video-chat-content {
        flex-direction: column;
    }
    
    .video-chat-text h1 {
        font-size: 2.5rem;
    }
    
    .video-chat-text h2 {
        font-size: 1.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .active-users-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ranking-header,
    .ranking-item {
        grid-template-columns: 0.5fr 2fr 1fr 2fr;
    }
    
    .feature-tag {
        font-size: 0.75rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-nav.active {
        max-height: 400px;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav li {
        margin: 0 0 15px 0;
    }
    
    .main-nav li:last-child {
        margin-bottom: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .video-chat-live {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .video-chat-text h1 {
        font-size: 2rem;
    }
    
    .video-chat-text h2 {
        font-size: 1.3rem;
    }
    
    .active-users-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ranking-header,
    .ranking-item {
        grid-template-columns: 0.5fr 3fr;
    }
    
    .rating-column,
    .features-column {
        display: none;
    }
    
    .download-options {
        flex-direction: column;
        align-items: center;
    }
    
    .video-chat-live {
        height: 250px;
    }
    
    .start-chat-overlay h2 {
        font-size: 1.5rem;
    }
    
    .start-chat-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .product-image img {
        max-width: 80%;
    }
}

/* 排行榜样式 */
.ranking-table {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    margin-top: 30px;
}

.ranking-header {
    display: grid;
    grid-template-columns: 60px 3fr 1fr 3fr 1fr;
    background-color: #f8f9fa;
    padding: 15px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.ranking-item {
    display: grid;
    grid-template-columns: 60px 3fr 1fr 3fr 1fr;
    padding: 15px;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s;
}

.ranking-item:hover {
    background-color: #f8f9fa;
}

.ranking-item.top-rank {
    background-color: #fff8e1;
}

.rank-column {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: #6c757d;
}

.top-rank .rank-column {
    color: #ff9800;
}

.app-column {
    display: flex;
    align-items: center;
}

.app-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 15px;
    object-fit: cover;
}

.app-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.app-info p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.rating-column {
    text-align: center;
}

.stars {
    color: #ffc107;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.features-column {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.feature-tag {
    background-color: #e9ecef;
    color: #495057;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.download-column {
    text-align: center;
}

.download-btn {
    background-color: #4e2a84;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #3b1f64;
}

@media (max-width: 768px) {
    .ranking-header, .ranking-item {
        grid-template-columns: 40px 2fr 1fr 1fr;
    }
    
    .features-column {
        display: none;
    }
    
    .app-logo {
        width: 40px;
        height: 40px;
    }
    
    .app-info h3 {
        font-size: 0.9rem;
    }
    
    .app-info p {
        font-size: 0.8rem;
    }
}
/* 排行榜样式 */
.ranking-table {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    margin-top: 30px;
}

.ranking-header {
    display: grid;
    grid-template-columns: 60px 3fr 1fr 3fr 1fr;
    background-color: #f8f9fa;
    padding: 15px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    color: #333; /* 添加表头文字颜色 */
}

.ranking-item {
    display: grid;
    grid-template-columns: 60px 3fr 1fr 3fr 1fr;
    padding: 15px;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s;
}

.ranking-item:hover {
    background-color: #f8f9fa;
}

.ranking-item.top-rank {
    background-color: #fff8e1;
}

.rank-column {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: #6c757d;
}

.top-rank .rank-column {
    color: #ff9800;
}

.app-column {
    display: flex;
    align-items: center;
}

.app-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    margin-right: 15px;
    object-fit: cover;
}

.app-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.app-info p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.rating-column {
    text-align: center;
}

.stars {
    color: #ffc107;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.features-column {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.feature-tag {
    background-color: #e9ecef;
    color: #495057;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.download-column {
    text-align: center;
}

.download-btn {
    background-color: #4e2a84;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #3b1f64;
}

@media (max-width: 768px) {
    .ranking-header, .ranking-item {
        grid-template-columns: 40px 2fr 1fr 1fr;
    }
    
    .features-column {
        display: none;
    }
    
    .app-logo {
        width: 40px;
        height: 40px;
    }
    
    .app-info h3 {
        font-size: 0.9rem;
    }
    
    .app-info p {
        font-size: 0.8rem;
    }
}
/* 顶部视频聊天区域样式 */
.hero-section {
    background-color: #f5f5f5;
    padding: 60px 0;
}

.video-chat-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 左侧视频等待区域 */
.video-waiting-area {
    flex: 1;
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    width: 100%;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 20px;
}

.camera-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #4e2a84;
}

.random-chat-btn {
    background-color: #4e2a84;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.random-chat-btn:hover {
    background-color: #3b1f64;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 42, 132, 0.3);
}

.online-counter {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 0.9rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #4CAF50;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* 右侧美女头像区域 */
.featured-users {
    flex: 1;
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.featured-users h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.2rem;
    text-align: center;
}

.user-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.user-item {
    cursor: pointer;
    transition: transform 0.3s;
    text-align: center;
}

.user-item:hover {
    transform: translateY(-5px);
}

.user-avatar {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 创建1:1比例的容器 */
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.user-avatar img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    background-color: #4CAF50;
    border-radius: 50%;
    border: 2px solid #fff;
}

.user-name {
    font-size: 0.9rem;
    color: #333;
    display: block;
}

/* 下载应用模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    animation: modalFadeIn 0.4s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    z-index: 10;
}

.modal-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.modal-logo {
    height: 50px;
    margin-bottom: 10px;
}

.modal-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.modal-body {
    padding: 20px;
}

.modal-body p {
    text-align: center;
    margin-top: 0;
    color: #666;
}

.app-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(50% - 15px);
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.benefit-item i {
    font-size: 1.5rem;
    color: #4e2a84;
    margin-bottom: 8px;
}

.app-download-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.app-store-btn, .play-store-btn {
    display: flex;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.app-store-btn:hover, .play-store-btn:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.app-store-btn img, .play-store-btn img {
    height: 24px;
    margin-right: 8px;
}

.store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-text span {
    font-size: 0.7rem;
}

.store-text strong {
    font-size: 0.9rem;
}

.modal-footer {
    padding: 15px 20px;
    text-align: center;
    background-color: #f5f5f5;
}

.continue-web-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
}

.continue-web-btn:hover {
    color: #333;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .video-chat-container {
        flex-direction: column;
    }
    
    .video-waiting-area, .featured-users {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .user-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .user-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-download-options {
        flex-direction: column;
        align-items: center;
    }
}


/* ===== 弹窗样式修复 ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: #ffffff;
    margin: 8% auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease-out;
    overflow: hidden;
    position: relative;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
    text-align: center;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.close-modal:hover {
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.modal-body p {
    margin-bottom: 25px;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.app-download-options,
.modal-download-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.app-store-btn,
.play-store-btn,
.download-button {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    background: white;
}

.app-store-btn:hover,
.play-store-btn:hover,
.download-button:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.app-store-btn img,
.play-store-btn img,
.download-button img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    object-fit: contain;
}

.store-text,
.download-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-text span,
.download-text span {
    font-size: 12px;
    color: #666;
}

.store-text strong,
.download-text strong {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.modal-footer {
    padding: 20px 30px;
    background-color: #f8f9fa;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.continue-web-btn {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.continue-web-btn:hover {
    background: #667eea;
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 25px 20px;
    }
    
    .modal-footer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        margin: 5% auto;
    }
    
    .app-store-btn,
    .play-store-btn,
    .download-button {
        padding: 10px 15px;
    }
    
    .app-store-btn img,
    .play-store-btn img,
    .download-button img {
        width: 35px;
        height: 35px;
        margin-right: 12px;
    }
    
    .store-text strong,
    .download-text strong {
        font-size: 14px;
    }
}
/* ===== 移动端适配修复 ===== */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}
