body, html {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #7eeaff 0%, #b2f0ff 100%);
}

.topbar {
    width: 100vw;
    background: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 70px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    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;
        /* 主色调为绿色，带渐变和阴影，突出游戏风格 */
        background: linear-gradient(90deg, #7eeaff 0%, #4ec6e8 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-fill-color: transparent;
        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 16px;
    border-radius: 18px;
    border: 1px solid #b2f0ff;
    font-size: 1rem;
    outline: none;
    width: 200px;
    transition: border 0.2s;
}

.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;
    width: 1100px;
    max-width: 95vw;
    min-width: 320px;
    margin: 0 24px;
}

.game-iframe-block iframe {
    width: 100%;
    height: 650px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    background: #222;
    border: none;
    display: block;
    max-width: 100%;
    max-height: 90vh;
}

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

.fullscreen-btn {
    padding: 8px 22px;
    border-radius: 18px;
    border: none;
    background: #00b6ff;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.fullscreen-btn:hover {
    background: #0077aa;
}

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

.share-group span {
    color: #222;
    font-size: 1rem;
    margin-right: 4px;
}

.share-group a svg {
    display: inline-block;
    vertical-align: middle;
    border-radius: 6px;
    transition: box-shadow 0.2s;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.share-group a svg:hover {
    box-shadow: 0 2px 12px rgba(0,182,255,0.18);
}

.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-title-hover {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 1.1rem;
    padding: 8px 0;
    text-align: center;
    pointer-events: none;
    z-index: 2;
    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;
}

.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: #222;
    font-size: 1.08rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto 32px auto;
    padding: 24px 20px;
    background: #f8fcff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(62,198,247,0.06);
    font-size: 1.15rem;
    line-height: 1.8;
    color: #222;
}

.faq-list h2 {
    color: #3ec6f7;
    font-family: 'Fredoka', 'Poppins', Arial, sans-serif;
    font-size: 2rem;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 700;
}

.faq-item {
    margin-bottom: 20px;
    padding: 16px;
    background: #eaf6fb;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(62,198,247,0.04);
}

.faq-item h3 {
    color: #0099cc;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

ul, ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.footer {
    width: 100vw;
    background: rgba(255,255,255,0.8);
    padding: 20px 0 10px 0;
    text-align: center;
    font-size: 15px;
    color: #222;
    margin-top: 30px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.04);
}

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

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

.footer-links a:hover {
    color: #0077aa;
}

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

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

.category-btn {
    padding: 8px 18px;
    border: none;
    border-radius: 18px;
    background: #e6f7ff;
    color: #00b6ff;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.category-btn.active,
.category-btn:hover {
    background: #00b6ff;
    color: #fff;
}

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

.h1 {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin: 32px 0 20px 0;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #00506b;
    -webkit-text-stroke: 2px #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

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

/* FAQ折叠样式优化 */
.faq-list details {
    margin-bottom: 18px;
    padding: 12px 14px;
    background: #eaf6fb;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(62,198,247,0.04);
    font-size: 1.08rem;
    transition: background 0.2s;
}

.faq-list details[open] {
    background: #d2f0fa;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 600;
    color: #0099cc;
    font-size: 1.13rem;
    outline: none;
}

.faq-list p {
    margin-top: 10px;
    margin-bottom: 0;
}

/* 新游戏列表页卡片横向排布，一行6个 */
.newgame-list-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.newgame-card {
    background: linear-gradient(135deg, #e0f7fa 0%, #f8fcff 100%);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(62,198,247,0.10);
    text-align: center;
    padding: 0; /* 去除内边距 */
    position: relative;
    overflow: hidden;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.newgame-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 8px 32px rgba(62,198,247,0.18);
    border-color: #3ec6f788;
}

.newgame-card .game-icon {
    width: 100%;
    height: 100%;
    display: block;
}

.newgame-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: none;
    border: none;
}

/* 新游戏列表页卡片鼠标悬停显示标题 */
.newgame-card-title {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 1.08rem;
    padding: 8px 0;
    text-align: center;
    border-radius: 0 0 14px 14px;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.2s;
}

.newgame-card:hover .newgame-card-title {
    display: block;
    opacity: 1;
}

.game-card-title-hover {
    font-size: 1.12rem;
    color: #0077b6;
    font-weight: 700;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

.game-list-desc {
    max-width: 1020px;
    margin: 0 auto 24px auto;
    text-align: center;
    font-size: 1.15em;
    line-height: 1.6;
}

@media (max-width: 1400px) {
    .topbar {
        padding: 0 10px;
    }
    .search-input {
        width: 120px;
    }
    .center-content {
        padding: 16px 0 16px 0;
    }
    .game-cards-side {
        width: 60px;
        min-width: 50px;
    }
    .game-iframe-block {
        width: 98vw;
        margin: 0 6px;
    }
    .game-iframe-block iframe {
        height: 60vw;
        min-height: 320px;
    }
    .game-cards-side .game-list {
        height: 60vw;
        min-height: 320px;
    }
    .game-icon {
        width: 48px;
        height: 64px;
    }
    .game-icon img {
        width: 168px;
        height: 168px;
    }
}

@media (max-width: 600px) {
    .game-description, .faq-list {
        padding: 12px 6px;
        font-size: 1rem;
    }
    .game-description h2, .faq-list h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 1200px) {
    .newgame-list-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 800px) {
    .newgame-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .newgame-list-grid {
        grid-template-columns: 1fr;
    }
}