/* 基本重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft JhengHei', '微軟正黑體', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
	clear: both;
	display: block;     
}

/* 標籤篩選區塊樣式 */
.tags-filter-section {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 0px solid #e9ecef;
}

.tag-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: left;
}

.tag-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #ffffff;
    color: #495057;
    text-decoration: none;
    border: 1px solid #cccccc;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag-btn:hover {
    background: #06d6f1;
    color: #495057;
    border-color: #046186;
    transform: translateY(-2px);
}

.tag-btn.active {
    background: #007ca1;
    color: #ffffff;
    border-color: #007ca1;
}

.tag-expand-btn {
    background: #93efff;
    border: 1px solid #0c91f7;
}

.tag-expand-btn:hover {
    background: #007ca1;
    color: #ffffff;
}

/* 浮動視窗樣式 */
.tags-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    overflow-y: auto;
}

.tags-popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 96%;
    max-height: 80vh;
    overflow-y: auto;
    width: 1024px;
}

.tags-popup-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.tags-popup-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.tags-popup-close {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.tags-popup-close:hover {
    background: #c82333;
}

.tags-popup-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    text-align: center;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .tags-popup-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .tags-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .tag-buttons {
        gap: 8px;
    }
    
    .tag-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Header 樣式 */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 0;
    text-align: center;
    position: relative;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
    opacity: 0.9;
}


