: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: var(--text-white);
    overflow-x: hidden;
}

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

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

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

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

.logo {
    height: 50px;
    max-width: 180px;
    display: block;
    transition: all 0.3s;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    padding: 10px;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.nav-link {
    color: var(--primary);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 20px;
    font-weight: 600;
    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);
}

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

.dropdown-toggle::after {
    margin-left: 3px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(0, 0, 0, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 0;
    margin-top: 5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

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

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

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* ========== 通用按钮样式 ========== */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 8px 5px;
    max-width: 100%;
}

/* Header 登录/注册按钮 - 统一大小 */
.auth-buttons .btn,
.auth-buttons .btn-login,
.auth-buttons .btn-register {
    padding: 0 !important;
    font-size: 14px !important;
    width: 120px !important;
    height: 44px !important;
    line-height: 44px !important;
    text-align: center !important;
    white-space: nowrap !important;
    border-radius: 22px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    border: 2px solid var(--primary) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

.auth-buttons .btn-login {
    background: transparent !important;
    color: var(--primary) !important;
    box-shadow: none !important;
}

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

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

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px var(--shadow-gold);
}

/* ========== 通用按钮样式 (页面内容区域，排除header) ========== */
main .btn,
.page-hero .btn,
.content-section .btn,
.cta-section .btn,
.download-hero .btn {
    display: inline-block;
    padding: 16px 35px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-dark) !important;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px var(--shadow-gold);
    border: none;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    line-height: 1.4;
    text-align: center;
}

main .btn-register,
.page-hero .btn-register,
.content-section .btn-register,
.cta-section .btn-register {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-dark) !important;
    font-size: 18px;
    font-weight: 700;
    border-radius: 35px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 30px var(--shadow-gold);
    border: none;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    line-height: 1.4;
    text-align: center;
}

main .btn-register:hover,
.page-hero .btn-register:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px var(--shadow-gold);
}

/* CTA 按钮 - 大号醒目按钮 */
.cta-btn,
.ad-btn {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary-light) 100%);
    background-size: 200% 100%;
    color: var(--bg-dark) !important;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.5;
    border-radius: 40px;
    box-shadow: 0 10px 35px var(--shadow-gold);
    transition: all 0.4s ease;
    margin: 15px 0;
    border: none;
    cursor: pointer;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.cta-btn:hover,
.ad-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 45px rgba(255, 215, 0, 0.6);
    background-position: 100% 0;
}

/* 按钮内文字间距 */
.btn span,
.cta-btn span,
.ad-btn span {
    display: inline-block;
    vertical-align: middle;
}

/* ========== Hero Section ========== */
.hero {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 179, 71, 0.1) 100%);
    border-radius: 25px;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.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 4s ease-in-out infinite;
    pointer-events: none;
}

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

.hero h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 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: 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: 16px;
    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;
    cursor: pointer;
    transition: all 0.3s;
}

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

/* ========== Games Section ========== */
.games-section {
    padding: 40px 20px;
}

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

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

.game-card {
    background: rgba(255, 215, 0, 0.08);
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px var(--shadow-gold);
    background: rgba(255, 215, 0, 0.12);
}

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

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

.game-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.5;
}

.game-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-dark);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    display: inline-block;
    transition: all 0.3s;
    text-transform: uppercase;
}

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

/* ========== Promo Section ========== */
.promo-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 179, 71, 0.1) 100%);
    border-radius: 25px;
    padding: 40px 30px;
    margin: 30px 0;
    text-align: center;
    border: 2px solid var(--border-color);
}

.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.8;
}

.promo-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-dark);
    padding: 18px 45px;
    font-size: 16px;
    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;
}

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

/* ========== Ad Banner ========== */
.ad-banner {
    background: rgba(255, 215, 0, 0.08);
    border-radius: 20px;
    padding: 25px;
    margin: 25px 0;
    text-align: center;
    border: 1px 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, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-dark);
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    transition: all 0.3s;
    text-transform: uppercase;
}

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

