/* ==================== 公共基础样式 - VN10 模板 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #1e293b 75%, #0f172a 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%;
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* 移除网格背景以提升性能 */

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

/* ==================== Header 样式 ==================== */
.header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

/* Logo 样式 */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 主导航样式 */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo {
    height: 55px;
    max-width: 200px;
    object-fit: contain;
}

a .logo {
    display: block;
    transition: opacity 0.3s, transform 0.3s;
}

a:hover .logo {
    opacity: 0.9;
    transform: scale(1.05);
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

/* ==================== 按钮样式 ==================== */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.btn-login {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    position: relative;
    animation: blink-fast 0.8s ease-in-out infinite;
    will-change: opacity, box-shadow;
}

.btn-register {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
    position: relative;
    animation: blink-fast-register 0.8s ease-in-out infinite 0.4s;
    will-change: opacity, box-shadow;
}

@keyframes blink-fast {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    }
    50% { 
        opacity: 0.75;
        box-shadow: 0 4px 25px rgba(139, 92, 246, 0.7);
    }
}

@keyframes blink-fast-register {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
    }
    50% { 
        opacity: 0.75;
        box-shadow: 0 4px 25px rgba(236, 72, 153, 0.7);
    }
}

.btn:hover {
    transform: translateY(-2px);
    animation: none;
    opacity: 1;
}

/* ==================== 导航样式 ==================== */
.nav {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    min-width: max-content;
    justify-content: center;
}

.nav-item {
    flex-shrink: 0;
}

.nav-link {
    color: #e2e8f0;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    display: block;
    white-space: nowrap;
    background: rgba(139, 92, 246, 0.1);
}

.nav-link:hover {
    background: rgba(139, 92, 246, 0.3);
    color: white;
    transform: translateY(-2px);
}

/* ==================== Footer 样式 ==================== */
.footer {
    background: rgba(15, 23, 42, 0.95);
    padding: 50px 20px 30px;
    margin-top: 60px;
    border-top: 3px solid rgba(139, 92, 246, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
}

.footer-section {
    margin-bottom: 0;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.footer-info {
    font-size: 14px;
    line-height: 1.8;
    color: #cbd5e1;
}

.footer-info strong {
    color: #60a5fa;
}

.footer-info a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-info a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.footer-links {
    list-style: none;
    margin-top: 15px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #60a5fa;
    transform: translateX(5px);
}

/* Footer 资讯列表样式 */
.footer-articles {
    margin-top: 15px;
    min-height: 150px;
}

.footer-articles-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-article-item {
    margin-bottom: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
}

.footer-article-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.footer-article-item::before {
    content: "▶";
    color: #60a5fa;
    margin-right: 10px;
    font-size: 12px;
    display: inline-block;
}

.footer-article-item a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.3s;
    display: inline-block;
    width: calc(100% - 25px);
    word-wrap: break-word;
}

.footer-article-item a:hover {
    color: #60a5fa;
    text-decoration: underline;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    color: #94a3b8;
    font-size: 13px;
}

/* ==================== Main Footer 样式 (匹配 footer.html) ==================== */
.main-footer {
    background: rgba(15, 23, 42, 0.95);
    padding: 50px 20px 30px;
    margin-top: 60px;
    border-top: 3px solid rgba(139, 92, 246, 0.3);
}

.main-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
}

.main-footer .footer-column {
    margin-bottom: 0;
}

.main-footer .footer-column h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-footer .footer-column p {
    font-size: 14px;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.main-footer .footer-column p strong {
    color: #60a5fa;
}

.main-footer .footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.main-footer .footer-column ul li a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
}

.main-footer .footer-column ul li a:hover {
    color: #60a5fa;
    transform: translateX(5px);
}

.main-footer .footer-column address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
    color: #cbd5e1;
}

.main-footer .footer-column address p {
    margin-bottom: 10px;
}

.main-footer .footer-column address a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s;
}

.main-footer .footer-column address a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.main-footer .footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    color: #94a3b8;
    font-size: 13px;
}

