@charset "utf-8";
/*
    Theme Name: 时光棋牌
    Theme URI: https://www.shiguangqipai.com/
    Author: 阿叶
    Version: v1.0.0
*/


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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}
a,a:hover {
    text-decoration: none;
}
.sgqp-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.sgqp-navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.sgqp-navbar .sgqp-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.sgqp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sgqp-logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.sgqp-logo h1 {
    color: #2774d0;
    font-size: 20px;
    font-weight: bold;
}

.sgqp-nav-links {
    display: flex;
    list-style: none;
}

.sgqp-nav-links li {
    margin-left: 30px;
}

.sgqp-nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.sgqp-nav-links a:hover {
    color: #2774d0;
}

.sgqp-nav-buttons {
    display: flex;
    gap: 15px;
}

/* 按钮样式 */
.sgqp-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.sgqp-btn-primary {
    background-color: #ff9800;
    color: #fff;
}

.sgqp-btn-secondary {
    background-color: #fff;
    color: #2774d0;
    border: 1px solid #2774d0;
}

.sgqp-btn-large {
    padding: 10px 20px;
    font-size: 15px;
}

/* 英雄区域样式 */
.sgqp-haeaf {
    background: linear-gradient(135deg, #2774d0, #1a5bb8);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.sgqp-haeaf-content {
    max-width: 800px;
    margin: 0 auto;
}
.sgqp-haeaf-content .h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}
.sgqp-haeaf h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.sgqp-haeaf p {
    font-size: 20px;
    line-height: 40px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.sgqp-haeaf-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 游戏展示样式 */
.sgqp-game-showcase {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.sgqp-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.sgqp-showcase-item {
    overflow: hidden;
}

.sgqp-showcase-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* 游戏种类样式 */
.sgqp-games {
    padding: 60px 0;
    background-color: #fff;
}

.sgqp-section-title {
    text-align: center;
    font-weight: bold;
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
    position: relative;
}

.sgqp-section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: #efac2b;
    margin: 15px auto 0;
}

.sgqp-game-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.sgqp-game-card {
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sgqp-game-icon {
    font-size: 48px;
    color: #2774d0;
}

.sgqp-game-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}
.sgqp-game-card .title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.sgqp-game-card p {
    color: #666;
}

/* 特色功能样式 */
.sgqp-features {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.sgqp-features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.sgqp-feature-card {
    background-color: #fff;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sgqp-feature-icon {
    font-size: 48px;
    color: #2774d0;
    margin-bottom: 20px;
}

.sgqp-feature-card .title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.sgqp-feature-card p {
    color: #666;
}

/* 关于我们样式 */
.sgqp-about {
    padding: 60px 0;
    background-color: #fff;
}

.sgqp-about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.sgqp-about-content p {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
}

/* 下载中心样式 */
.sgqp-download {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.sgqp-download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.sgqp-download-card {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 6px;
}

.sgqp-download-icon {
    font-size: 48px;
    color: #2774d0;
    margin-bottom: 20px;
}

.sgqp-download-card .title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.sgqp-download-card p {
    color: #666;
    margin-bottom: 20px;
}

.sgqp-qr-code {
    width: 100px;
    height: 100px;
    background-color: #f0f0f0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
}

.sgqp-qr-code p {
    margin: 0;
    font-size: 12px;
    color: #999;
}

/* 玩家评价样式 */
.sgqp-testimonials {
    padding: 60px 0;
    background-color: #fff;
}

.sgqp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.sgqp-testimonial-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 6px;
}

.sgqp-testimonial-rating {
    color: #efac2b;
    margin-bottom: 15px;
    font-size: 18px;
}

.sgqp-testimonial-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.sgqp-testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sgqp-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #2774d0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.sgqp-author-info .name {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.sgqp-author-info p {
    font-size: 14px;
    color: #999;
    margin: 0;
}

/* 分页样式 */
.sgqp-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.sgqp-page-link {
    display: inline-block;
    padding: 10px 15px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.sgqp-page-link:hover {
    background-color: #2774d0;
    color: #fff;
}

.sgqp-page-link.active {
    background-color: #2774d0;
    color: #fff;
}

/* 页脚样式 */
.sgqp-footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

.sgqp-footer-bottom {
    text-align: center;
    color: #ccc;
    font-size: 14px;
}

/* 导航栏滚动效果 */
.sgqp-navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .sgqp-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .sgqp-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .sgqp-download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sgqp-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .sgqp-nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .sgqp-nav-links.active {
        display: flex;
    }

    .sgqp-navbar .sgqp-container {
        position: relative;
    }

    .sgqp-menu-toggle {
        display: none;
        font-size: 24px;
        cursor: pointer;
    }

    .sgqp-nav-links li {
        margin: 0 10px;
    }

    .sgqp-haeaf h2 {
        font-size: 36px;
    }

    .sgqp-haeaf-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .sgqp-haeaf-buttons .sgqp-btn {
        width: 100%;
        text-align: center;
    }
    
    .sgqp-haeaf-buttons .sgqp-btn-secondary {
        display: none;
    }

    .sgqp-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sgqp-game-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sgqp-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sgqp-download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sgqp-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

} 

@media (max-width: 480px) {
    .sgqp-haeaf h2 {
        font-size: 28px;
    }

    .sgqp-haeaf p {
        line-height: 32px;
        font-size: 16px;
    }

    .sgqp-showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .sgqp-game-grid {
        grid-template-columns: 1fr;
    }
    
    .sgqp-features-grid {
        grid-template-columns: 1fr;
    }
    
    .sgqp-download-grid {
        grid-template-columns: 1fr;
    }
    
    .sgqp-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .sgqp-section-title {
        font-size: 28px;
    }

    .sgqp-footer-content {
        grid-template-columns: 1fr;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}