/* ========== 下载页面 (tai-app) 样式 ========== */
@keyframes pulse-download {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.download-hero {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
    border-radius: 20px;
    margin-bottom: 40px;
}

.download-hero .icon {
    font-size: 70px;
    margin-bottom: 15px;
}

.download-hero h1 {
    color: var(--primary);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.download-hero p {
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 25px;
}

.download-hero .download-btn {
    animation: pulse-download 2s infinite;
}

.rating-section {
    text-align: center;
    padding: 40px 30px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    margin-bottom: 40px;
}

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

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

.rating-text {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.rating-count {
    color: var(--text-light);
    font-size: 15px;
}

.rating-highlight {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.rating-highlight .highlight-title {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.rating-highlight .highlight-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

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

.feature-card {
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

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

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

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

.feature-desc {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

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

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

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

.download-btn {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-dark) !important;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 10px 40px var(--shadow-gold);
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px var(--shadow-gold);
}

/* 下载页面响应式 */
@media (max-width: 768px) {
    .download-hero {
        padding: 40px 15px;
    }
    
    .download-hero .icon {
        font-size: 60px;
    }
    
    .download-hero h1 {
        font-size: 26px;
    }
    
    .download-hero p {
        font-size: 15px;
    }
    
    .rating-section {
        padding: 30px 20px;
    }
    
    .rating-title {
        font-size: 20px;
    }
    
    .rating-stars {
        font-size: 30px;
    }
    
    .rating-text {
        font-size: 18px;
    }
    
    .app-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .feature-icon {
        font-size: 40px;
    }
    
    .feature-title {
        font-size: 16px;
    }
    
    .download-btn {
        padding: 15px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .app-features {
        grid-template-columns: 1fr;
    }
    
    .download-hero h1 {
        font-size: 22px;
    }
    
    .download-btn {
        padding: 14px 25px;
        font-size: 15px;
        white-space: normal;
        line-height: 1.4;
    }
}

/* ========== Footer ========== */
.footer {
    background: rgba(0, 0, 0, 0.95);
    padding: 50px 20px 30px;
    margin-top: 50px;
    border-top: 2px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section {
    padding: 0;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.footer-info {
    font-size: 14px;
    line-height: 2;
    color: var(--text-muted);
}

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

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

/* ========== Main Content Area ========== */
main {
    padding: 40px 20px 60px;
    min-height: 60vh;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========== Article Pages ========== */
.article-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 30px 20px;
}

.article-container article {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    border-radius: 20px;
    padding: 40px 50px;
    border: 1px solid var(--border-color);
}

.page-container,
.content-wrapper {
    max-width: 820px;
    margin: 0 auto 50px;
    padding: 55px 60px;
    background: linear-gradient(160deg, rgba(10, 14, 39, 0.95) 0%, rgba(26, 31, 58, 0.9) 100%);
    border-radius: 28px;
    border: 1px solid var(--border-color);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 215, 0, 0.05) inset;
}

/* 注册/登录容器 - 更窄更精致 */
.register-container,
.login-container {
    max-width: 460px;
    margin: 0 auto 50px;
    padding: 50px 45px;
    background: linear-gradient(160deg, rgba(10, 14, 39, 0.98) 0%, rgba(26, 31, 58, 0.95) 100%);
    border-radius: 28px;
    border: 1px solid var(--border-color);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(255, 215, 0, 0.08);
    text-align: center;
}

.article-container h1,
.page-container h1 {
    color: var(--primary);
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
    line-height: 1.35;
    text-align: center;
}

/* ========== Article Content - 内容排版 ========== */
.article-content,
.page-content {
    font-size: 17px;
    line-height: 1.95;
    color: var(--text-light);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 标题层级 */
.article-content h2 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
    margin: 50px 0 25px;
    padding: 18px 25px;
    border-left: 4px solid var(--primary);
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.08) 0%, transparent 100%);
    border-radius: 0 12px 12px 0;
}

.article-content h3 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 600;
    margin: 40px 0 20px;
    padding-left: 18px;
    border-left: 3px solid var(--primary-light);
}

.article-content h4 {
    color: var(--text-white);
    font-size: 18px;
    font-weight: 600;
    margin: 30px 0 15px;
}

/* 段落 */
.article-content p {
    margin-bottom: 22px;
    text-align: justify;
    letter-spacing: 0.2px;
}

/* 首段特殊样式 */
.article-content > p:first-of-type {
    font-size: 18px;
    color: var(--text-white);
    line-height: 1.85;
    margin-bottom: 28px;
}

/* 图片美化 */
.article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 35px auto;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.article-content figure {
    margin: 40px 0;
    text-align: center;
}

.article-content figcaption {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

/* 图片区块 */
.image-section {
    margin: 40px 0;
    text-align: center;
}

.image-section img {
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* 链接 */
.article-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--primary);
    transition: all 0.3s;
}

.article-content a:hover {
    border-bottom-style: solid;
}

/* 列表美化 */
.article-content ul,
.article-content ol {
    margin: 28px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 14px;
    line-height: 1.8;
    padding-left: 8px;
    position: relative;
}

.article-content ul li {
    list-style-type: none;
}

.article-content ul li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--shadow-gold);
}

.article-content ol {
    counter-reset: item;
}

.article-content ol li {
    list-style: none;
    counter-increment: item;
}

.article-content ol li::before {
    content: counter(item);
    position: absolute;
    left: -30px;
    top: 2px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-dark);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-content li strong {
    color: var(--primary);
}

/* 图片 */
.article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 25px auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.article-content figure {
    margin: 30px 0;
    text-align: center;
}

.article-content figcaption {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

/* 图片容器 - 居中显示 */
.article-content .image-wrapper,
.article-content .wp-block-image,
.image-section {
    text-align: center;
    margin: 30px 0;
}

.article-content .image-wrapper img,
.image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* 按钮样式 - 统一美化 */
.article-content .btn,
.article-content .button,
.article-content a.btn,
.content-btn,
.glow-btn {
    display: inline-block;
    padding: 16px 38px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary-light) 100%);
    background-size: 200% 100%;
    color: var(--bg-dark) !important;
    border: none;
    border-radius: 35px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 8px 30px var(--shadow-gold);
    cursor: pointer;
    transition: all 0.3s;
    margin: 10px 5px;
    text-align: center;
}

.article-content .btn:hover,
.article-content .button:hover,
.article-content a.btn:hover,
.content-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-gold);
}

