h1 {
    color: rgb(79, 194, 223);
    font-size: 48px;
    text-align: center;
    letter-spacing: 1px;      /* 增加字間距 */
    font-weight: 800;         /* 粗體，增強標題感 */
    margin-bottom: 5px; /* 與下方圖片留點間距 */

  }
  
  .banner {
    width: 100%;       /* 讓圖片自動拉滿整個網頁寬度 */
    height: auto;      /* 高度自動依比例縮放 */
    display: block;    /* 確保圖片不會有多餘的空隙 */
    margin-bottom: 10px; /* 與下方標題留點間距 */
    position: relative;  /*相對定位*/
    z-index: -1;        /* 確保文字會在圖片上方 */
    transition: opacity 0.2s ease-out;  /* 增加透明度漸變效果 */
  }

  
  
  .p-photo {
    display: block;
    margin: 10px auto; /* 上下 10px，左右自動置中 */
    width: 300px;      /* 固定寬度 */
    height: auto;      /* 高度自動依比例縮放 */
    border-radius: 50%; 
    border: 3px solid #312f2f; /* 頭貼邊框 */
}

  
  body {
    font-family: Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    margin: 0;
    padding: 20px;
  }

  /* 其他資訊的連結 */
nav {
    text-align: center;
    margin: 0 10px; /* 上下邊距調整，左右自動 */
    vertical-align: middle; /* 圖片與文字中線對齊 */
    align-items: middle;
  } 


  nav a {
    margin: 0 10px;         /* 每個連結之間的水平間距，讓圖示分開 */
    text-decoration: none;  /* 去除下劃線（解決紫色底線問題） */
    color: inherit;         /* 繼承父元素顏色，避免藍/紫連結色 */
}

/* 切換按鈕區塊 */
.toggle-container {
    display: flex;            
    justify-content: center;    /* 水平置中 */
    border-radius: 30px;
    overflow: hidden;
    margin: 20px auto;          /* 上下 20px，自動水平置中 */
    border: 2px solid #555;
    width: fit-content;         /* 寬度跟內容一樣 */
  }
  
  .toggle-btn {
    padding: 10px 20px;
    background: #666;
    border: none;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
  }
  
  .toggle-btn.active {
    background: #000;
    color: #fff;
  }
  
  /* 隱藏未選擇的內容 */
  .content {
    display: none;
    margin-top: 20px;
  }

  .content.active {
    display: block;
  }


/* About 區塊 */
#aboutContent {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05); /* 半透明黑色 */
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  line-height: 1.8;
}

/* About 標題 h2 美化 */
#aboutContent h2 {
  font-size: 28px;
  margin-top: 30px;
  margin-bottom: 15px;
  position: relative;
  color: #4fc2df; /* 跟主標題一致的藍色 */
  letter-spacing: 1px;
}

/* 標題左邊色條 */
#aboutContent h2::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #4fc2df, #1a1a2e);
  border-radius: 3px;
}

/* 內文文字 */
#aboutContent p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #e0e0e0;
  text-align: justify; /* 讓文字左右對齊 */
}



/* 專輯展示區 */
.album-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a2e 100%);
    color: white;
}

.album-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* 輪播容器 */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden; /* 保證內容不會溢出 */
}
    
/* 輪播軌道 */
.carousel-track {
    display: flex;      /* inline-flex 方便水平滾動 */
    gap: 16px;                 /* 卡片間距 */
    transition: transform 0.5s ease-out;
}


/* 專輯卡片 */
.album-card {
  position: relative;
  flex: 0 0 auto;
  width: 220px;
  height: 220px;
  overflow: hidden;
  border-radius: 12px;
}

.album-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.album-card:hover img {
    transform: scale(1.05);
}

/* 遮罩效果 */
.album-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(218, 216, 216, 0.6); /* 淺灰色透明遮罩 */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-card:hover .overlay {
    opacity: 1;
}

/* 遮罩文字 */
.album-card .overlay h3 {
    font-size: 20px;
    font-weight: bold;
    color: rgb(0, 0, 0); 
    text-align: center;
    padding: 0 10px;
}

/* 左右箭頭 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    width: 55px;
    height: 55px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: bold;
}

.carousel-btn:hover {
    background: white;                      /* 滑鼠移上去 → 背景變成純白 */
    transform: translateY(-50%) scale(1.1);   /* 按鈕維持垂直置中，同時放大 1.1 倍 */
    box-shadow: 0 6px 20px rgba(0,0,0,0.3); /* 陰影變大，製造更明顯的立體效果 */
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn.left {
    left: 10px;
}

.carousel-btn.right {
    right: 10px;
}


/* 禁用狀態（按鈕不能用時） */
.carousel-btn:disabled {
    opacity: 0.3;                              /* 透明度降低，變淡 */
    transform: translateY(-50%) scale(0.9);    /* 稍微縮小，表示按鈕失效 */
}