/* Footer 樣式 */
footer {
    background: #333;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* 統計與社群媒體合併區塊樣式 */
.stats-social-section {
    padding: 20px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.stats-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.stats-social-grid .stats-section .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.stats-social-grid .social-media-section {
    background: transparent;
    padding: 0;
    text-align: right;
}

.stats-social-grid .section-header {
    text-align: right;
    margin-bottom: 20px;
}

.stats-social-grid .section-header h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.stats-social-grid .section-header h3 i {
    margin-right: 8px;
    color: #007bff;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .stats-social-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-social-grid .social-media-section {
        text-align: center;
    }
    
    .stats-social-grid .section-header {
        text-align: center;
    }
    
    .stats-social-grid .social-icons-row {
        justify-content: center;
        width: 100%;
    }
    
    .stats-social-grid .social-icon-link {
        width: 25%;
        padding-bottom: 25%;
        margin-bottom: 4%;
    }
}

@media (max-width: 480px) {
    .stats-social-section {
        padding: 20px 0;
    }
    
    .stats-social-grid {
        gap: 20px;
    }
    
    .stats-social-grid .section-header h3 {
        font-size: 1.3em;
    }
    
    .stats-social-grid .social-icons-row {
        gap: 4%;
    }
    
    .stats-social-grid .social-icon-link {
        width: 20%;
        padding-bottom: 20%;
        margin-bottom: 3%;
    }
}

.stats-social-grid .social-icons-row {
    justify-content: flex-end;
    gap: 5%;
    flex-wrap: wrap;
    width: 100%;
}

.stats-social-grid .social-icon-link {
    width: 30%;
    height: 0;
    padding-bottom: 30%;
    position: relative;
    margin-bottom: 5%;
}

.stats-social-grid .social-icon-link img,
.stats-social-grid .social-icon-link i {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 社群圖示一排樣式 */
.social-icons-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.social-icon-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.social-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-icon-link i {
    font-size: 36px;
    color: #333;
    transition: color 0.3s ease;
}

.social-icon-link:hover i {
    color: #007bff;
}

/* 特定平台顏色 */
.social-icon-link[data-platform="youtube"]:hover i { color: #FF0000; }

.social-icon-link[data-platform="facebook"]:hover i { color: #1877F2; }

.social-icon-link[data-platform="spotify"]:hover i { color: #1DB954; }

.social-icon-link[data-platform="kkbox"]:hover i { color: #FF6900; }

.social-icon-link[data-platform="apple_music"]:hover i { color: #000000; }

.social-icon-link[data-platform="streetvoice"]:hover i { color: #FF6B35; }

/* 電腦版並排佈局 - 即將發行、最新發行、限定視聽 */
@media (min-width: 769px) {
    .featured-albums-container {
        display: flex;
        column-gap: 15px;
        margin-bottom: 0;
        align-items: stretch;
    }
    
    .upcoming-section,
    .latest-section,
    .limited-section {
        flex: 1;
        margin-bottom: 0;
        padding: 20px;
        border-radius: 15px;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15), 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .upcoming-section h2,
    .latest-section h2,
    .limited-section h2 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }
    
    .upcoming-album,
    .latest-album,
    .limited-album {
        max-width: none;
        min-height: 320px;
        padding-bottom: 50px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 0;
    }
}

/* 簡化版專輯卡片樣式 - 只顯示封面 */
.album-card-simple, a.album-card-simple {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    text-decoration: none;
    color: inherit;
}

.album-card-simple:hover, a.album-card-simple:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.album-cover-simple {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* 1:1 比例 */
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3em;
}

.album-cover-simple img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 即將發行區塊樣式 */
.upcoming-section {
    margin-bottom: 0;
}

.upcoming-section h2 {
    font-size: 1.2em;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
}

.upcoming-section h2 i {
    margin-right: 10px;
    color: #ff6b35;
}

.upcoming-album {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 50px;
    min-height: 320px;
}

/* 最新發行區塊樣式 */
.latest-section {
    margin-bottom: 0;
}

.latest-section h2 {
    font-size: 1.2em;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
}

.latest-section h2 i {
    margin-right: 10px;
    color: #ffd700;
}

.latest-album {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 50px;
    min-height: 320px;
}

/* 限定視聽區塊樣式 */
.limited-section {
    margin-bottom: 0;
}

.limited-section h2 {
    font-size: 1.2em;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
}

.limited-section h2 i {
    margin-right: 10px;
    color: #e74c3c;
}

.limited-album {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 50px;
    min-height: 320px;
}

/* 響應式設計 - 平板版 */
@media (max-width: 768px) {
    .featured-albums-container {
        flex-direction: column;
       column-gap: 20px;
    }
    
    .upcoming-section,
    .latest-section,
    .limited-section {
        margin-bottom: 0;
        margin-top: 30px;
        padding: 10px;
        border-radius: 15px;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15), 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .upcoming-album,
    .latest-album,
    .limited-album {
        max-width: none;
        margin: 0 auto;
    }
    
    .album-card-simple, a.album-card-simple {
        max-width: none;
        width: 100%;
    }
    
    .upcoming-section h2,
    .latest-section h2,
    .limited-section h2 {
        font-size: 1.8em;
        margin-bottom: 10px;
    }
    
    /* 為發行作品添加上邊距 */
    .albums-section {
        margin-top: 50px;
    }
}

@media (max-width: 480px) {
    .featured-albums-container {
        column-gap: 15px;
    }
    
    .carousel-container {
        padding: 0;
        max-width: 100%;
    }
    
    /* 調整手機版按鈕位置 */
    .carousel-prev {
        left: -40px;
    }
    
    .carousel-next {
        right: -40px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .upcoming-section h2,
    .latest-section h2,
    .limited-section h2 {
        font-size: 1.6em;
        margin-bottom: 8px;
    }
    
    .latest-album {
        max-width: 100%;
    }
    
    /* 為發行作品添加上邊距 */
    .albums-section {
        margin-top: 40px;
    }
}

/* 主要內容 */
main {
    min-height: 60vh;
}

/* 電腦版：一行顯示四個統計 */
@media (min-width: 769px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        max-width: 1200px;
    }    
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: default;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #dee2e6;
}

.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon-wrapper {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.25);
}

.stat-icon {
    font-size: 24px;
    color: white;
}

.stat-number {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* 統計區塊樣式 - 簡潔優雅版 */
.stats-section {
    background: transparent;
    padding: 20px 0;
    margin: 0;
    border-bottom: 1px solid #e9ecef;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

/* 電腦版：一行顯示四個統計 */
@media (min-width: 769px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        max-width: 1200px;
    }
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: default;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #dee2e6;
}

.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon-wrapper {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.25);
}

.stat-icon {
    font-size: 24px;
    color: white;
}

.stat-number {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1;
}

/* 響應式統計區塊 */
@media (max-width: 768px) {
    .stats-section {
        padding: 20px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 600px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .stat-label {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .stats-section {
        padding: 20px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 350px;
    }
    
    .stat-card {
        padding: 25px 20px;
    }
    
    .stat-icon-wrapper {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }
    
    .stat-icon {
        font-size: 18px;
    }
    
    .stat-number {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .stat-label {
        font-size: 12px;
    }
}

/* 專輯列表頁面樣式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #e9ecef;
}

.section-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 2em;
}

.album-count {
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    color: #6c757d;
    font-size: 14px;
    font-weight: bold;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.back-to-home:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.back-to-home i {
    margin-right: 6px;
}

/* 響應式專輯列表頁面 */
@media (max-width: 1024px) {
    .section-header h2 {
        font-size: 1.8em;
    }
    
    .album-count {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .back-to-home {
        padding: 8px 16px;
        font-size: 13px;
    }
}
/* 響應式專輯列表頁面 */
@media (max-width: 768px) {
    .section-header {
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 1.2em;
        flex: none;
        margin: 0;
    }
    
    .album-count {
        align-self: center;
        order: 2;
    }
    
    .back-to-home {
        align-self: center;
        order: 3;
    }
}

@media (max-width: 480px) {
    .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }
    
    .section-header h2 {
        font-size: 1.3em;
        text-align: center;
        flex: none;
        order: 1;
        margin-bottom: 0;
    }
    
    .album-count {
        font-size: 1em;
        align-self: center;
        order: 2;
    }
    
    .back-to-home {
        align-self: center;
        order: 3;
    }
}

/* 查看全部專輯按鈕 */
.view-all-albums {
    text-align: right;
    margin: 40px 0;
}

.view-all-albums a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-all-albums a:hover {
    color: #0056b3;
    text-decoration: underline;
}
.view-all-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.3);
}

.view-all-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.4);
    color: #ffffff !important;
    text-decoration: none !important;
}

.view-all-btn i {
    margin-right: 8px;
}

/* 響應式查看全部按鈕 */
@media (max-width: 1024px) {
    .view-all-btn {
        padding: 12px 24px;
        font-size: 1.4em;
    }
}
@media (max-width: 768px) {
    .view-all-btn {
        padding: 12px 24px;
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    .view-all-btn {
        padding: 10px 20px;
        font-size: 1.4em;
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* 分頁導航樣式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.page-numbers {
    display: flex;
    gap: 5px;
    align-items: center;
}

.page-link {
    display: inline-block;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.page-link:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.page-link.active {
    background: #007bff;
    border-color: #007bff;
    color: white;
    font-weight: bold;
}

.page-link.prev,
.page-link.next {
    padding: 8px 16px;
    min-width: auto;
}

.page-ellipsis {
    padding: 8px 4px;
    color: #6c757d;
    font-size: 14px;
}

.pagination-info {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    margin-top: 20px;
}

/* 標籤篩選區塊樣式 */
.tags-filter-section {
    background: #f8f9fa;
    padding: 5px;
    margin: 0 0 20px 0;
    border-radius: 8px;
    box-sizing: border-box;
}

.tags-filter-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.tags-filter-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.tags-filter-subtitle {
    font-size: 14px;
    color: #ffffff;
    display: block;
}



@media (max-width: 768px) {
    .tags-filter-section {
        padding: 5px;
        margin: 20px 0;
    }
    
    .tags-filter-title {
        font-size: 20px;
    }
    
    .tags-filter-subtitle {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .tags-filter-section {
        padding: 5px;
        margin: 15px 0;
    }
    
    .tags-filter-title {
        font-size: 18px;
    }
    
    .tag-buttons {
        gap: 4px;
    }
    
    .tag-btn {
        padding: 5px 10px;
        font-size: 15px;
    }
}

.tracks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: 1px solid #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

/* 響應式篩選操作 */
@media (max-width: 768px) {
    .tracks-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .filter-actions {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .tracks-header {
        align-items: center;
    }
    
    .filter-actions {
        align-self: center;
    }
}

/* 曲目標籤樣式 */
.track-tags {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.track-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f1f3f4;
    color: #495057;
    font-size: 12px;
    border-radius: 4px;
    font-weight: normal;
    border: 1px solid #dee2e6;
    text-decoration: none;
    transition: all 0.2s ease;
}

.track-tag:hover {
    background: #007bff;
    border-color: #007bff;
    color: white;
    text-decoration: none;
}

/* 響應式標籤 */
@media (max-width: 768px) {
    .track-tags {
        gap: 4px;
        margin-top: 6px;
    }
    
    .track-tag {
        padding: 3px 8px;
        font-size: 11px;
        border-radius: 3px;
    }
}

@media (max-width: 480px) {
    .track-tags {
        gap: 3px;
        margin-top: 4px;
    }
    
    .track-tag {
        padding: 2px 6px;
        font-size: 10px;
        border-radius: 3px;
    }
}

/* 響應式分頁 */
@media (max-width: 768px) {
    .pagination {
        gap: 5px;
    }
    
    .page-link {
        padding: 6px 10px;
        font-size: 13px;
        min-width: 35px;
    }
    
    .page-link.prev,
    .page-link.next {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .page-ellipsis {
        padding: 6px 2px;
        font-size: 12px;
    }
    
    .pagination-info {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-numbers {
        order: 2;
    }
    
    .page-link.prev,
    .page-link.next {
        order: 1;
        width: 100%;
        text-align: center;
        padding: 10px;
    }
    
    .page-link.next {
        order: 3;
    }
}

/* Footer */
footer {
    background: #2c3e50;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

/* 響應式 Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}
/* Album Page Styles */
.album-detail { 
    display: grid; 
    grid-template-columns: 300px 1fr; 
    grid-row-gap: 10px;
    grid-column-gap: 20px; 
    margin-bottom: 10px; 
}

.album-description-large {
    clear: both;
    float: left;
    width: 100%;
    text-align: left;
    padding: 15px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-size: 1.1rem;
    font-family:'微軟正黑體', 'Noto Sans TC', sans-serif;
    line-height: 2;
    letter-spacing: 1px;
}
    .info-item {
        clear: both;
        float: left;
        width: 100%;      
        padding: 6px 12px;
        font-size: 0.9em;
        text-align: right;
    }
    
    .release-date {
    font-size: 0.9rem;
    }
    
    .copyright-info {
        font-size: 0.85em;
        font-weight: bold;
    }
    
    .hits-info {
        font-size: 0.9em;
    }


/* 響應式設計 - 手機 */
@media (max-width: 480px) {
    .album-detail {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 減少行動裝置的左右留白 */
    #mm-page-wrapper {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    .container {
        padding: 0 5px !important;
    }
    
    .album-cover-large {
        width: 200px;
        height: 200px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .album-title-large {
        font-size: 1.4em;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .album-info-detail {
        padding: 15px 0;
    }
    
    .platform-links-large {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .album-description-large {
        font-size: 1.2rem;
        line-height: 1.8;
        letter-spacing: 0.5px; 
        text-align: left;
        padding: 15px 10px;
        background: #ffffff;
        border: 1px solid #e9ecef;
        border-radius: 10px;
        margin-bottom: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    /* 曲目列表響應式 */
    .tracks-section {
        padding: 20px 0px;
    }
    
    .track-item {
        padding: 15px 5px;
    }
    
    /* 播放按鈕和進度條調整 */
    .play-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .track-progress-container {
        margin-left: 5px;
        margin-right: 5px;
    }
    
    /* 音頻控制項調整 */
    .track-audio audio {
        margin: 0 5px;
    }
    
    /* 曲目標題調整 */
    .track-title {
        font-size: 1.1em;
        line-height: 1;
    }
    
    /* 曲目元信息調整 */
    .track-meta-first-line {
        flex-wrap: wrap;
        gap: 2px;
        align-items: flex-start;
    }
    
    .track-meta-second-line {
        flex-wrap: wrap;
        gap: 5px;
        align-items: flex-start;
    }
    
    /* 讓語言、ISRC、播放次數在行動裝置上換行顯示 */
    @media (max-width: 480px) {
        .track-isrc{
            width: calc(100% - 5px);
            margin: 2px 2px;
            font-size: 0.8em;
            display: block;
        }
        .track-hits {
            margin: 3px;
            font-size: 0.8em;
            display: block;
        }                    
        .track-duration {
            font-size: 0.8em;
            width: 40px;
            margin: 2px 5px;
            text-align: center;
        }
        .track-language {
            margin: 2px;
            font-size: 0.8em;
            display: block;
        }        
        .track-title {
            font-size: 1.1em;
            line-height: 1;
            /*margin-bottom: 5px;*/
        }
        
        /* 調整 Composer 和 Lyricist 的距離，讓它們更靠近 */
        .track-meta-second-line {
            gap: 1px; /* 調整到最小距離 1px */
            margin-top: 1px; /* 進一步減少與上一行的距離 */
            line-height: 1; /* 減少行高到最緊湊 */
            flex-wrap: nowrap; /* 避免換行，讓它們盡量在同一行 */
            align-items: center; /* 垂直居中對齊 */
        }
        
        .track-composer,
        .track-lyricist {
            font-size: 0.9em; /* 恢復正常字體大小 */
            margin-right: 8px; /* 移除額外 margin */    
            padding: 0; /* 移除額外 padding */
            white-space: nowrap; /* 避免文字換行 */
            line-height: 1.2; /* 確保行高一致且最緊湊 */
            display: inline; /* 使用 inline 讓排列更緊密 */
        }
        
        /* 移除有問題的分隔符號設定，使用更簡單的方式 */
    }
    
    /* 曲目列表響應式 */
    .tracks-section {
        padding: 20px 0px;
    }
    
    .track-item {
        padding: 12px 10px;
    }
    
    .track-main-info {
        gap: 8px;
    }
    
    .track-number {
        font-size: 14px;
        min-width: 20px;
    }
    
    .track-title {
            font-size: 1.1em;
    }
    
    .track-duration, .track-language, .track-isrc {
        font-size: 11px;
    }
    
    .track-meta-second-line {
        font-size: 11px;
    }
    
    .play-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Album Page 響應式設計 */

/* 大螢幕 (>1440px) */
@media screen and (min-width: 1441px) {
    .album-detail {
        grid-template-columns: 300px 1fr;
        grid-row-gap: 30px;
        grid-column-gap: 40px;
    }
    
    .album-cover-large {
        width: 300px;
        height: 300px;
    }
    
    .album-title-large {
        font-size: 1.8em;
    }
    
    .album-description-large {
        font-size: 1.1rem;
        line-height: 1.7;
        letter-spacing:1px;
        padding: 20px;
    }
}

/* 中大螢幕 (1281-1440px) */
@media screen and (min-width: 1281px) and (max-width: 1440px) {
    .album-detail {
        grid-template-columns: 300px 1fr;
        grid-row-gap: 25px;
        grid-column-gap: 35px;
    }
    
    .album-cover-large {
        width: 300px;
        height: 300px;
    }
    
    .album-title-large {
        font-size: 1.8em;
    }
    
    .album-description-large {
        font-size: 1.1rem;
        line-height: 1.7;
        letter-spacing:1px;
        padding: 20px;
    }
}

/* 中等螢幕 (1025-1280px) */
@media screen and (min-width: 1025px) and (max-width: 1280px) {
    .album-detail {
        grid-template-columns: 300px 1fr;
        grid-row-gap: 25px;
        grid-column-gap: 30px;
    }
    
    .album-cover-large {
        width: 300px;
        height: 300px;
    }
    
    .album-title-large {
        font-size: 1.8em;
    }
    
    .album-description-large {
        font-size: 1.1rem;
        line-height: 1.7;
        letter-spacing:1px;
        padding: 18px;
    }
}

/* 中小螢幕 (769-1024px) - 垂直排列 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .album-detail {
        grid-template-columns: 1fr;
        grid-row-gap: 0;
        grid-column-gap: 0;
    }
    
    .album-cover-large {
        width: 350px;
        height: 350px;
        margin: 0 auto;
        display: block;
        margin-bottom: 0;
    }
    
    .album-title-large {
        font-size: 1.8em;
        text-align: center;
        margin-bottom: 2px;
        margin-top: 0;
        padding-top: 0;
    }
    
    .album-description-large {
        font-size: 1.2rem;
        line-height: 1.7;
        letter-spacing:1px;
        padding: 20px;
    }
    
    .platform-links-large {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .album-info-detail {
        padding: 20px 0;
    }
}

/* 平板 (481-768px) - 垂直排列 */
@media screen and (max-width: 768px) {
    .album-detail {
        grid-template-columns: 1fr;
        grid-row-gap: 5px;
        grid-column-gap: 0;
    }
    
    /* 平板裝置的左右留白調整 */
    #mm-page-wrapper {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .container {
        padding: 0 10px !important;
    }
    
    /* 平板裝置的曲目元信息優化 */
    .track-meta-first-line,
    .track-meta-second-line {
        flex-wrap: wrap;
        gap: 2px;
        align-items: flex-start;
    }
    
    /* 平板裝置上讓語言、ISRC、播放次數可以換行 */
    @media (max-width: 768px) and (min-width: 481px) {
        .track-language,
        .track-isrc,
        .track-hits {
            margin: 3px;
            font-size: 0.85em;
        }
        
        .track-duration {
            font-size: 0.85em;
            margin: 2px 5px;
        }
        
        .track-title {
            font-size: 1.2em;
            line-height: 1;
            /*margin-bottom: 5px;*/
        }
    }
    
    .album-cover-large {
        width: 300px;
        height: 300px;
        margin: 0 auto;
        display: block;
        margin-bottom: 0;
    }
    
    .album-title-large {
        font-size: 1.6em;
        text-align: center;
        margin-bottom: 10px;
        margin-top: 0;
        padding-top: 0;
    }
    
    .album-description-large {
        font-size: 1.2rem;
        line-height: 1.7;
        letter-spacing:1px;
        padding: 15px;
    }
    
    .platform-links-large {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .album-info-detail {
        padding: 15px 0;
    }
}

/* 手機 (≤480px) - 垂直排列，緊湊 */
@media screen and (max-width: 480px) {
    .album-detail {
        grid-template-columns: 1fr;
        grid-row-gap: 20px;
        grid-column-gap: 0;
    }
    
    .album-cover-large {
        width: 250px;
        height: 250px;
        margin: 0 auto;
        display: block;
    }
    
    .album-title-large {
        font-size: 1.4em;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .album-description-large {
        font-size: 1rem;
        line-height: 1.7;
        padding: 12px;
    }
    
    .platform-links-large {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .album-info-detail {
        padding: 10px 0;
    }
    
    .platform-btn-large {
        width: 40px;
        height: 40px;
    }
    
    .platform-btn-large img {
        width: 30px;
        height: 30px;
    }
}

.album-cover-large { 
    width: 300px;
    height: 300px; 
    border-radius: 15px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
    background: linear-gradient(45deg, #667eea, #764ba2); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-size: 4em; 
}
.album-cover-large img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}
.album-info-detail { 
    padding: 20px 0; 
}
.copyright-item:last-child {
    margin-bottom: 0;
}
.meta-item:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
}

.meta-item i {
    color: #667eea;
    font-size: 0.9em;
}

/* 專輯版權資訊 */
.album-copyright-info {
    margin-bottom: 0px;
    padding: 12px 0 5px 15px;
    background: transparent;
    font-size: 90%;
    line-height: 1.6;
    text-align: right;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.album-description-large p { 
    margin-bottom: 20px; 
}
.info-item.release-date {
    text-align: right;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0px;
    padding: 3px 0 1px 0;
}
.info-item.upc-code {
    text-align: right;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0px;
    padding: 0px 0 3px 0;
}
.platform-links-large { 
    display: flex; 
    gap: 8px; 
    flex-wrap: wrap; 
    margin: 10px 0 5px 0; 
    justify-content: flex-end; 
}
.platform-btn-large { 
    width: 35px; 
    height: 35px; 
    border: none; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
}
.platform-btn-large img { 
    width: 35px; 
    height: 35px; 
    object-fit: cover; 
    border-radius: 50%; 
}
.platform-btn-large:hover { 
    transform: scale(1.05); 
    text-decoration: none; 
    color: white; 
}
.platform-btn-large.youtube { background: #ff0000; }
.platform-btn-large.spotify { background: #1db954; }
.platform-btn-large.kkbox { background: #00afe8; }
.platform-btn-large.apple { background: #000000; }
.tracks-section { 
    background: white; 
    padding: 30px 10px; 
    border-radius: 15px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.1); 
}
.tracks-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 25px; 
    padding-bottom: 15px; 
    border-bottom: 2px solid #f0f0f0; 
}
.tracks-list { 
    list-style: none; 
    padding: 0; 
}
.track-item { 
    display: flex; 
    flex-direction: column; 
    padding: 15px 0; 
    border-bottom: 1px solid #f0f0f0; 
    transition: background 0.3s ease; 
    gap: 10px; 
}
.track-item:hover { 
    background: #f8f9fa; 
}
.track-main-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.track-play-control {
    flex-shrink: 0;
}
.track-number { 
    width: 20px; 
    font-weight: bold; 
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.track-title-section {
    flex: 1;
    min-width: 200px;
}
.track-title { 
    font-weight: bold; 
    color: #2c3e50; 
    font-size: 1.2em;
    margin-right: 8px;
}
.track-meta-first-line {
    font-size: 0.85em; 
    color: #666; 
    margin-bottom: 4px;
    display: flex;
    gap: 2px;
    align-items: center;
    flex-wrap: wrap;
}
.track-meta-second-line {
    font-size: 0.85em; 
    color: #666; 
    display: flex;
    gap: 2px;
    align-items: center;
    flex-wrap: wrap;
}
.track-duration { 
    color: #999; 
    font-weight: 500;
    margin: 2px 5px;    
}
.track-isrc {
    color: #666;
    font-size: 0.9em;
    margin: 2px 5px;
}
.track-language {
    color: #2196F3;
    font-size: 0.85em;
    font-weight: 500;
    background-color: #e3f2fd;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 8px;
}

.track-language.music {
    color: #FF6B35;
    font-weight: 600;
    background-color: #FFF3E0;
    border: 1px solid #FFB74D;
}
.track-composer, .track-lyricist {
    margin-right: 8px; /* 移除額外 margin */      
    color: #666;
}
.track-lyrics-toggle {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 2px 8px;
    font-size: 1em;
    color: #666;
    cursor: pointer;
    margin-left: 5px;
    transition: all 0.2s ease;
}
.track-lyrics-toggle:hover {
    background-color: #e0e0e0;
    border-color: #bbb;
}
.track-lyrics-container {
    width: 100%;
    margin-top: 10px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1em;
    line-height: 1.6;
    color: #333;
}
.track-lyrics-content {
    white-space: pre-line;
    word-wrap: break-word;
}
.track-progress-container {
    width: 100%;
    margin-top: 5px;
}
.track-audio { 
    display: none; 
}

/* 播放進度條樣式 - 從 album.php 整合 */
.track-progress-section {
    width: 100%;
    height: 12px;
    background-color: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 8px;
    position: relative;
    cursor: pointer;
}

.progress-container-full {
    width: 100%;
    height: 100%;
    position: relative;
}

.progress-bar-full {
    height: 100%;
    background-color: #2196F3;
    width: 0%;
    transition: width 0.1s ease;
    position: relative;
    z-index: 2;
}

.progress-bar-buffer {
    height: 100%;
    background-color: #e0e0e0;
    width: 0%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.progress-bar-full::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -5px;
    width: 16px;
    height: 22px;
    background-color: #2196F3;
    border-radius: 4px;
    cursor: grab;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.progress-bar-full:active::after {
    cursor: grabbing;
}

.time-display {
    min-width: 35px;
    font-size: 12px;
    color: #333;
    position: absolute;
    right: 10px;
    top: -25px;
    z-index: 20;
    background-color: #fff;
    padding: 2px 6px;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-family: monospace;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 曲目資訊樣式 - 從 album.php 整合 */
.track-duration { 
    color: #999; 
    font-weight: 500;
}

.track-isrc {
    color: #666;
    font-size: 0.9em;
}

.track-language {
    color: #2196F3;
    font-size: 0.85em;
    font-weight: 500;
    background-color: #e3f2fd;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 8px;
}

.track-composer, .track-lyricist {
    margin-right: 8px; /* 移除額外 margin */    
    color: #666;
}

.track-progress-container {
    width: 100%;
    margin-top: 5px;
}
.play-btn { 
    background: #2c3e50; 
    color: white; 
    border: none; 
    border-radius: 50%; 
    width: 35px; 
    height: 35px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.play-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}
.time-display { 
    font-size: 0.85em; 
    color: #666; 
    font-family: monospace; 
}
.track-links { 
    display: flex; 
    gap: 8px; 
}
.track-link { 
    width: 30px; 
    height: 30px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-size: 0.9em; 
}
.track-link.youtube { background: #ff0000; }
.track-link.spotify { background: #1db954; }
.track-link.kkbox { background: #00afe8; }
.track-link.apple { background: #000000; }

/* Back Link */
.back-link { 
    display: inline-block; 
    margin-bottom: 20px; 
    color: #3498db; 
    text-decoration: none; 
}

.track-hits {
    color: #6c757d;
    font-size: 0.8em;
    margin-left: 10px;
}

.track-hits i {
    color: #007bff;
    margin-right: 3px;
}

/* Spotify 播放器樣式 */
.playbox {
    margin: 30px 0;
    padding: 5px 0 5px 0;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.spotify-player-section h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1db954;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spotify-player-section h3 i {
    font-size: 20px;
}


.spotify-player-content, .kkbox-player-content, .apple-player-content{
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 音樂平台標籤樣式 */
.platform-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.tab-button {
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 8px 8px 0 0;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-button:hover {
    background: #e9ecef;
    color: #333;
}

.tab-button.active {
    background: #fff;
    border-color: #007bff;
    color: #007bff;
    border-bottom-color: #fff;
    margin-bottom: -2px;
}

.tab-button i {
    font-size: 16px;
}

/* 播放器面板樣式 */
.platform-content {
    position: relative;
}

.platform-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.platform-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 錯誤訊息樣式 */
.no-spotify-id, .no-kkbox-id, .no-apple-id {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #856404;
}

.no-spotify-id i, .no-kkbox-id i, .no-apple-id i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .platform-tabs {
        flex-wrap: wrap;
        gap: 5px;
        margin-bottom: 15px;
    }
    
    .tab-button {
        padding: 12px 15px;
        font-size: 16px;
        flex: 1;
        min-width: 100px;
        justify-content: center;
    }
    
    .tab-button i {
        font-size: 16px;
    }
}


.spotify-player-content iframe, .kkbox-player-content  iframe, .apple-player-content  iframe{
    width: 100%;
    height: 100%; /* 強制填滿容器 */
    border-radius: 10px;
}


    


/* 無 Spotify ID 錯誤訊息 */
.no-spotify-id {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #856404;
}

.no-spotify-id p {
    margin: 0 0 10px 0;
    font-size: 14px;
}

.no-spotify-id i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #dc3545;
}


.kkbox-player-section h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: #ff6b35;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kkbox-player-section h3 i {
    font-size: 20px;
}


/* 無 KKBOX ID 錯誤訊息 */
.no-kkbox-id {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #856404;
}

.no-kkbox-id p {
    margin: 0 0 10px 0;
    font-size: 14px;
}

.no-kkbox-id i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #dc3545;
}

.apple-player-section h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.apple-player-section h3 i {
    font-size: 20px;
}



/* 無 Apple Music ID 錯誤訊息 */
.no-apple-id {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #856404;
}

.no-apple-id p {
    margin: 0 0 10px 0;
    font-size: 14px;
}

.no-apple-id i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #dc3545;
}

/* 響應式 Spotify 播放器 */
@media (max-width: 768px) {
    .playbox {
        margin: 20px 0;
        padding: 5px 0 5px 0;
    }
    
    .spotify-player-section h3 {
        font-size: 16px;
        margin: 0 0 10px 0;
    }
    
    
    .kkbox-player-section h3 {
        font-size: 16px;
        margin: 0 0 10px 0;
    }
    
    .apple-player-section h3 {
        font-size: 16px;
        margin: 0 0 10px 0;
    }

}

/* 返回按鈕容器 */
.back-button-container {
    margin: 20px 0;
    text-align: left;
}

/* 返回按鈕 */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    color: white;
    text-decoration: none;
}

.back-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.back-button i {
    font-size: 16px;
}

.back-button span {
    font-weight: 500;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .back-button {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 20px;
    }
    
    .back-button i {
        font-size: 14px;
    }
}

/* 無專輯時的顯示 */
.no-albums {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-albums i {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-albums p {
    font-size: 1.2em;
    margin: 0;
}
/* 中等螢幕尺寸響應式設計 */
@media (max-width: 1024px) {
    .albums-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
.album-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
    min-height: 90px;         /* 4行高度 (14px * 1.6 * 4 ≈ 90px + 邊距 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;       /* Webkit 瀏覽器 */
    line-clamp: 4;               /* 標準屬性 */
    -webkit-box-orient: vertical;
    box-orient: vertical;
}    
}
/* 響應式設計 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    .albums-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    
    .container {
        padding: 0 5px;
    }
.album-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
    min-height: 90px;         /* 4行高度 (14px * 1.6 * 4 ≈ 90px + 邊距 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;       /* Webkit 瀏覽器 */
    line-clamp: 4;               /* 標準屬性 */
    -webkit-box-orient: vertical;
    box-orient: vertical;
}      
}

@media (max-width: 480px) {
    header {
        padding: 40px 0;
    }
    
    .albums-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;       
    }
    
    .platform-links {
        justify-content: right;
    }
.album-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
    min-height: 90px;         /* 4行高度 (14px * 1.6 * 4 ≈ 90px + 邊距 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;       /* Webkit 瀏覽器 */
    line-clamp: 4;               /* 標準屬性 */
    -webkit-box-orient: vertical;
    box-orient: vertical;
}     
}

/* album-description-large ul ol*/

.album-description-large ol{
	margin: 10px 5px 10px 50px;
	padding-left: 0px;
	line-height: 35px;
}
.album-description-large ol li{
	list-style-type: none;
	list-style-position: outside;
	text-indent: -30px;
	counter-increment: step-counter;
}
.ialbum-description-large ol li::before {
	position: relative;
	left: -5px;
	content: counter(step-counter);
	margin-right: 5px;
	font-size: 80%;
	background-color: #666600;
	color: white;
	font-weight: bold;
	padding: 3px 8px;
	border-radius: 3px;
}
.album-description-large ul{
	margin: 10px 5px 10px 50px;
	padding-left: 0px;
	line-height: 35px;
}
.album-description-large ul li{
	list-style-type: none;
	list-style-position:outside;
	text-indent: -15px;
    counter-increment: step-counter;	
}
.album-description-large ul li::before {
	position: relative;
	left: -10px;
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	background-color: #666600;
	border-radius: 50%;
}

        .about-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 2px 20px rgba(0,0,0,0.1);
            margin-top: 0px;
        }
        
        .about-header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .about-image {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .about-image img {
            max-width: 300px;
            max-height: 300px;
            border-radius: 50%;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            border: 4px solid #fff;
        }
        
        .about-content {
            color:#333;
            font-size: 1.1rem;
            font-family:'微軟正黑體', 'Noto Sans TC', sans-serif;
            line-height: 2;
            letter-spacing: 1px;
            text-align: justify; /* 電腦版維持左右對齊 */
            padding: 0 5px;
            margin-bottom: 30px;
        }
        
        .about-content h1 {
            color: #333;
            font-size: 28px;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .about-content h2 {
            color: #555;
            font-size: 22px;
            margin: 25px 0 15px 0;
        }
        
        .about-content h3 {
            color: #777;
            font-size: 18px;
            margin: 20px 0 10px 0;
        }
        
        .about-content p {
            margin-bottom: 15px;
        }
        
        .about-content ul, .about-content ol {
            margin: 15px 0;
            padding-left: 30px;
        }
        
        .about-content li {
            margin-bottom: 8px;
        }
        
        .about-content strong {
            color: #007bff;
            font-weight: 600;
        }
        
        .about-content em {
            color: #6c757d;
            font-style: italic;
        }
        
        .about-content blockquote {
            border-left: 4px solid #007bff;
            padding-left: 20px;
            margin: 20px 0;
            font-style: italic;
            color: #666;
        }
        
        .about-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
        }
        
        .about-content th, .about-content td {
            border: 1px solid #ddd;
            padding: 12px;
            text-align: left;
        }
        
        .about-content th {
            background: #f8f9fa;
            font-weight: 600;
        }
        
        .no-content {
            text-align: center;
            padding: 60px 20px;
            color: #999;
        }
        
        .no-content i {
            font-size: 48px;
            color: #ddd;
            margin-bottom: 20px;
        }
        
        .update-info {
            text-align: center;
            color: #999;
            font-size: 14px;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #eee;
        }
        
        @media (max-width: 768px) {
            .about-container {
                padding: 15px;
                margin-top: 0px;
            }
            
            .about-image img {
                max-width: 200px;
                max-height: 200px;
            }
            
            .about-content {
                color:#333;
                font-size: 1.15rem;
                line-height: 1.8;
                letter-spacing: 0.5px;
                text-align: left;
                padding: 0 5px;
            }
            
            .about-content h1 {
                font-size: 24px;
            }
            
            .about-content h2 {
                font-size: 20px;
            }
        }



/* Footer Copyright 樣式 */
.footer-copyright {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;    
}
/* Footer Right 樣式 */
.footer-right {
    display: flex;
    list-style: none;    
    flex-direction: column;
    align-items: flex-end; /* 電腦版靠右 */
    gap: 5px; 
    padding: 0; /* 確保清除 ul 預設內距 */
    margin: 0;
}
/* 響應式 Footer */
@media (max-width: 768px) {
    .footer-right {
        align-items: center; /* 關鍵：手機版整塊改為置中 */
        gap: 5px;           /* 手機版間距加大一點點 */
    }
    
    .footer-right li {
        text-align: center;
        /* 移除 margin-bottom，交給 gap 控制 */
    }
}

.footer-copyright li {
    margin-bottom: 5px;
    font-size: 16px;
}
.footer-right  li {
    list-style: none;      
    margin-top: 2px;
    margin-bottom: 1px;
    font-size: 14px;
}
.footer-right li:first-of-type {
    margin-top: 10px;
    font-size: 14px;
    color: #b4b6b6;
}
.footer-right li:last-of-type {
    color: #dadddd;
}
.footer-copyright li:nth-of-type(2) {
    font-size: 15px;
}
/* Footer 字型樣式 */
footer .footer-copyright .site-name {
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', '微軟正黑體', sans-serif;
    font-weight: 400;
    font-size: 1.5em;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