/* CTA 按钮容器 - 居中美化 */
.article-content .cta-buttons,
.article-content .button-wrapper,
.cta-section {
    text-align: center;
    margin: 45px 0;
    padding: 40px 35px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 179, 71, 0.08) 100%);
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.cta-section h2,
.cta-section h3,
.cta-title {
    color: var(--primary);
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 18px;
    border: none;
    padding: 0;
    background: none;
    line-height: 1.35;
}

.cta-section p,
.cta-text {
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 28px;
}

/* Page Hero 区域 */
.page-hero {
    text-align: center;
    padding: 50px 25px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 179, 71, 0.08) 100%);
    border-radius: 25px;
    margin: 25px 0 40px;
    border: 1px solid var(--border-color);
}

.page-hero .icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.page-hero h1 {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 18px;
    line-height: 1.3;
}

.page-hero p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 内容区块 */
.content-section {
    padding: 30px 0;
}

.content-box {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 35px 40px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.content-box h2 {
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 20px;
    line-height: 1.4;
}

.content-box h3 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    margin: 25px 0 15px;
}

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

/* 特性列表 */
.features-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.features-list li {
    position: relative;
    padding: 12px 0 12px 35px;
    font-size: 16px;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

/* 游戏列表 */
.games-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

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

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

.game-item h3 {
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
}

.game-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* 广告横幅 */
.ad-banner {
    text-align: center;
    padding: 40px 25px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(20, 20, 40, 0.4) 100%);
    border-radius: 20px;
    margin: 40px 0;
    border: 1px solid var(--border-color);
}

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

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

