/**
 * Free Mini Games - 标题样式修复
 * 专门用于修复网站标题的显示问题
 * 2024-03-31
 */

/* 重写标题样式，确保正确显示 */
body a[href="index.html"] h1,
.site-header a h1,
.logo a h1,
h1 {
    font-size: 28px !important;
    font-weight: bold !important;
    color: white !important;
    text-decoration: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
    display: block !important;
    font-family: Arial, "Microsoft YaHei", sans-serif !important;
    letter-spacing: 0.5px !important;
}

/* 强制修复头部布局 */
.site-header {
    background-color: #1a1a1a !important;
    border-bottom: 1px solid #333 !important;
    padding: 15px 0 !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 100 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.site-header .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

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

.logo a {
    text-decoration: none !important;
    display: block !important;
}

/* 移除任何可能干扰标题显示的元素 */
.site-header::before,
.site-header::after,
.logo::before,
.logo::after,
.logo a::before,
.logo a::after {
    display: none !important;
    content: none !important;
}

/* 确保所有自定义样式被应用 */
body {
    --title-color: white;
    --title-size: 28px;
}

/* 
 * 游戏详情页标题和面包屑导航样式优化
 * 更新日期: 2024-04-10
 */

/* 游戏标题区域样式 */
.game-page .game-header {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* 游戏标题样式 */
.game-page .game-header h1 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* 面包屑导航容器 */
.game-page .breadcrumbs {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin: 5px 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

/* 面包屑链接样式 */
.game-page .breadcrumbs a {
    color: #aaaaaa;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 2px 5px;
    border-radius: 3px;
}

/* 面包屑当前页面指示器 */
.game-page .breadcrumbs span {
    color: #ffffff;
    font-weight: 500;
    padding: 2px 5px;
}

/* 面包屑分隔符样式 */
.game-page .breadcrumbs a:after {
    content: ">";
    display: inline-block;
    margin-left: 10px;
    color: #555;
}

/* 最后一个链接不显示分隔符 */
.game-page .breadcrumbs a:last-of-type:after {
    display: none;
}

/* 面包屑链接悬停效果 */
.game-page .breadcrumbs a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .game-page .game-header h1 {
        font-size: 24px;
    }
    
    .game-page .breadcrumbs {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .game-page .game-header {
        padding: 15px;
    }
    
    .game-page .game-header h1 {
        font-size: 22px;
    }
    
    .game-page .breadcrumbs {
        font-size: 12px;
    }
} 