:root {
    --j-pop-cat-neon-pink: #ff2a75;
    --j-pop-cat-neon-purple: #8a2be2;
    --j-pop-cat-neon-cyan: #00f2fe;
    --j-pop-cat-glass-bg: rgba(255, 255, 255, 0.75);
    --j-pop-cat-glass-border: rgba(255, 255, 255, 0.4);
    --j-pop-cat-gradient-primary: linear-gradient(135deg, #ffafbd 0%, #ffc3a0 100%);
    --j-pop-cat-gradient-glow: linear-gradient(45deg, #ff2a75, #8a2be2, #00f2fe);
    --j-pop-cat-text-dark: #222222;
    --j-pop-cat-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --j-pop-cat-tag-bg: #f0f0f0;
    --j-pop-cat-img-placeholder: #e0e0e0;
}

/* 頂部導覽 Header 區塊 */
.j-pop-cat .site-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--j-pop-cat-glass-border);
    padding: 30px 20px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.j-pop-cat .header-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.j-pop-cat .site-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--j-pop-cat-text-dark);
    letter-spacing: -0.5px;
}

.j-pop-cat .nav-btn {
    display: inline-block;
    background: var(--j-pop-cat-text-dark);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.j-pop-cat .nav-btn:hover {
    background: var(--j-pop-cat-neon-pink);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 42, 117, 0.3);
}

/* 頁面背景微光特效 */
.j-pop-cat body::before {
    content: "";
    position: fixed;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,175,189,0.25) 0%, rgba(253,253,253,0) 70%);
    z-index: -1;
    animation: pulseGlow 8s ease-in-out infinite alternate;
}

.j-pop-cat body::after {
    content: "";
    position: fixed;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201,255,191,0.3) 0%, rgba(253,253,253,0) 70%);
    z-index: -1;
    animation: pulseGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.2) translate(30px, 30px); }
}

/* Hero 歌曲英雄區 */
.j-pop-cat .song-hero {
    position: relative;
    background: var(--j-pop-cat-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--j-pop-cat-glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--j-pop-cat-card-shadow);
    display: flex;
    gap: 40px;
    align-items: center;
    overflow: hidden;
    margin-bottom: 40px;
}

.j-pop-cat .song-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--j-pop-cat-gradient-glow);
    background-size: 200% 200%;
    animation: gradientMove 4s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 唱片視覺與旋轉動畫 */
.j-pop-cat .cover-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    margin-right: 40px; /* 與右側文字區塊保持間距 */
}

.j-pop-cat .vinyl-record {
    position: absolute;
    top: 5px;
    right: -20px;
    width: 210px;
    height: 210px;
    background:
            conic-gradient(
                    from 0deg,
                    rgba(255,255,255,0.2) 0deg,
                    transparent 45deg,
                    rgba(255,255,255,0.2) 90deg,
                    transparent 135deg,
                    rgba(255,255,255,0.2) 180deg,
                    transparent 225deg,
                    rgba(255,255,255,0.2) 270deg,
                    transparent 315deg,
                    rgba(255,255,255,0.2) 360deg
            ),
            radial-gradient(
                    circle,
                    #111 12%,
                    #ff2a75 13%,
                    #ff2a75 22%,
                    #111 23%,
                    #222 25%,
                    #111 35%,
                    #333 48%,
                    #111 50%,
                    #222 65%,
                    #111 70%
            );
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 1;
    /* 預設拉出 40px 並旋轉，且持續旋轉動畫 */
    transform: translateX(40px) rotate(45deg);
    animation: spin 12s linear infinite;
    animation-play-state: running;
}

.j-pop-cat .album-cover {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 18px;
    background-color: var(--j-pop-cat-img-placeholder);
    background-size: cover;
    background-position: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    z-index: 2;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

.j-pop-cat .album-cover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes spin {
    100% { transform: translateX(40px) rotate(405deg); }
}

/* 歌曲資訊細節 */
.j-pop-cat .song-details {
    flex: 1;
    z-index: 2;
}

.j-pop-cat .badge-group {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.j-pop-cat .tag-badge {
    background: var(--j-pop-cat-tag-bg);
    color: #555;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.j-pop-cat .tag-badge.highlight {
    background: linear-gradient(135deg, #ffafbd 0%, #ffc3a0 100%);
    color: #4a2027;
}

.j-pop-cat .badge-link-btn {
    display: inline-block;
    background: var(--j-pop-cat-neon-pink);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(255, 42, 117, 0.25);
}

.j-pop-cat .badge-link-btn:hover {
    background: var(--j-pop-cat-neon-purple);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(138, 43, 226, 0.35);
}

.j-pop-cat .song-title-jp {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--j-pop-cat-text-dark);
    line-height: 1.2;
    margin-bottom: 6px;
}

.j-pop-cat .song-title-zh {
    font-size: 1.25rem;
    color: #777;
    font-weight: 500;
    margin-bottom: 20px;
}

.j-pop-cat .meta-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e5e5e5;
}

.j-pop-cat .meta-item {
    display: flex;
    flex-direction: column;
}

.j-pop-cat .meta-label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 4px;
}

.j-pop-cat .meta-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #444;
}

.j-pop-cat .action-button-container {
    margin-top: 5px;
}

/* 區塊標題 */
.j-pop-cat .section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--j-pop-cat-text-dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 歌詞區域布局 */
.j-pop-cat .lyrics-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 單行歌詞卡片 */
.j-pop-cat .lyric-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px 26px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
}

.j-pop-cat .lyric-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
    border-color: #ffe0e6;
}

.j-pop-cat .lyric-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

.j-pop-cat .lyric-card:hover::before {
    background: var(--j-pop-cat-neon-pink);
}

/* 歌詞卡片縮略圖 */
.j-pop-cat .lyric-thumb-link {
    display: block;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.j-pop-cat .lyric-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.j-pop-cat .lyric-thumb-link:hover .lyric-thumb-img {
    transform: scale(1.1);
}

/* 歌詞內容組件 */
.j-pop-cat .lyric-content {
    flex: 1;
}

.j-pop-cat .line-jp-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.j-pop-cat .line-jp-link:hover .line-jp {
    color: var(--j-pop-cat-neon-pink);
}

/* 卡片內的歌名與描述 */
.j-pop-cat .line-jp {
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.j-pop-cat .line-desc {
    font-size: 1.05rem;
    color: #666;
    font-weight: 500;
}

/* 響應式適配 */
@media (max-width: 768px) {
    .j-pop-cat .header-content {
        flex-direction: column;
        text-align: center;
    }

    .j-pop-cat .song-hero {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .j-pop-cat .cover-wrapper {
        width: 180px;
        height: 180px;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .j-pop-cat .album-cover {
        width: 180px;
        height: 180px;
    }

    .j-pop-cat .vinyl-record {
        width: 170px;
        height: 170px;
    }

    .j-pop-cat .badge-group {
        justify-content: center;
    }

    .j-pop-cat .song-title-jp {
        font-size: 1.8rem;
    }

    .j-pop-cat .lyric-card {
        padding: 18px 20px;
        flex-direction: column;
        text-align: center;
    }

    /* 移動端縮略圖鋪開顯示 */
    .j-pop-cat .lyric-thumb-link {
        width: 100%;
        height: 180px;
    }

    .j-pop-cat .line-jp {
        font-size: 1.25rem;
    }
}