/* 引用块 */
.article-content blockquote {
    margin: 25px 0;
    padding: 20px 25px;
    background: rgba(255, 215, 0, 0.08);
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-light);
}

.article-content blockquote p:last-child {
    margin-bottom: 0;
}

/* 内容卡片/高亮区块 */
.article-content .highlight-box,
.article-content .info-box,
.article-content .feature-box {
    padding: 25px 30px;
    margin: 30px 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(0, 0, 0, 0.3) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.article-content .warning-box {
    padding: 20px 25px;
    margin: 25px 0;
    background: rgba(255, 179, 71, 0.1);
    border-left: 4px solid var(--primary-light);
    border-radius: 0 12px 12px 0;
}

/* 游戏/产品网格 */
.article-content .game-grid,
.article-content .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.article-content .game-card,
.article-content .feature-card {
    padding: 25px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
}

.article-content .game-card:hover,
.article-content .feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px var(--shadow-gold);
}

.article-content .game-card img,
.article-content .feature-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.article-content .game-card h4,
.article-content .feature-card h4 {
    color: #fff;
    margin: 0 0 10px;
}

.article-content .game-card p,
.article-content .feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

/* 步骤/流程 */
.article-content .steps-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.article-content .steps-list li {
    position: relative;
    padding: 20px 20px 20px 70px;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.article-content .steps-list li::before {
    content: counter(step);
    counter-increment: step;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: var(--bg-dark);
}

/* FAQ/问答样式 */
.article-content .faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.article-content .faq-question {
    padding: 18px 25px;
    background: rgba(255, 215, 0, 0.1);
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
}

.article-content .faq-answer {
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-light);
}

/* 优惠/促销横幅 */
.article-content .promo-banner {
    padding: 30px;
    margin: 35px 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 179, 71, 0.08) 100%);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 20px;
    text-align: center;
}

.article-content .promo-banner h3 {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 15px;
    border: none;
    padding: 0;
}

.article-content .promo-banner p {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}

/* 代码块 */
.article-content code {
    background: rgba(0, 0, 0, 0.4);
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 14px;
    color: var(--primary);
}

.article-content pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 20px 0;
}

.article-content pre code {
    background: transparent;
    padding: 0;
}

/* 表格 */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

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

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

.article-content tr:last-child td {
    border-bottom: none;
}

.article-content tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

/* 分隔线 */
.article-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 35px 0;
}

/* 重要提示框 */
.article-content .notice,
.article-content .alert,
.article-content .tip {
    padding: 18px 22px;
    border-radius: 12px;
    margin: 25px 0;
}

.article-content .notice {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--primary);
}

.article-content .alert {
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid #ff6b6b;
}

.article-content .tip {
    background: rgba(100, 255, 150, 0.1);
    border: 1px solid #50c878;
}

/* 内嵌视频 */
.article-content iframe,
.article-content video {
    display: block;
    max-width: 100%;
    margin: 25px auto;
    border-radius: 12px;
}

.article-content .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin: 25px 0;
    border-radius: 12px;
    overflow: hidden;
}

.article-content .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
}

.back-home {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.back-home a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.back-home a:hover {
    color: var(--primary);
}

.back-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.back-link:hover {
    padding-left: 10px;
}

/* ========== 注册/登录表单美化 ========== */
.register-container,
.login-container {
    max-width: 480px;
    text-align: center;
}

.logo-section {
    margin-bottom: 30px;
}

.logo-section img {
    max-height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.logo-section h1 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-badge {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 179, 71, 0.15) 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 35px;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px var(--shadow-gold); }
    50% { box-shadow: 0 0 30px var(--shadow-gold); }
}

