/* ==================== VN08 统一样式表 ==================== */
/* 此文件包含所有页面共用的样式，每个页面只需引用此文件即可 */

/* ==================== 颜色变量 ==================== */
:root {
    --primary: #ffd700;
    --primary-light: #ffb347;
    --primary-dark: #e6c200;
    --bg-dark: #0a0e27;
    --bg-medium: #1a1f3a;
    --bg-light: #2d1b4e;
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;
    --border-color: rgba(255, 215, 0, 0.3);
    --shadow-gold: rgba(255, 215, 0, 0.4);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-medium) 50%, var(--bg-light) 100%);
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
}

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

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

/* ==================== Header 样式 - 金色调 ==================== */
.header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 30px var(--shadow-gold);
}

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

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

.logo {
    height: 50px;
    max-width: 180px;
}

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: 10px;
}

/* ==================== 按钮样式 - 金色调 ==================== */
.btn {
    padding: 12px 22px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-login {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.5);
}

.btn-register {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-dark);
    box-shadow: 0 5px 20px var(--shadow-gold);
}

.btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 25px var(--shadow-gold);
}

/* ==================== 导航样式 - 金色调 ==================== */
.nav {
    background: rgba(255, 215, 0, 0.15);
    border-radius: 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    min-width: max-content;
    margin: 0;
    padding: 0;
}

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

.nav-link {
    color: var(--primary);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    display: block;
    white-space: nowrap;
    background: rgba(255, 215, 0, 0.1);
}

.nav-link:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

/* ==================== Footer 样式 - 金色调 ==================== */
.footer,
.main-footer {
    background: rgba(0, 0, 0, 0.95);
    padding: 40px 20px 25px;
    margin-top: 50px;
    border-top: 3px solid var(--border-color);
    color: var(--text-light);
}

.main-footer {
    padding: 50px 20px 30px;
    margin-top: 60px;
}

.footer .container,
.main-footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.main-footer .footer-content {
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.footer-section,
.footer-column {
    margin-bottom: 0;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-title,
.footer-column h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary);
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    width: 100%;
    text-align: left;
}

.footer-info,
.footer-column p {
    font-size: 14px;
    line-height: 2;
    color: #d0d0d0;
}

.footer-column p {
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-align: left;
    width: 100%;
}

.footer-info strong {
    color: var(--primary);
}

.footer-links,
.footer-column ul {
    list-style: none;
    margin-top: 15px;
    padding: 0;
    width: 100%;
}

.footer-links li,
.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li {
    margin-bottom: 12px;
    line-height: 1.6;
    text-align: left;
}

.footer-links a,
.footer-column ul li a {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column ul li a {
    color: var(--text-muted);
    transition: all 0.3s ease;
    display: inline-block;
    padding: 4px 0;
    text-align: left;
}

.footer-links a:hover,
.footer-column ul li a:hover {
    color: var(--primary);
}

.footer-column ul li a:hover {
    padding-left: 8px;
}

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

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

.footer-article-item {
    margin-bottom: 10px;
    padding-left: 0;
    position: relative;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

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

.footer-article-item::before {
    content: "▶";
    color: var(--primary);
    margin-right: 8px;
    font-size: 12px;
    display: inline-block;
    vertical-align: middle;
}

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

.footer-article-item a:hover {
    color: var(--primary);
    text-decoration: underline;
    transform: translateX(3px);
}

.footer-bottom,
.main-footer .footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    color: #999;
    font-size: 13px;
}

.main-footer .footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    margin-top: 30px;
}

.main-footer .footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 8px 0;
    line-height: 1.6;
}

/* ==================== 首页特有样式 ==================== */
.hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 107, 107, 0.2) 100%);
    border-radius: 25px;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
}

.hero .btn-hero {
    margin-top: 10px;
}

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

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.hero-buttons .btn-hero {
    margin-top: 0;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-dark);
}

.btn-hero-secondary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.5);
}

.btn-hero-secondary:hover {
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.7);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero h1 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.btn-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-dark);
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 900;
    border-radius: 35px;
    box-shadow: 0 8px 30px var(--shadow-gold);
    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.3;
    cursor: pointer;
}

.btn-hero:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.8);
}

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

.section-title {
    font-size: 28px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.game-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 107, 107, 0.15) 100%);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.game-card:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 15px 40px var(--shadow-gold);
}

.game-card:hover::before {
    opacity: 1;
}

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

.game-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.game-desc {
    font-size: 13px;
    color: #d0d0d0;
    margin-bottom: 15px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.game-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.game-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.5);
}

/* Features Section */
.features-section {
    padding: 40px 20px;
    background: rgba(255, 215, 0, 0.05);
    margin: 30px 0;
    border-radius: 25px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px var(--shadow-gold);
}

.feature-item .feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.feature-item h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary);
}

.feature-item p {
    font-size: 14px;
    color: #d0d0d0;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 767px) {
    .features-section {
        padding: 30px 15px;
        margin: 20px 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-item {
        padding: 20px 15px;
    }
    
    .feature-item .feature-icon {
        font-size: 36px;
    }
    
    .feature-item h4 {
        font-size: 16px;
    }
    
    .feature-item p {
        font-size: 13px;
    }
}

.promo-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 107, 107, 0.2) 100%);
    border-radius: 25px;
    padding: 35px 25px;
    margin: 30px 20px;
    text-align: center;
    border: 3px solid rgba(255, 215, 0, 0.4);
}

