body {
    display: flex;
    position: relative;
    margin: 0;
    background-color: #f4f4f9;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease-in-out; /* 过渡动画 */
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
}

fluent-card {
    width: calc(50% - 1rem);
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: white;
    border-radius: 8px;
    margin-bottom: 2rem;
    transition: transform 0.3s ease; /* 卡片悬停动画 */
    border: 2px solid #3498db; /* 添加蓝色边框 */
}

fluent-card:hover {
    transform: scale(1.05); /* 卡片悬停放大效果 */
}

.card-content {
    text-align: center;
}

h1 {
    color: #3a3a3a;
    margin-bottom: 1rem;
}

p {
    font-size: 1.2em;
    color: #555;
}

/* 加载动画样式 */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 模糊效果 */
div.loading {
    filter: blur(3px);
}

body:before{
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: .3;
    z-index: -1;
    content: "";
    position: fixed;
    background: url(https://bing.img.run/rand.php) center/cover;
}

/* 品牌按钮样式 */
fluent-button#game {
    transition: background-color 0.3s ease, color 0.3s ease;
}

fluent-button#game:hover {
    color: #3498db;
}