/* 表单样式 */
form {
    text-align: left;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 15px 18px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
    background: rgba(0, 0, 0, 0.7);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

/* 注册按钮 */
button.btn-register,
.register-container .btn-register {
    width: 100%;
    padding: 16px 24px;
    margin-top: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 12px;
    color: var(--bg-dark);
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 25px var(--shadow-gold);
}

button.btn-register:hover,
.register-container .btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow-gold);
}

/* 登录链接 */
.login-link {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 15px;
}

.login-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.login-link a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Related Articles */
.related-articles-section {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.related-title {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 20px;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }
    
    .header-container {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .logo-link {
        order: 1;
    }
    
    .mobile-menu-btn {
        display: flex;
        order: 2;
    }
    
    .auth-buttons {
        order: 3;
        gap: 6px;
    }
    
    /* 移动端登录/注册按钮 - 统一大小 */
    .auth-buttons .btn,
    .auth-buttons .btn-login,
    .auth-buttons .btn-register {
        padding: 0 !important;
        font-size: 12px !important;
        width: 80px !important;
        height: 36px !important;
        line-height: 36px !important;
        border-radius: 18px !important;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 4;
        background: rgba(0, 0, 0, 0.95);
        border-radius: 12px;
        margin-top: 10px;
        padding: 15px;
        border: 1px solid var(--border-color);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 5px;
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .nav-link {
        display: block;
        padding: 12px 16px;
        text-align: center;
    }
    
    /* 移动端下拉菜单 */
    .nav-dropdown {
        position: relative;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        min-width: 100%;
        margin-top: 5px;
        border-radius: 8px;
        box-shadow: none;
        background: rgba(255, 215, 0, 0.08);
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu li a {
        padding: 10px 25px;
        font-size: 13px;
    }
    
    .logo {
        height: 40px;
        max-width: 140px;
    }
    
    /* 移动端按钮 - 完整响应式 */
    .btn {
        padding: 12px 20px;
        font-size: 13px;
        letter-spacing: 0.5px;
        margin: 6px 3px;
    }
    
    .cta-btn,
    .ad-btn {
        display: block;
        width: auto;
        max-width: 90%;
        margin: 15px auto;
        padding: 16px 25px;
        font-size: 14px;
        letter-spacing: 0.5px;
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.5;
    }
    
    /* Page Hero 移动端 */
    .page-hero {
        padding: 35px 20px;
        margin: 15px 0 30px;
        border-radius: 20px;
    }
    
    .page-hero .icon {
        font-size: 50px;
        margin-bottom: 15px;
    }
    
    .page-hero h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .page-hero p {
        font-size: 15px;
        margin-bottom: 25px;
        line-height: 1.7;
    }
    
    /* 内容区块移动端 */
    .content-box {
        padding: 25px 20px;
        margin-bottom: 20px;
        border-radius: 16px;
    }
    
    .content-box h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .content-box h3 {
        font-size: 18px;
        margin: 20px 0 12px;
    }
    
    .content-box p {
        font-size: 15px;
        line-height: 1.8;
    }
    
    .features-list li {
        padding: 10px 0 10px 30px;
        font-size: 15px;
    }
    
    .games-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .game-item {
        padding: 20px;
    }
    
    .game-item h3 {
        font-size: 16px;
    }
    
    .game-item p {
        font-size: 13px;
    }
    
    /* CTA 区域移动端 */
    .cta-section {
        padding: 30px 20px;
        margin: 30px 0;
        border-radius: 18px;
    }
    
    .cta-title,
    .cta-section h2 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .cta-text,
    .cta-section p {
        font-size: 15px;
        margin-bottom: 22px;
        line-height: 1.75;
    }
    
    /* 广告横幅移动端 */
    .ad-banner {
        padding: 30px 20px;
        margin: 30px 0;
        border-radius: 16px;
    }
    
    .ad-text {
        font-size: 17px;
        margin-bottom: 20px;
    }
    
    .hero {
        padding: 30px 15px;
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 15px;
    }
    
    .btn-hero {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .game-card {
        padding: 20px 15px;
    }
    
    .game-icon {
        font-size: 36px;
    }
    
    .game-title {
        font-size: 16px;
    }
    
    .promo-section {
        padding: 30px 20px;
    }
    
    .promo-title {
        font-size: 22px;
    }
    
    .article-container,
    .page-container {
        margin: 15px;
        padding: 25px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

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

/* ========== Form Styles (Login/Register) - 已在上方定义 ========== */

.logo-section h1 {
    color: var(--primary);
    font-size: 28px;
    font-weight: 800;
}

.promo-badge {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-dark);
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--shadow-gold);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.btn-register,
.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--bg-dark);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-register:hover,
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-gold);
}

.login-link {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.login-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* ========== Breadcrumb ========== */
.breadcrumb {
    padding: 15px 0;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 14px;
}

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

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

.breadcrumb-list li {
    color: var(--text-muted);
}

/* ========== Article Page ========== */
.article-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

.article-wrapper article {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid var(--border-color);
}

.article-wrapper h1 {
    color: var(--primary);
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 15px;
}

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

.author-box {
    background: rgba(255, 215, 0, 0.08);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    border: 1px solid var(--border-color);
}

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

.author-box p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

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

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

.post-nav a:hover {
    text-decoration: underline;
}

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

/* Sidebar */
.article-wrapper aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

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

.widget ul {
    list-style: none;
}

.widget ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.widget ul li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

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

.cta-widget {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 179, 71, 0.1) 100%);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.cta-widget h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.cta-widget p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

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

.cta-widget .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-gold);
}

