"/* WG1 响应式模板样式 - 深蓝科技风格 */

/* ==================== 重置样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 50%, #0d1f3c 100%);
    color: #e0e6ed;
    min-height: 100vh;
    line-height: 1.6;
}

a {
    color: #4db8ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #7dd3ff;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

/* ==================== 容器 ==================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==================== 头部导航 ==================== */
.header {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(77, 184, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
}

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

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

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    margin-left: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
}

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

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list li {
    list-style: none;
}

.nav-list a {
    color: #b8c5d6;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
    color: #4db8ff;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4db8ff, #00d4aa);
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

/* ==================== Banner区域 ==================== */
.banner {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 50%, #00ccff 100%);
    padding: 100px 0 60px;
    margin-top: 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0.5;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-logo img {
    width: 50px;
    height: 50px;
}

.banner h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ==================== 主体内容区 ==================== */
.main {
    padding: 40px 0;
    min-height: calc(100vh - 70px - 200px);
}

.main-index {
    margin-top: 0;
}

.main-detail {
    margin-top: 70px;
    padding-top: 40px;
}

/* ==================== 区块标题 ==================== */
.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(77, 184, 255, 0.2);
}

.section-title h2 {
    font-size: 1.5rem;
    color: #fff;
    position: relative;
    padding-left: 15px;
}

.section-title h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #4db8ff, #00d4aa);
    border-radius: 2px;
}

.section-title .more {
    margin-left: auto;
    font-size: 0.9rem;
    color: #8a9bae;
}

.section-title .more:hover {
    color: #4db8ff;
}