.promo-title {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--primary);
}

.promo-text {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--text-light);
    line-height: 1.7;
}

.promo-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-dark);
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 900;
    border-radius: 35px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 30px var(--shadow-gold);
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.8);
}

/* ==================== 通用页面样式（用于thethao, songbai等页面） ==================== */
.page-hero {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 107, 107, 0.2) 100%);
    border-radius: 25px;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

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

.page-hero h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

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

.page-hero p {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

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

.content-box {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    border: 2px solid var(--border-color);
}

.content-box h2 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--primary);
}

.content-box p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

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

.features-list li {
    padding: 15px;
    margin-bottom: 12px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    font-size: 16px;
    color: #fff;
}

.features-list li::before {
    content: '✓ ';
    color: var(--primary);
    font-weight: 900;
    margin-right: 10px;
}

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

.game-item {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.game-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px var(--shadow-gold);
}

.game-item h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary);
}

.game-item p {
    font-size: 15px;
    color: #d0d0d0;
    line-height: 1.6;
}

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

.image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cta-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 107, 107, 0.2) 100%);
    border-radius: 25px;
    padding: 40px 25px;
    margin: 30px 20px;
    text-align: center;
    border: 3px solid rgba(255, 215, 0, 0.4);
}

.cta-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--primary);
}

.cta-text {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--text-light);
    line-height: 1.7;
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-dark);
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 900;
    border-radius: 35px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 30px var(--shadow-gold);
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.8);
}

.ad-banner {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(255, 215, 0, 0.2) 100%);
    border-radius: 20px;
    padding: 25px;
    margin: 25px 20px;
    text-align: center;
    border: 2px solid var(--border-color);
}

.ad-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 15px;
}

.ad-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.ad-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s;
    text-transform: uppercase;
}

.ad-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

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

.download-top-btn .btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-dark);
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 900;
    border-radius: 35px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 30px var(--shadow-gold);
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-top-btn .btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.8);
}

.download-hero {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 107, 107, 0.2) 100%);
    border-radius: 25px;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
}

.download-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

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

.download-hero h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.download-hero p {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.rating-section {
    text-align: center;
    padding: 30px 20px;
    margin: 30px 0;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    border: 2px solid var(--border-color);
}

.rating-title {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--primary);
}

.rating-stars {
    font-size: 32px;
    margin-bottom: 10px;
}

.rating-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.rating-count {
    font-size: 14px;
    color: #d0d0d0;
    line-height: 1.6;
}

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

.feature-card {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px var(--shadow-gold);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary);
}

.feature-desc {
    font-size: 15px;
    color: #d0d0d0;
    line-height: 1.6;
}

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

.app-screenshot img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.download-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-dark);
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 900;
    border-radius: 35px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 30px var(--shadow-gold);
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.8);
}

/* ==================== 文章页面专用样式 ==================== */
.breadcrumb {
    padding: 15px 0;
    margin-bottom: 20px;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb-list li a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-list li a:hover {
    text-decoration: underline;
}

/* 文章容器 */
.article-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    margin-bottom: 60px;
}

.article-container article {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.article-container article h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary);
    line-height: 1.3;
    text-align: center;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-muted);
}

.article-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-light);
    margin-top: 30px;
}

.article-content h1,
.article-content h2,
.article-content h3 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 35px 0 18px;
    padding-left: 15px;
    border-left: 4px solid var(--primary);
    border-bottom: none;
    padding-bottom: 0;
}

.article-content h3 {
    color: var(--text-white);
    font-size: 18px;
    font-weight: 600;
    margin: 28px 0 14px;
}

.article-content p {
    margin-bottom: 16px;
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
}

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

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px auto;
    display: block;
}

.article-content ul, 
.article-content ol {
    margin: 18px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content blockquote {
    margin: 20px 0;
    padding: 18px 22px;
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--text-light);
}

.article-content pre {
    background: #1a1a2e;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    overflow-x: auto;
    margin: 15px 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.4;
}

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

