* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#startButton {
    position: absolute;
    top: 50%;
    left: 45%;
    z-index: 100;
    padding: 10px 20px;
    font-size: 18px;
    background: #af4c7f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#startButton:hover {
    background: #af4c7f;
    ;
}

img {
    max-width: 100%;
}

h1 {
    color: white;
    text-align: center;
    padding: 40px;
}

ul {
    list-style: none;
}

.page-header {
    background-color: #af4c7f;
}

.preview {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.preview video {
    background-color: #af4c7f;
    width: 100%;
    border: 5px solid #af4c7f;
    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: 5px solid #af4c7f;
    border-radius: 20px;
}

.screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.game-wrapper {
    margin-left: auto;
    margin-right: auto;
    background-color: #af4c7f;
    margin-bottom: 80px;
    position: relative;
}

.webgl {
    outline: none;
}

.page-footer p {
    background-color: #af4c7f;
    color: white;
    padding: 100px;
    text-align: center;
}


/* 添加CSS样式 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #af4c7f;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay-content {
    background: #af4c7f;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgb(0, 0, 0);
    box-shadow: 0 0 20px rgba(255,0,0,0.3);
}

.game-button {
    padding: 10px 20px;
    margin: 10px;
    font-size: 18px;
    cursor: pointer;
    background: #222;
    color: white;
    border: 1px solid red;
    border-radius: 5px;
    transition: all 0.3s;
}

.game-button:hover {
    background: red;
    box-shadow: 0 0 15px rgba(255,0,0,0.5);
}

#gameOverOverlay {
    position: absolute;
}