/* 清除默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 🔴 音频视觉隐藏（替代display:none，兼容file协议） */
#bgm {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    z-index: -1;
}

body {
    font-family: Arial, sans-serif;
}

/* 容器铺满整个页面，设置背景图 */
.container {
    height: 100vh;
    background: url("preview.jpg") no-repeat center center;
    background-size: 70%;
    background-position: center top;
    display: flex;
    flex-direction: column; /* 让文字和按钮垂直居中 */
    justify-content: center;
    align-items: center;
    gap: 30px; /* 文字和按钮间距 */
    color: white; /* 文字白色，适配背景图 */
    text-shadow: 0 2px 8px #000; /* 文字加阴影，更清晰 */
}

/* 报名按钮样式 */
.btn {
    text-decoration: none;
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.5);
    border: none;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: rgb(255, 0, 0);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.7);
}