:root{
    --header-bg-color: #b5a9e1;
    --tag-bg-color: #ad002f;
    --tag-font-color: white;
}

body{
    background-image: linear-gradient(to top, #fbc2eb 0%, #a6c1ee 100%);
}
.navbar{
    background-color: var(--header-bg-color);
}

.game-wall{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    position: relative;
    flex-flow: row wrap; /* 设置主轴为水平和允许换行 */
    justify-content: flex-start;
    align-items: stretch;
    gap: 1rem;
}
.game-card{
    min-width: 150px;
    min-height: 200px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
    margin-bottom: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s all;
    text-decoration: none;
}
.game-card:hover{
    margin-top: 0;
    margin-bottom: 10px;
}
.game-card .tag{
    position: absolute;
    left: 0;
    top: 8px;
    padding: 5px;
    background: var(--tag-bg-color);
    color: var(--tag-font-color);
    font-size: 12px;
    font-weight: bold;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.game-card img{
    width: 100%;
    height: 90%;
    object-fit: cover;
}
.game-card .name{
    width: 100%;
    color: white;
    text-align: left;
    font-size: .8rem;
    line-height: 1rem;
    padding: .1rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
@media (max-width: 476px) {
    .game-card{
        min-width: 110px;
        height: 10rem;
    }
}

.wall-title{
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
}
.wall-title img{
    width: 1.5rem;
}


.home-link{
    color: #e2e2e2;
    cursor: pointer;
}
.home-link a{
    color: red;
}
.home-link span:last-child{
    color: #f5d03c;
}

footer{
    color: white;
    backdrop-filter: blur(15px) brightness(80%);
    background-color: rgba(255, 255, 255, 0.3);
}
.about{
    width: 100%;
    text-align: left;

}
.copyright{
    display: flex;
    justify-content: space-between;
    justify-items: center;
    font-size: .8rem;
    color: #f3f3f3;
}