@media (max-width: 900px) {
    .article-container {
        grid-template-columns: 1fr;
        padding: 20px 15px;
        gap: 20px;
    }
    
    .article-container article {
        padding: 30px 25px;
    }
    
    .article-wrapper {
        grid-template-columns: 1fr;
    }
    
    .article-wrapper article {
        padding: 25px 20px;
    }
    
    .article-wrapper h1 {
        font-size: 22px;
    }
    
    .post-nav {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .post-nav .next {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .register-container,
    .login-container {
        margin: 15px;
        padding: 25px 20px;
    }
    
    .logo-section h1 {
        font-size: 24px;
    }
    
    .promo-badge {
        font-size: 12px;
        padding: 12px 15px;
    }
}

/* ========== 内容区域响应式 ========== */
@media (max-width: 768px) {
    /* 容器适配 */
    .container {
        padding: 0 15px;
    }
    
    main {
        padding: 15px 10px;
    }
    
    /* 文章容器 */
    .article-container,
    .page-container,
    .content-wrapper {
        margin: 20px 10px;
        padding: 25px 18px;
        border-radius: 18px;
    }
    
    .article-container h1,
    .page-container h1 {
        font-size: 24px;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    /* 文章内容 */
    .article-content {
        font-size: 15px;
        line-height: 1.85;
    }
    
    .article-content h2 {
        font-size: 18px;
        margin: 30px 0 18px;
        padding: 12px 0 12px 15px;
    }
    
    .article-content h3 {
        font-size: 16px;
        margin: 25px 0 12px;
        padding-left: 12px;
    }
    
    .article-content h4 {
        font-size: 15px;
    }
    
    .article-content p {
        margin-bottom: 16px;
        text-align: left;
    }
    
    .article-content > p:first-of-type {
        font-size: 16px;
    }
    
    .article-content ul,
    .article-content ol {
        padding-left: 20px;
        margin: 15px 0;
    }
    
    .article-content li {
        margin-bottom: 8px;
    }
    
    /* 图片响应式 */
    .article-content img,
    .image-section img {
        margin: 20px auto;
        border-radius: 10px;
    }
    
    .article-content figure {
        margin: 20px 0;
    }
    
    /* 按钮响应式 */
    .article-content .btn,
    .article-content .button,
    .content-btn {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 10px auto;
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .cta-section {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    /* 表格响应式 */
    .article-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 14px;
    }
    
    .article-content th,
    .article-content td {
        padding: 10px 12px;
        min-width: 100px;
    }
    
    /* 引用块响应式 */
    .article-content blockquote {
        padding: 15px 18px;
        margin: 20px 0;
        font-size: 15px;
    }
    
    /* 视频响应式 */
    .article-content iframe,
    .article-content video {
        max-width: 100%;
        height: auto;
        min-height: 200px;
    }
    
    .article-content .video-wrapper {
        margin: 20px 0;
    }
    
    /* 相关文章 */
    .related-articles-section {
        padding: 20px 15px;
        margin-top: 30px;
    }
    
    .related-title {
        font-size: 18px;
    }
    
    /* 返回链接 */
    .back-home {
        margin-top: 25px;
        padding-top: 15px;
    }
}

/* 超小屏幕 480px */
@media (max-width: 480px) {
    /* 按钮超小屏幕 */
    .btn {
        padding: 10px 16px;
        font-size: 12px;
        margin: 5px 2px;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .cta-btn,
    .ad-btn {
        padding: 14px 20px;
        font-size: 13px;
        max-width: 95%;
        letter-spacing: 0.3px;
    }
    
    /* Page Hero 超小屏幕 */
    .page-hero {
        padding: 28px 15px;
        border-radius: 16px;
    }
    
    .page-hero .icon {
        font-size: 42px;
    }
    
    .page-hero h1 {
        font-size: 20px;
    }
    
    .page-hero p {
        font-size: 14px;
    }
    
    /* 内容区块超小屏幕 */
    .content-box {
        padding: 20px 15px;
    }
    
    .content-box h2 {
        font-size: 18px;
    }
    
    /* CTA 超小屏幕 */
    .cta-section {
        padding: 25px 15px;
    }
    
    .cta-title,
    .cta-section h2 {
        font-size: 20px;
    }
    
    .cta-text,
    .cta-section p {
        font-size: 14px;
    }
    
    .ad-banner {
        padding: 25px 15px;
    }
    
    .ad-text {
        font-size: 15px;
    }
}

/* 超小屏幕 380px */
@media (max-width: 380px) {
    /* Header 按钮超小屏幕 */
    .auth-buttons {
        gap: 4px;
    }
    
    .auth-buttons .btn,
    .auth-buttons .btn-login,
    .auth-buttons .btn-register {
        padding: 0 !important;
        font-size: 11px !important;
        width: 65px !important;
        height: 30px !important;
        line-height: 30px !important;
        border-radius: 15px !important;
    }
    
    .article-container,
    .page-container {
        margin: 10px 8px;
        padding: 18px 14px;
    }
    
    .register-container,
    .login-container {
        margin: 10px 8px;
        padding: 22px 15px;
    }
    
    .article-content {
        font-size: 14px;
    }
    
    .article-content h2 {
        font-size: 17px;
        padding: 12px 15px;
    }
    
    .article-content h3 {
        font-size: 15px;
    }
    
    .article-content .btn,
    .content-btn {
        padding: 11px 14px;
        font-size: 12px;
        max-width: 100%;
    }
    
    .btn {
        padding: 9px 14px;
        font-size: 11px;
    }
    
    .cta-btn,
    .ad-btn {
        padding: 12px 15px;
        font-size: 12px;
        max-width: 100%;
        letter-spacing: 0.2px;
    }
    
    .page-hero h1 {
        font-size: 18px;
    }
    
    .page-hero p {
        font-size: 13px;
    }
    
    .cta-title,
    .cta-section h2 {
        font-size: 18px;
    }
    
    .game-item {
        padding: 15px;
    }
    
    .game-item h3 {
        font-size: 15px;
    }
}


/* ==================== 相关文章样式 ==================== */
.related-section {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px 0;
}

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

.related-article-item {
    display: block;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    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(255, 215, 0, 0.15);
}

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

.related-article-title a {
    color: var(--text-white);
    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-light);
}

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