body, html {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #fffbe7 0%, #e0f7fa 100%);
    color: #23395d;
    overflow-x: hidden;
}

.topbar {
    width: 100%; /* 修正这里 */
    background: #fff;
    border-bottom: 2px solid #ffe066;
    box-shadow: 0 2px 8px rgba(255, 224, 102, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 70px;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 10;
}

 .header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 0 16px 0;
}
.site-title {
        font-size: 2rem;
        font-weight: bold;
        /* 主色调为绿色，带渐变和阴影，突出游戏风格 */
        color: #ffb300;
        letter-spacing: 1px;
        text-shadow: 0 2px 8px rgba(126, 234, 255, 0.18);
}
.site-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.search-categories {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-input {
    padding: 8px 12px;
    border: 2px solid #ffe066;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    width: 200px;
    transition: border 0.2s;
    background: #fff;
    color: #23395d;
}

.search-input:focus {
    border: 1.5px solid #00b6ff;
}

.category-select {
    padding: 8px 12px;
    border-radius: 18px;
    border: 1px solid #b2f0ff;
    font-size: 1rem;
    outline: none;
    background: #fff;
    color: #222;
    transition: border 0.2s;
}

.category-select:focus {
    border: 1.5px solid #00b6ff;
}

.center-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 32px 0 32px 0;
    min-height: 700px;
    background: none;
}

.game-cards-side {
    width: 120px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-width: 100px;
    position: relative;
    z-index: 2;
}

.game-cards-side .game-list {
    height: 650px; /* 与iframe高度一致 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.game-iframe-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    width: 1000px;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,182,255,0.07);
    padding: 24px;
    margin: 0 20px;
    min-width: 350px;
}

.game-iframe-block iframe {
    width: 100%;
    height: 650px;
    border-radius: 12px;
    border: 2px solid #00b6ff;
    background: #e0f7fa;
}

.iframe-actions {
    margin: 18px 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.fullscreen-btn {
    padding: 8px 18px;
    border-radius: 6px;
    border: none;
    background: #ffb300;
    color: #23395d;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.fullscreen-btn:hover {
    background: #00b6ff;
    color: #fff;
}

.share-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-group span {
    color: #23395d;
    font-weight: bold;
}

.share-group a {
    margin-left: 8px;
    font-size: 1.2rem;
    color: #00b6ff;
    transition: color 0.2s;
}
.share-group a:hover {
    color: #ffb300;
}

.game-icon {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 18px;
    overflow: hidden;
    display: block;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.game-icon:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.game-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    
}
.game-card:hover {
    border: none;
    box-shadow: 0 4px 16px rgba(0,182,255,0.10);
}

.game-card-title-hover {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    color: #ffb300;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 8px 0;
    text-align: center;
    pointer-events: none;
    z-index: 2;
    border-radius: 0 0 14px 14px;
    transition: opacity 0.2s;
}
.game-card:hover .game-card-title-hover {
    display: block;
    opacity: 1;
}

.game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.game-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 15px;
    text-align: center;
    padding: 8px 0 8px 0;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.game-icon:hover .game-title {
    opacity: 1;
}

.game-description {
    max-width: 900px;
    margin: 24px auto 0 auto;
    background: rgba(255,255,255,0.85);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 28px 32px;
    text-align: left;
}

.game-description h2 {
    margin-top: 0;
    color: #00b6ff;
    font-size: 1.5rem;
    font-weight: bold;
}

.game-description p,
.game-description ol,
.game-description ul,
.game-description dl {
    color: #23395d;
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.footer {
    width: 100vw;
    background: #ffe066;
    color: #23395d;
    padding: 24px 0 12px 0;
    text-align: center;
    border-top: 3px solid #00b6ff;
    margin-top: 40px;
}

.footer-links {
    margin-bottom: 8px;
}

.footer-links a {
    color: #00b6ff;
    margin: 0 12px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #ffb300;
}

.footer-copy {
    font-size: 13px;
    color: #555;
}

.footer-copy a {
    color: #00b6ff;
    text-decoration: none;
}
.footer-copy a:hover {
    color: #ffb300;
}

.category-tabs {
    display: flex;
    gap: 10px;
}

.category-btn {
    background: #ffb300;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    margin: 0 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.category-btn:hover {
    background: #23395d;
    color: #ffe066;
}

.about-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;
}

.h1 {
    color: #ffb300;
    text-align: center;
    margin-top: 32px;
    font-size: 2.2rem;
    letter-spacing: 1px;
}

.gameh1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 18px 0;      /* 上无间距，下方18px */
    text-align: left;        /* 左对齐 */
    letter-spacing: 1px;
    line-height: 1.2;
    color: #fff;
    text-shadow:
        0 2px 8px rgba(0,64,128,0.25),
        0 0 2px #007fa3,
        0 1px 0 #fff;
    -webkit-text-stroke: 2px #2299bb;
}

