/* 基础样式 */
.g_content {
    max-width: 768px;
    margin: 0 auto;
    padding: 20px;
}

/* 面包屑导航 */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #fb5f14;
}

.breadcrumb span {
    color: #333;
    font-weight: bold;
}

/* 游戏头部信息 */
.game-header {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    /* padding-bottom: 30px; */
    border-bottom: 1px solid #f3f4f4;
}

.game-cover img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.game-info {
    flex: 1;
}

.game-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
}

.game-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
}

.category {
    background-color: #f8f0e6;
    color: #fb5f14;
    padding: 4px 12px;
    border-radius: 20px;
}

.rating {
    color: #ff9500;
}

.players {
    color: #666;
}

.game-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

/* 按钮样式 */
.game-actions {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: linear-gradient(270deg, #ee4623, #fb5f14);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 95, 20, 0.3);
}

.btn-secondary {
    background-color: white;
    color: #fb5f14;
    border: 1px solid #fb5f14;
    padding: 12px 30px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: #fef5ee;
}

/* 游戏详情内容 */
.game-details section {
    margin-bottom: 40px;
}

.game-details h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #fb5f14;
    display: inline-block;
}

/* 游戏特色列表 */
.feature-list {
    padding-left: 20px;
    line-height: 1.8;
    color: #666;
}

.feature-list li {
    margin-bottom: 10px;
    list-style-type: disc;
}

/* 游戏截图 */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.screenshot-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s;
}

.screenshot-grid img:hover {
    transform: scale(1.03);
}

/* 系统要求 */
.requirements-table {
    width: 100%;
    border-collapse: collapse;
}

.req-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f4;
}

.req-type {
    flex: 0 0 150px;
    font-weight: bold;
    color: #333;
}

.req-value {
    flex: 1;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .game-header {
        flex-direction: column;
    }

    .game-cover img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }

    .game-title {
        font-size: 28px;
        text-align: center;
    }

    .game-meta {
        justify-content: center;
    }

    .game-actions {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }
}


/* 简化点赞按钮样式 */
.like-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* 保留爱心动画样式 */
.like-animation-container {
    position: absolute;
    top: 0;
    left: 50%;
    pointer-events: none;
}

.heart-animation {
    position: absolute;
    color: #fb5f14;
    font-size: 24px;
    opacity: 0;
    animation: heartFly 1s ease-in-out forwards;
}

@keyframes heartFly {
    0% {
        transform: translate(-50%, 0) scale(0.5);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -60px) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -120px) scale(0.3);
        opacity: 0;
    }
}

/* 更多游戏区域样式 */
.more-games {
    max-width: 768px;
    margin: 0 auto;   
    /* margin-top: 60px; */
    /* padding-top: 30px; */
    border-top: 1px solid #f3f4f4;
}

.more-games h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #fb5f14;
    display: inline-block;
}

/* 复用首页游戏卡片布局 */
.game-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* justify-content: center; */
}
@media screen and (max-width: 350px) {
    .game-container {

    justify-content: center;
}
}

.game-card {
    width: calc(25% - 20px);
    min-width: 150px;
    text-align: center;
    transition: transform 0.3s;
    cursor: pointer;
}

.game-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

.game-card p {
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card:hover {
    transform: translateY(-5px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .game-card {
        width: calc(50% - 20px);
    }
}
