* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

img {
    max-width: 100%;
}

h1 {
    color: white;
    text-align: center;
    padding: 40px;
}

ul {
    list-style: none;
}

.page-header {
    background-color: black;
}

.preview {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.preview video {
    background-color: black;
    width: 100%;
    border: 5px solid black;
    margin-top: 80px;
}

.screenshots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 40px;
    row-gap: 40px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.screenshot {
    max-width: 320px;
    min-width: 280px;
    border-radius: 20px;
    border: 5px solid black;
}

.screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.game-wrapper {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    background-color: black;
    margin-bottom: 80px;
}

.webgl {
    outline: none;
}

.page-footer p {
    background-color: black;
    color: white;
    padding: 100px;
    text-align: center;
}

/* 游戏通知样式 */
.game-notification {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 30px;
    border-radius: 15px;
    border: 3px solid gold;
    text-align: center;
    z-index: 100;
    display: none;
    width: 350px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.notification-content {
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: bold;
}

.notification-button {
    background-color: gold;
    color: black;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.notification-button:hover {
    background-color: #ffcc00;
}

/* 得分显示样式 */
.score-display {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 10;
    border: 1px solid gold;
}