.main-footer .footer-bottom p {
    margin-bottom: 5px;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 991px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 20px 20px;
        transition: left 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 5px;
    }
    
    .main-nav .nav-item {
        width: 100%;
    }
    
    .main-nav .nav-link {
        width: 100%;
        padding: 12px 15px;
        text-align: left;
    }
    
    .auth-buttons {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .header {
        padding: 12px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .header-container {
        gap: 10px;
    }
    
    .header-top {
        margin-bottom: 12px;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .logo {
        height: 40px;
        max-width: 140px;
    }
    
    .auth-buttons {
        gap: 8px;
        flex-shrink: 0;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 12px;
        letter-spacing: 0.5px;
    }
    
    .nav {
        padding: 10px;
        margin-top: 8px;
    }
    
    .nav-link {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-section {
        margin-bottom: 25px;
    }
    
    .footer-articles {
        min-height: auto;
    }
    
    /* Main Footer 响应式 */
    .main-footer {
        padding: 35px 15px 25px;
        margin-top: 40px;
    }
    
    .main-footer .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .main-footer .footer-column {
        margin-bottom: 15px;
    }
    
    .main-footer .footer-column h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .main-footer .footer-bottom {
        padding-top: 20px;
        margin-top: 20px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 1200px;
    }
}

/* ==================== 首页特有样式 - VN10 模板 ==================== */
.hero {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    border-radius: 16px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #e2e8f0;
    position: relative;
    z-index: 1;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 20px 45px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
    position: relative;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(59, 130, 246, 0.7);
}

.games-section {
    padding: 50px 20px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.game-card {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid rgba(139, 92, 246, 0.3);
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: #8b5cf6;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.game-icon {
    font-size: 56px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.game-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #a78bfa;
    position: relative;
    z-index: 1;
}

.game-desc {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 20px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.game-btn {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    z-index: 1;
}

.game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5);
}

.promo-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    border-radius: 16px;
    padding: 50px 30px;
    margin: 40px 20px;
    text-align: center;
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.promo-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #a78bfa;
}

.promo-list {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.promo-list li {
    font-size: 16px;
    color: #e2e8f0;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.promo-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.promo-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    padding: 20px 50px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(139, 92, 246, 0.7);
}

.ad-banner {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 16px;
    padding: 35px;
    margin: 40px 20px;
    text-align: center;
    border: 2px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
}

.ad-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.ad-text {
    font-size: 18px;
    font-weight: 700;
    color: #a78bfa;
    margin-bottom: 20px;
}

.ad-btn {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
}

.ad-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(236, 72, 153, 0.5);
}

/* 移动端优化 */
@media (max-width: 767px) {
    .hero {
        padding: 40px 20px;
        margin: 20px 0;
    }
    
    .hero h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .btn-hero {
        padding: 16px 30px !important;
        font-size: 15px !important;
        width: auto;
        max-width: 95%;
        display: inline-block;
        margin: 0 auto;
        white-space: normal !important;
        line-height: 1.5 !important;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .promo-section {
        padding: 30px 20px;
        margin: 30px 15px;
    }
    
    .promo-title {
        font-size: 22px;
    }
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 48px;
    }
    
    .hero p {
        font-size: 22px;
    }
    
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==================== 文章页面专用样式 - VN10 模板 ==================== */
.article-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 50px 40px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

.article-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #60a5fa;
    line-height: 1.3;
    text-align: center;
}

.article-meta {
    text-align: center;
    color: #94a3b8;
    font-size: 15px;
    margin-bottom: 0;
}

.article-meta time {
    color: #94a3b8;
}

.article-content {
    font-size: 18px;
    line-height: 1.7;
    color: #e2e8f0;
    margin-top: 30px;
}

.article-content h1,
.article-content h2,
.article-content h3 {
    color: #60a5fa;
    margin-top: 35px;
    margin-bottom: 18px;
    font-weight: 700;
}

.article-content h2 {
    font-size: 1.8em;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    padding-bottom: 10px;
}

.article-content h3 {
    font-size: 1.5em;
}

.article-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.article-content a {
    color: #60a5fa;
    text-decoration: underline;
    transition: color 0.3s;
}

.article-content a:hover {
    color: #93c5fd;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.back-home {
    text-align: center;
    margin-top: 40px;
}

/* 相关文章样式 */
.related-articles-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(59, 130, 246, 0.3);
}

.related-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #60a5fa;
    text-align: center;
}

.related-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.related-cards > * {
    display: block;
    padding: 20px 25px;
    border-radius: 12px;
    background: rgba(30, 41, 59, 0.6);
    border: 2px solid rgba(59, 130, 246, 0.3);
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.related-cards > *:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.related-cards .related-article-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.4;
    color: #60a5fa;
}

.related-cards .related-article-title a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-cards .related-article-title a:hover {
    color: #93c5fd;
}

