h1, h2 {
    line-height: 1.2;
}

.background-photo {
    position: relative;
    aspect-ratio: 16 / 10; /* 保持比例 */
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FAF9F6;
    padding: 40px 20px;
    margin: 5px 0;
}
/* 半透明遮罩 */
.background-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6); /* 調整透明度 */
    z-index: 0;
}
/* 內容要在遮罩之上 */
.background-photo > * {
    position: relative;
    z-index: 1;
}
.background-photo h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.background-photo p {
    font-size: 1.2rem;
    max-width: 800px;
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
    width: 80%;
}
.card {
    flex: 1 1 200px;
    width: 75%;
    border: 1px solid #000;
    border-radius: 12px;
    padding: 5px;
    margin: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*background-color: #fff;*/
}
.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin: 20px 0;
}
.button-container > div {
    flex: 1;
    display: flex;
    min-width: 130px;
    flex-direction: column;
    justify-content: space-between;
    /*background-color: #fff;*/
}
.bandcover-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: center;
    margin-top: 20px;
}
.bandcover {
    flex: 1;
    display: flex;
    min-width: 400px;
    flex-direction: column;
    justify-content: space-between;
    /*background-color: #fff;*/
    text-align: center;
}
.link {
    color: inherit;
}
/* 手機優化 */
@media (max-width: 768px) {
    .background-photo {
        aspect-ratio: auto;         /* 移除固定比例 */
        height: auto;               /* 讓高度依內容撐開 */
        min-height: 100px;          /* 可選：避免太小 */
        background-size: auto 100%; /* 背景高度填滿，高度等於容器高度 */
        background-position: center center;
        background-repeat: no-repeat;
        padding: 10px;
    }
    .background-photo h1 {
    font-size: 2rem;
    }
    .background-photo p {
    font-size: 1rem;
    } 
}