/* ==================== 文章列表 ==================== */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.article-item {
    background: rgba(26, 42, 74, 0.6);
    border: 1px solid rgba(77, 184, 255, 0.15);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.article-item:hover {
    background: rgba(26, 42, 74, 0.9);
    border-color: rgba(77, 184, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.article-cover {
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(77, 184, 255, 0.1);
}

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

.article-item:hover .article-cover img {
    transform: scale(1.05);
}

.article-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.article-title a {
    color: #fff;
}

.article-title a:hover {
    color: #4db8ff;
}

.article-desc {
    font-size: 0.9rem;
    color: #8a9bae;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: #6b7c93;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==================== 文章详情页 ==================== */
.detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(77, 184, 255, 0.2);
}

.detail-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: #8a9bae;
}

.detail-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-content {
    background: rgba(26, 42, 74, 0.4);
    border: 1px solid rgba(77, 184, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.detail-content p {
    margin-bottom: 1.5em;
    line-height: 1.8;
    color: #c8d4e3;
}

.detail-content img {
    border-radius: 8px;
    margin: 20px 0;
}

.detail-content h2,
.detail-content h3 {
    color: #fff;
    margin: 1.5em 0 0.8em;
}

/* ==================== 相关推荐 ==================== */
.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.related-item {
    background: rgba(26, 42, 74, 0.6);
    border: 1px solid rgba(77, 184, 255, 0.15);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
}

.related-item:hover {
    border-color: rgba(77, 184, 255, 0.4);
    transform: translateY(-2px);
}

.related-item .article-title {
    font-size: 1rem;
    -webkit-line-clamp: 1;
}

/* ==================== 分页 ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: rgba(26, 42, 74, 0.6);
    border: 1px solid rgba(77, 184, 255, 0.2);
    border-radius: 8px;
    color: #b8c5d6;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: rgba(77, 184, 255, 0.2);
    border-color: #4db8ff;
    color: #fff;
}

.pagination .current {
    background: linear-gradient(135deg, #4db8ff, #00d4aa);
    border-color: transparent;
    color: #fff;
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==================== 底部 ==================== */
.footer {
    background: rgba(10, 22, 40, 0.95);
    border-top: 1px solid rgba(77, 184, 255, 0.2);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #8a9bae;
    line-height: 1.6;
}

.footer-links h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #8a9bae;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #4db8ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(77, 184, 255, 0.1);
    font-size: 0.85rem;
    color: #6b7c93;
}

.footer-bottom a {
    color: #8a9bae;
}

/* ==================== 服务卡片 ==================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
    background: rgba(26, 42, 74, 0.6);
    border: 1px solid rgba(77, 184, 255, 0.15);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(77, 184, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.service-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.85rem;
    color: #8a9bae;
}

/* ==================== 合作伙伴 ==================== */
.cooperator-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.cooperator-item {
    background: rgba(26, 42, 74, 0.4);
    border: 1px solid rgba(77, 184, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cooperator-item:hover {
    border-color: rgba(77, 184, 255, 0.3);
    background: rgba(26, 42, 74, 0.6);
}

.cooperator-item img {
    max-height: 40px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.cooperator-item:hover img {
    opacity: 1;
}

/* ==================== 游戏展示 ==================== */
.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.game-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(26, 42, 74, 0.6);
    border: 1px solid rgba(77, 184, 255, 0.15);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(77, 184, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.game-info {
    padding: 20px;
    text-align: center;
}

.game-info h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 8px;
}

.game-info p {
    font-size: 0.9rem;
    color: #8a9bae;
}

/* ==================== 超级包网 ==================== */
.superpack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.superpack-item {
    background: rgba(26, 42, 74, 0.4);
    border: 1px solid rgba(77, 184, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.superpack-item:hover {
    border-color: rgba(77, 184, 255, 0.3);
    background: rgba(26, 42, 74, 0.6);
    transform: translateY(-3px);
}

.superpack-item img {
    max-width: 100%;
    max-height: 80px;
}

/* ==================== 邀请返利 ==================== */
.invitation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.invitation-item {
    background: rgba(26, 42, 74, 0.4);
    border: 1px solid rgba(77, 184, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.invitation-item:hover {
    border-color: rgba(77, 184, 255, 0.3);
    background: rgba(26, 42, 74, 0.6);
    transform: translateY(-3px);
}

.invitation-item img {
    max-width: 100%;
    max-height: 120px;
}

/* ==================== 多平台支持 ==================== */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.platform-item {
    background: rgba(26, 42, 74, 0.4);
    border: 1px solid rgba(77, 184, 255, 0.1);
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.platform-item:hover {
    border-color: rgba(77, 184, 255, 0.3);
    background: rgba(26, 42, 74, 0.6);
    transform: translateY(-3px);
}

.platform-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.platform-item span {
    display: block;
    font-size: 0.9rem;
    color: #b8c5d6;
}

/* ==================== 返回顶部 ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4db8ff, #00d4aa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(77, 184, 255, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* ==================== 响应式设计 ==================== */
@media screen and (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cooperator-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .superpack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .invitation-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .platform-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .nav-list {
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .header {
        height: 60px;
    }
    
    .banner {
        padding: 80px 0 40px;
        margin-top: 60px;
    }
    
    .banner h1 {
        font-size: 1.8rem;
    }
    
    .main-detail {
        margin-top: 60px;
    }
    
    /* 移动端导航 */
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-list li {
        border-bottom: 1px solid rgba(77, 184, 255, 0.1);
    }
    
    .nav-list a {
        display: block;
        padding: 15px 0;
    }
    
    /* 文章列表 */
    .article-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .article-cover {
        width: 100%;
        height: 180px;
    }
    
    /* 服务卡片 */
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .cooperator-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .game-grid {
        grid-template-columns: 1fr;
    }
    
    .game-card img {
        height: 180px;
    }
    
    .superpack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .invitation-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* 底部 */
    .footer-content {
        flex-direction: column;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    /* 详情页 */
    .detail-title {
        font-size: 1.4rem;
    }
    
    .detail-content {
        padding: 20px;
    }
    
    .detail-meta {
        gap: 10px;
    }
    
    .related-list {
        grid-template-columns: 1fr;
    }
    
    /* 分页 */
    .pagination a,
    .pagination span {
        min-width: 35px;
        height: 35px;
        padding: 0 8px;
        font-size: 0.85rem;
    }
    
    /* 返回顶部 */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .banner h1 {
        font-size: 1.5rem;
    }
    
    .banner p {
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.2rem;
    }
    
    .article-item {
        padding: 15px;
    }
    
    .cooperator-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .superpack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}"