.related-cards .related-article-meta {
    font-size: 14px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-articles-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.related-article-item {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 12px;
    padding: 25px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.related-article-item:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    background: rgba(30, 41, 59, 0.8);
}

.related-article-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.related-article-title a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s;
}

.related-article-title a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.related-article-meta {
    font-size: 14px;
    color: #94a3b8;
}

/* 文章导航样式 */
.article-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid rgba(59, 130, 246, 0.3);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.prev-article,
.next-article {
    flex: 1;
    min-width: 280px;
}

.prev-article-link,
.next-article-link {
    display: block;
    padding: 20px;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 12px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    color: #e2e8f0;
}

.prev-article-link:hover,
.next-article-link:hover {
    transform: translateY(-3px);
    border-color: #3b82f6;
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
    background: rgba(30, 41, 59, 0.8);
}

.prev-article-link strong,
.next-article-link strong {
    display: block;
    color: #60a5fa;
    margin-bottom: 8px;
    font-size: 14px;
}

.prev-article-link span,
.next-article-link span {
    display: block;
    font-size: 16px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .article-container {
        padding: 30px 20px;
        margin: 20px 15px;
    }
    
    .article-title {
        font-size: 26px;
    }
    
    .article-content {
        font-size: 16px;
    }
    
    .related-title {
        font-size: 22px;
    }
    
    .related-article-item {
        padding: 20px;
    }
    
    .related-article-title {
        font-size: 16px;
    }
    
    .related-cards > * {
        padding: 16px 20px;
    }
    
    .related-cards .related-article-title {
        font-size: 16px;
    }
    
    .related-cards .related-article-meta {
        font-size: 13px;
    }
    
    .nav-wrapper {
        flex-direction: column;
    }
    
    .prev-article,
    .next-article {
        min-width: 100%;
    }
}

/* ==================== Markdown 样式支持 ==================== */
.article-content pre {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #e2e8f0;
}

.article-content pre code {
    background: transparent;
    padding: 0;
    border: none;
    font-size: inherit;
    color: inherit;
}

.article-content code {
    background: rgba(15, 23, 42, 0.6);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    color: #60a5fa;
}

.article-content ul, 
.article-content ol {
    margin: 20px 0;
    padding-left: 35px;
    line-height: 1.7;
}

.article-content li {
    margin: 8px 0;
    line-height: 1.7;
}

.article-content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 20px;
    margin: 20px 0;
    color: #cbd5e1;
    font-style: italic;
    line-height: 1.7;
    background: rgba(30, 41, 59, 0.4);
    padding: 15px 20px;
    border-radius: 8px;
}

.article-content hr {
    border: none;
    border-top: 2px solid rgba(59, 130, 246, 0.3);
    margin: 35px 0;
}

.article-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 8px;
    overflow: hidden;
}

.article-content table th,
.article-content table td {
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 12px 15px;
    text-align: left;
    line-height: 1.6;
}

.article-content table th {
    background: rgba(59, 130, 246, 0.2);
    font-weight: 700;
    color: #60a5fa;
}

/* ==================== 图片区域样式 ==================== */
.image-section {
    margin: 30px 0;
    text-align: center;
}

.image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ==================== CTA 区域样式 ==================== */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    margin: 40px 0;
}

.cta-section h2 {
    color: #fff !important;
    font-size: 28px;
    margin: 0 0 15px 0 !important;
    border: none !important;
    padding: 0 !important;
}

.cta-section p {
    color: #fff;
    font-size: 18px;
    margin: 0 0 25px 0;
}

.cta-section .btn {
    padding: 18px 50px;
    font-size: 18px;
}

.btn-large {
    padding: 18px 50px !important;
    font-size: 18px !important;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 30px 20px;
    }
    
    .cta-section h2 {
        font-size: 22px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
    
    .cta-section .btn,
    .btn-large {
        padding: 14px 30px !important;
        font-size: 16px !important;
    }
}







