body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
    color: #333;
    padding-bottom: 60px; /* 给footer留出空间 */
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
h1, h2, h3 {
    color: #0056b3;
    text-align: center;
}
h1 {
    font-size: 4em;
}
h2 {
    font-size: 3em;
}
h3 {
    font-size: 2.2em;
}
p {
    margin-bottom: 1em;
    text-align: justify;
    font-size: 2em;
}
.game-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: #000; /* Placeholder background */
}
.game-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
ul {
    list-style: disc;
    margin-left: 20px;
}
ul li {
    font-size: 2em;
}
a {
    color: #007bff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.game-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}
.game-list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 16px 12px;
    width: 180px;
    text-align: center;
    color: #0056b3;
    font-weight: bold;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
}
.game-list a:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-4px) scale(1.03);
    color: #007bff;
}
.game-list img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #eaeaea;
}
.game-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 9px;
    justify-items: center;
    margin: 32px 0;
}
.thumbnail.project {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    overflow: hidden;
    width: 240px;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    border: 1px solid #ececec;
}
.thumbnail.project:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transform: translateY(-4px) scale(1.03);
    border-color: #b3d1ff;
}
.thumbnail-image {
    width: 100%;
    display: block;
    background: #f5f5f5;
}
.thumbnail-image img {
    width: 228px;
    height: 170px;
    object-fit: cover;
    display: block;
    margin: 6px auto 0 auto;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.thumbnail-title {
    padding: 10px 0 14px 0;
    width: 100%;
    text-align: center;
}
.thumbnail-title a {
    color: #0056b3;
    font-size: 0.95em;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-all;
}
.thumbnail-title a:hover {
    color: #007bff;
    text-decoration: underline;
}
.site-header {
    width: 100%;
    background: #0056b3;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
    z-index: 10;
}
.header-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 30px;
}
.logo {
    font-size: 2.25em;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
}
.main-nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 24px;
    font-size: 1.5em;
    transition: color 0.2s;
}
.main-nav a:hover {
    color: #ffd700;
}
.site-footer {
    width: 100%;
    background: #222;
    color: #fff;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 20;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}
.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 14px 30px;
    text-align: center;
    font-size: 0.98em;
    letter-spacing: 0.5px;
}
@media (max-width: 1000px) {
    .game-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .game-thumbnails {
        grid-template-columns: 1fr;
    }
}
.play-now-btn {
    display: block;
    margin: 32px auto 24px auto;
    padding: 18px 48px;
    min-width: 220px;
    max-width: 90vw;
    width: fit-content;
    font-size: 2em;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(90deg, #ff9800 0%, #ff5722 100%);
    border: none;
    border-radius: 40px;
    box-shadow: 0 6px 24px rgba(255,152,0,0.18), 0 1.5px 8px rgba(0,0,0,0.08);
    text-align: center;
    text-decoration: none;
    letter-spacing: 1.5px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    position: relative;
    z-index: 2;
    outline: none;
    border: 2.5px solid #fff3e0;
    filter: drop-shadow(0 0 8px #ff9800aa);
    animation: playnow-glow 2s infinite alternate;
}
@keyframes playnow-glow {
    0% { box-shadow: 0 6px 24px rgba(255,152,0,0.18), 0 1.5px 8px rgba(0,0,0,0.08); }
    100% { box-shadow: 0 0 40px 10px #ff9800cc, 0 1.5px 8px rgba(0,0,0,0.08); }
}
.play-now-btn:hover {
    background: linear-gradient(90deg, #ff5722 0%, #ff9800 100%);
    transform: translateY(-4px) scale(1.07);
    box-shadow: 0 12px 36px rgba(255,152,0,0.28), 0 1.5px 8px rgba(0,0,0,0.10);
    color: #fff;
    text-decoration: none;
    filter: drop-shadow(0 0 16px #ff9800ee);
}
.cat-games-unblocked-center {
    text-align: center;
    margin: 24px 0 32px 0;
}
.cat-games-unblocked-center img {
    width: 400px;
    max-width: 100%;
    height: auto;
    display: inline-block;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-radius: 12px;
    margin: 18px 0 0 0;
} 