.article-content code {
    background: rgba(255, 215, 0, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    color: var(--primary);
}

.article-content hr {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: 30px 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.article-content th,
.article-content td {
    padding: 12px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.article-content th {
    background: rgba(255, 215, 0, 0.15);
    font-weight: 600;
    color: var(--primary);
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.back-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-gold);
}

/* 作者信息 */
.author-box {
    margin-top: 35px;
    padding: 22px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.author-box h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 16px;
}

.author-box p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* 上下篇导航 */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.post-nav .prev, .post-nav .next {
    padding: 15px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.post-nav .prev:hover, .post-nav .next:hover {
    background: rgba(255, 215, 0, 0.2);
}

.post-nav .label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.post-nav a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.post-nav .next {
    text-align: right;
}

/* 相关文章样式 */
.related-articles-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.related-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 25px;
    color: var(--primary);
    text-align: center;
}

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

.related-article-item {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.related-article-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px var(--shadow-gold);
    background: rgba(255, 215, 0, 0.15);
}

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

.related-article-title a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.widget {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-color);
}

.widget h3 {
    color: var(--primary);
    font-size: 17px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.widget p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.widget a {
    color: var(--primary);
}

.widget .btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-dark);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.widget .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-gold);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 767px) {
    .header {
        padding: 10px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .header-top {
        margin-bottom: 10px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .logo {
        height: 40px;
        max-width: 140px;
    }
    
    .auth-buttons {
        gap: 8px;
        flex-shrink: 0;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 12px;
        letter-spacing: 0.3px;
    }
    
    .nav {
        padding: 10px;
        margin-top: 5px;
    }
    
    .nav-link {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-section,
    .footer-column {
        margin-bottom: 20px;
        padding: 0;
    }
    
    .footer-articles {
        min-height: auto;
    }
    
    .main-footer {
        padding: 40px 15px 20px;
    }
    
    .main-footer .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .main-footer .footer-column h3 {
        font-size: 16px;
    }
    
    /* 首页移动端 */
    .hero {
        padding: 30px 15px;
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .hero p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .btn-hero {
        padding: 12px 18px !important;
        font-size: 13px !important;
        width: auto;
        max-width: 95%;
        display: inline-block;
        margin: 0 auto;
        white-space: normal !important;
        line-height: 1.5 !important;
        min-height: auto;
        word-break: break-word;
        hyphens: auto;
    }
    
    /* 通用页面移动端 */
    .page-hero {
        padding: 30px 15px;
        margin: 15px 0;
    }
    
    .page-hero h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .page-hero .icon {
        font-size: 50px;
        margin-bottom: 15px;
    }
    
    .page-hero p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .content-box {
        padding: 20px;
    }
    
    .content-box h2 {
        font-size: 20px;
    }
    
    .cta-section {
        padding: 25px 15px;
        margin: 20px 15px;
    }
    
    .cta-title {
        font-size: 22px;
    }
    
    .cta-text {
        font-size: 15px;
    }
    
    .cta-btn {
        padding: 14px 30px;
        font-size: 15px;
    }
    
    /* Download页面移动端 */
    .download-hero {
        padding: 30px 15px;
        margin: 15px 0;
    }
    
    .download-hero h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .download-hero .icon {
        font-size: 50px;
        margin-bottom: 15px;
    }
    
    .download-hero p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .app-features {
        grid-template-columns: 1fr;
    }
    
    .rating-section {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .rating-title {
        font-size: 20px;
    }
    
    .download-btn {
        padding: 14px 30px;
        font-size: 15px;
    }
    
    /* 文章页移动端 */
    .article-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
        margin: 20px;
    }
    
    .article-container article {
        padding: 25px 20px;
    }
    
    .article-container article h1 {
        font-size: 22px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-content {
        font-size: 16px;
    }
    
    .related-title {
        font-size: 22px;
    }
    
    .related-article-item {
        padding: 15px;
    }
    
    .related-article-title {
        font-size: 16px;
    }
    
    .post-nav {
        grid-template-columns: 1fr;
    }
}

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

@media (min-width: 992px) {
    .article-container {
        grid-template-columns: 1fr 320px;
        gap: 40px;
    }
}


/* ==================== Footer h4 样式修复 ==================== */
.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

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

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

.footer-section ul li a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    color: #888;
    font-size: 13px;
}

/* ==================== 相关文章样式 ==================== */
.related-section {
    padding: 30px 0;
}

.related-articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.related-article-item {
    display: block;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-article-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.related-article-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1.4;
}

.related-article-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-article-title a:hover {
    color: var(--primary);
}

.related-article-meta {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .related-articles-list {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ==================== Header 样式修复 ==================== */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-link .logo {
    height: 45px;
    max-width: 160px;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo {
    transform: scale(1.05);
}

/* 移动端菜单按钮 */
.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: var(--primary);
    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;
    margin: 0 20px;
}

.main-nav .nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.main-nav .nav-item {
    position: relative;
}

.main-nav .nav-link {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.main-nav .nav-link:hover {
    background: rgba(255, 215, 0, 0.15);
    color: var(--primary);
}

/* 下拉菜单 */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '';
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary);
    padding-left: 25px;
}

/* 认证按钮 */
.auth-buttons {
    display: flex;
    gap: 10px;
}

.auth-buttons .btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.auth-buttons .btn-login {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.auth-buttons .btn-login:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.auth-buttons .btn-register {
    background: linear-gradient(135deg, var(--primary) 0%, #ffb347 100%);
    color: var(--bg-dark);
    border: none;
}

.auth-buttons .btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

/* 移动端响应式 */
@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        margin: 15px 0 0;
        order: 3;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav .nav-menu {
        flex-direction: column;
        gap: 5px;
    }
    
    .main-nav .nav-link {
        padding: 12px 15px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        margin-top: 5px;
        padding-left: 20px;
    }
    
    .auth-buttons {
        order: 2;
    }
    
    .auth-buttons .btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .logo-link .logo {
        height: 35px;
    }
    
    .auth-buttons .btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}
