/* 备案审核用站点样式 - 博客记录展示站 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f6fa;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 14px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 20px;
    color: #2c3e50;
}

.nav-link {
    color: #555;
    font-size: 15px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #6c5ce7;
    background: #f0edff;
}

/* 主横幅 */
.hero {
    margin-top: 60px;
    padding: 70px 0;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: #fff;
    text-align: center;
}

.hero h2 {
    font-size: 34px;
    margin-bottom: 12px;
    font-weight: 700;
}

.hero p {
    font-size: 16px;
    opacity: 0.9;
}

/* 通用标题 */
.section-title {
    text-align: center;
    font-size: 26px;
    color: #2c3e50;
    margin-bottom: 36px;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #6c5ce7;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* 游戏列表区域 */
.game-section {
    padding: 60px 0;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.game-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(108, 92, 231, 0.15);
}

.game-cover {
    height: 180px;
    background: linear-gradient(135deg, #dfe6e9 0%, #b2bec3 100%);
    display: flex;
    align-items: flex-end;
    padding: 12px;
    position: relative;
    overflow: hidden;
}

.game-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-genre {
    position: relative;
    z-index: 1;
    background: rgba(108, 92, 231, 0.9);
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
}

.game-body {
    padding: 20px;
    flex: 1;
}

.game-body h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 4px;
}

.game-english {
    font-size: 13px;
    color: #95a5a6;
    margin-bottom: 10px;
}

.game-brief {
    font-size: 14px;
    color: #636e72;
    line-height: 1.7;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 13px;
    color: #888;
}

.game-footer {
    padding: 14px 20px;
    border-top: 1px solid #f0f0f0;
}

.view-detail {
    font-size: 14px;
    color: #6c5ce7;
    font-weight: 500;
}

/* ========== 详情页 ========== */
.detail-page {
    margin-top: 60px;
    padding: 40px 0 60px;
    min-height: calc(100vh - 200px);
}

.breadcrumb {
    font-size: 14px;
    color: #888;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: #6c5ce7;
}

.breadcrumb span {
    margin: 0 6px;
}

.detail-header {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.detail-cover {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-header .detail-title-area {
    padding: 32px;
}

.detail-title-area h1 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 6px;
}

.detail-english {
    font-size: 15px;
    color: #95a5a6;
    margin-bottom: 16px;
}

.detail-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: #f0edff;
    color: #6c5ce7;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 6px;
}

.detail-section {
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.detail-section-title {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.detail-description p {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
}

/* 成就列表 */
.achievement-list {
    display: grid;
    gap: 12px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.achievement-item:hover {
    background: #f0edff;
}

.achievement-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.achievement-info h4 {
    font-size: 15px;
    color: #2c3e50;
    margin-bottom: 3px;
}

.achievement-info p {
    font-size: 13px;
    color: #888;
}

.back-link {
    margin-top: 10px;
}

.back-link a {
    color: #6c5ce7;
    font-size: 15px;
    font-weight: 500;
}

.back-link a:hover {
    text-decoration: underline;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: #ccc;
    text-align: center;
    padding: 28px 0;
}

.footer p {
    font-size: 14px;
    margin-bottom: 6px;
}

.footer .icp a {
    color: #95a5a6;
    font-size: 13px;
}

.footer .icp a:hover {
    color: #fff;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
    }

    .hero h2 {
        font-size: 24px;
    }

    .game-grid {
        grid-template-columns: 1fr;
    }

    .detail-header,
    .detail-section {
        padding: 20px;
    }

    .detail-title-area h1 {
        font-size: 22px;
    }
}