/* ==================== 通用页面样式（用于thethao, songbai等页面）- VN10 模板 ==================== */
.page-hero {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    border-radius: 16px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.page-hero h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.page-hero .icon {
    font-size: 72px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.page-hero p {
    font-size: 19px;
    margin-bottom: 30px;
    color: #e2e8f0;
    position: relative;
    z-index: 1;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-section {
    padding: 40px 20px;
}

.content-box {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 30px;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.content-box h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #a78bfa;
}

.content-box p {
    font-size: 17px;
    line-height: 1.8;
    color: #e2e8f0;
    margin-bottom: 25px;
}

.features-list {
    list-style: none;
    margin: 25px 0;
    padding: 0;
}

.features-list li {
    padding: 18px 20px;
    margin-bottom: 15px;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 12px;
    border-left: 4px solid #8b5cf6;
    font-size: 16px;
    color: #e2e8f0;
    line-height: 1.6;
}

.features-list li::before {
    content: '✓ ';
    color: #ec4899;
    font-weight: 900;
    margin-right: 12px;
}

.games-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 30px 0;
}

.game-item {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 12px;
    padding: 25px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-item:hover {
    transform: translateY(-5px);
    border-color: #8b5cf6;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
    background: rgba(30, 41, 59, 0.8);
}

.game-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #a78bfa;
}

.game-item p {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.7;
}

.image-section {
    margin: 35px 0;
    text-align: center;
}

.image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cta-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    border-radius: 16px;
    padding: 50px 30px;
    margin: 40px 20px;
    text-align: center;
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta-title {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #a78bfa;
}

.cta-text {
    font-size: 18px;
    margin-bottom: 30px;
    color: #e2e8f0;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    padding: 20px 50px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(139, 92, 246, 0.7);
}

.ad-banner {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 20px;
    text-align: center;
    border: 2px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
}

.ad-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.ad-text {
    font-size: 18px;
    font-weight: 700;
    color: #a78bfa;
    margin-bottom: 20px;
}

.ad-btn {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
}

.ad-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(236, 72, 153, 0.5);
}

/* 移动端优化 */
@media (max-width: 767px) {
    .page-hero {
        padding: 40px 20px;
        margin: 20px 0;
    }
    
    .page-hero h1 {
        font-size: 26px;
        margin-bottom: 18px;
    }
    
    .page-hero .icon {
        font-size: 48px;
        margin-bottom: 18px;
    }
    
    .page-hero p {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .content-box {
        padding: 25px 20px;
    }
    
    .content-box h2 {
        font-size: 22px;
    }
    
    .cta-section {
        padding: 35px 20px;
        margin: 30px 15px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-text {
        font-size: 16px;
    }
    
    .cta-btn {
        padding: 16px 35px;
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .page-hero h1 {
        font-size: 48px;
    }
    
    .games-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==================== Download页面专用样式 ==================== */
.download-top-btn {
    text-align: center;
    padding: 0 0 30px 0;
    margin-bottom: 0;
}

.download-top-btn .btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    padding: 20px 50px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-top-btn .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(139, 92, 246, 0.7);
}

.download-hero {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    border-radius: 16px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(139, 92, 246, 0.3);
}


.download-hero .icon {
    font-size: 72px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.download-hero h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.download-hero p {
    font-size: 19px;
    margin-bottom: 30px;
    color: #e2e8f0;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.rating-section {
    text-align: center;
    padding: 40px 25px;
    margin: 40px 0;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 16px;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.rating-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #a78bfa;
}

.rating-stars {
    font-size: 36px;
    margin-bottom: 15px;
}

.rating-text {
    font-size: 20px;
    font-weight: 700;
    color: #a78bfa;
    margin-bottom: 12px;
}

.rating-count {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.7;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-card {
    background: rgba(30, 41, 59, 0.6);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #8b5cf6;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
    background: rgba(30, 41, 59, 0.8);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #a78bfa;
}

.feature-desc {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.7;
}

.app-screenshot {
    text-align: center;
    margin: 40px 0;
}

.app-screenshot img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.download-buttons {
    text-align: center;
    margin: 40px 0;
}

.download-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    padding: 20px 50px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(139, 92, 246, 0.7);
}

/* Download页面移动端优化 */
@media (max-width: 767px) {
    .download-hero {
        padding: 40px 20px;
        margin: 20px 0;
    }
    
    .download-hero h1 {
        font-size: 26px;
        margin-bottom: 18px;
    }
    
    .download-hero .icon {
        font-size: 48px;
        margin-bottom: 18px;
    }
    
    .download-hero p {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .app-features {
        grid-template-columns: 1fr;
    }
    
    .rating-section {
        padding: 30px 20px;
        margin: 30px 0;
    }
    
    .rating-title {
        font-size: 22px;
    }
    
    .download-btn {
        padding: 16px 35px;
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .download-hero h1 {
        font-size: 48px;
    }
    
    .app-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