.logo-link {
    display: inline-block;
    transition: opacity 0.2s;
}
.logo-link:hover {
    opacity: 0.7;
}

.screenshot {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 0;
}

.screenshot img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1.5px 6px rgba(0,0,0,0.08);
    border: 1px solid #e0f7fa;
    background: #fff;
    padding: 8px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 24px 0;
}
.review-card {
    display: flex;
    align-items: flex-start;
    background: #fffde7;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 18px 20px;
    gap: 18px;
}
.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.review-content {
    flex: 1;
}
.review-stars {
    color: #ffb300;
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.review-text {
    font-size: 1rem;
    color: #23395d;
    margin-bottom: 6px;
}
.review-author {
    font-size: 0.95rem;
    color: #888;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 32px 0;
}
.blog-card {
    background: #fffde7;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    transition: box-shadow 0.2s;
}
.blog-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.blog-card-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    width: 100%;
}
.blog-card-img {
    width: 160px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
    background: #ffe066;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-card-content {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #23395d;
}
.blog-card-meta {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 8px;
}
.blog-card-desc {
    font-size: 1rem;
    color: #333;
    margin: 0;
}
.blog-intro {
    color: #555;
    margin-bottom: 18px;
    font-size: 1.1rem;
}
@media (max-width: 700px) {
    .blog-card {
        flex-direction: column;
    }
    .blog-card-img {
        width: 100%;
        height: 160px;
    }
    .blog-card-content {
        padding: 14px 18px;
    }
    .blog-card-title {
        font-size: 1.1rem;
    }
    .blog-card-meta {
        font-size: 0.85rem;
    }
    .blog-card-desc {
        font-size: 0.95rem;
    }
}

#backToTop {
    position: fixed;
    right: 28px;
    bottom: 38px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffe066;
    color: #23395d;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    font-size: 2rem;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: background 0.2s, color 0.2s;
}
#backToTop:hover {
    background: #ffb300;
    color: #fff;
}

.recommended-games-list {
    display: flex;
    flex-direction: row;
    gap: 22px;
    margin-top: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.recommended-game-card {
    background: #fffde7;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px;
    transition: box-shadow 0.2s;
}
.recommended-game-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.recommended-game-card .game-icon {
    width: 120px;
    height: 120px;
    margin: 16px auto 8px auto;
}
.recommended-game-card .game-card-title-hover {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    color: #ffb300;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 8px 0;
    text-align: center;
    pointer-events: none;
    z-index: 2;
    border-radius: 0 0 14px 14px;
    transition: opacity 0.2s;
}
.recommended-game-card {
    position: relative;
    /* ...existing code... */
}
.recommended-game-card:hover .game-card-title-hover {
    display: block;
    opacity: 1;
}
@media (max-width: 700px) {
    .recommended-games-list {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }
    .recommended-game-card {
        width: 44vw;
        min-width: 120px;
        max-width: 180px;
    }
}