/* 即使 hover 在禁用按鈕上，也維持縮小和淡色，不讓它有放大效果 */
.carousel-btn:disabled:hover {
    transform: translateY(-50%) scale(0.9);
    background: rgba(255, 255, 255, 0.95);     /* 背景還是淡白 */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);    /* 陰影小一點 */
}


/* 響應式設計 */
/* 平板版：螢幕寬度小於 768px */
@media (max-width: 768px) {
    .carousel-container {
        padding: 0 20px;
    }
    
    .album-card {
        width: 180px;
        margin-right: 10px;
    }
    
    .album-card img {
        height: 180px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* 手機版：螢幕寬度小於 480px */
@media (max-width: 480px) {
    .carousel-container {
        padding: 0 15px;
    }
    
    .album-card {
        width: 160px;
        margin-right: 8px;
    }
    
    .album-card img {
        height: 160px;
    }
}


/* 單曲展示區 */
.single-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a2e 100%);
    color: white;
}

.single-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* 輪播容器 */
.single-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

/* 輪播軌道 */
.single-carousel-track {
    display: flex;
    gap: 16px;
    transition: transform 0.5s ease-out;
}

/* 單曲卡片 */
.single-card {
    position: relative;
    flex: 0 0 auto;
    width: 220px;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
}

.single-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.single-card:hover img {
    transform: scale(1.05);
}

/* 遮罩效果 */
.single-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(218, 216, 216, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.single-card:hover .overlay {
    opacity: 1;
}
/* 遮罩文字 */
.single-card .overlay h3 {
    font-size: 20px;
    font-weight: bold;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 0 10px;
}

/* 左右箭頭 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    width: 55px;
    height: 55px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: bold;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn.left {
    left: 10px;
}

.carousel-btn.right {
    right: 10px;
}

/* 禁用狀態 */
.carousel-btn:disabled {
    opacity: 0.3;
    transform: translateY(-50%) scale(0.9);
}

.carousel-btn:disabled:hover {
    transform: translateY(-50%) scale(0.9);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .single-card {
        width: 180px;
        height: 180px;
        margin-right: 10px;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .single-card {
        width: 160px;
        height: 160px;
        margin-right: 8px;
    }
}



/* MV 展示區 */
.mv-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1f1f1f 0%, #0d0d1a 100%); /* 深色漸層背景 */
    color: white;
}

.mv-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* 加文字陰影，讓字更清楚 */
}

/* 輪播容器：放整個 MV 滑動區 */
.mv-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden; /* 超出範圍的 MV 隱藏起來 */
}

/* 輪播軌道：所有 MV 卡片會放在這裡橫向排列 */
.mv-carousel-track {
    display: flex;
    gap: 20px;  /* 卡片之間的間距 20px */
    transition: transform 0.5s ease-out; /* 輪播移動時有滑動動畫 */
}

/* MV 卡片：每個影片縮圖的外框 */
.mv-card {
    flex: 0 0 auto;
    width: 220px;
    background: #222;
    border-radius: 12px; /* 圓角 12px */
    overflow: hidden;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;  /* 圖片自動裁切，保持比例不變形 */
}

/* 滑動效果 */
.mv-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);  /* 加陰影，看起來有浮起來的效果 */
}

/* 箭頭 */
.carousel-btn {
    position: absolute; /* 絕對定位 */
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;  /* 滑鼠變成手指 */
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 100;  /* 確保箭頭在最上層 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: bold;
}
/*箭頭位置：左邊 */
.carousel-btn.left { left: 10px; }
/*箭頭位置：右邊 */
.carousel-btn.right { right: 10px; }

/*滑鼠滑過箭頭的效果 */
.carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);  /* 放大一點點 */
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);  /* 陰影加深 */

}

/* 當箭頭被禁用 (已滑到底) */
.carousel-btn:disabled {
    opacity: 0.5;    /* 透明度降低 */
    cursor: pointer; /* 手指符號 */
}

/* 響應式設計 */
@media (max-width: 768px) {
    .mv-card { width: 180px; }
}

@media (max-width: 480px) {
    .mv-card { width: 150px; }
}


/* 查看更多 MV 按鈕 */
.view-more-btn {
    padding: 12px 28px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #3a3a52, #1f1f2e);
    border: none;
    border-radius: 30px; /* 圓角 */
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: linear-gradient(135deg, #5a5a7a, #2d2d44);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.view-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}


/* 返回按鈕樣式 */
.back-btn {
    position: absolute;      /* 固定在左上角 */
    top: 20px;
    left: 20px;
    background: #333;        /* 深色背景 */
    color: #fff;             /* 白色文字 */
    padding: 10px 15px;
    border-radius: 8px;      /* 圓角 */
    text-decoration: none;   /* 移除超連結底線 */
    font-size: 16px;
    transition: background 0.3s ease;
}

.back-btn:hover {
    background: #555;        /* 滑過變亮一點 */
}
