:root {
    --c-pop-cat-primary-bg: #fdfdfd;
    --c-pop-cat-accent-pink: #ffafbd;
    --c-pop-cat-accent-blue: #c9ffbf;
    --c-pop-cat-text-dark: #333333;
    --c-pop-cat-card-shadow: 0 12px 40px rgba(0,0,0,0.06);
    --c-pop-cat-img-placeholder: #eeeeee;
    --c-pop-cat-tag-bg: #f0f0f0;
    --c-pop-cat-accent-purple: #9b51e0;
    --c-pop-cat-accent-yellow: #ffde59;
    --c-pop-cat-accent-coral: #ff5757;
    --c-pop-cat-gradient-mandopop: linear-gradient(135deg, var(--c-pop-cat-accent-pink) 0%, #a88beb 100%);
    --c-pop-cat-glass-bg: rgba(255, 255, 255, 0.85);
    --c-pop-cat-glass-border: rgba(255, 255, 255, 0.3);
    --c-pop-cat-neon-glow: 0 0 20px rgba(255, 175, 189, 0.6);
    --c-pop-cat-radius-lg: 24px;
    --c-pop-cat-radius-md: 16px;
    --c-pop-cat-radius-sm: 8px;
    --c-pop-cat-transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.c-pop-cat .container-width {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.c-pop-cat .hero-section {
    position: relative;
    padding: 60px 20px 50px;
    background: linear-gradient(180deg, #fff5f7 0%, var(--c-pop-cat-primary-bg) 100%);
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    overflow: hidden;
}
.c-pop-cat .hero-bg-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}
.c-pop-cat .blob {
    position: absolute;
    filter: blur(60px);
    border-radius: 50%;
    animation: float 8s infinite alternate ease-in-out;
}
.c-pop-cat .blob-1 {
    width: 320px;
    height: 320px;
    background: var(--c-pop-cat-accent-pink);
    top: -50px;
    left: 10%;
}
.c-pop-cat .blob-2 {
    width: 380px;
    height: 380px;
    background: var(--c-pop-cat-accent-blue);
    bottom: -80px;
    right: 15%;
    animation-delay: -4s;
}
.c-pop-cat .hero-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}
.c-pop-cat .hero-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.c-pop-cat .hero-title-h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--c-pop-cat-text-dark);
    letter-spacing: -0.5px;
    margin: 0;
}

.c-pop-cat .hero-browse-btn {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #d81b60;
    border: 2px solid #ffafbd;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(216, 27, 96, 0.08);
    transition: var(--c-pop-cat-transition-smooth);
}
.c-pop-cat .hero-browse-btn:hover {
    background: #d81b60;
    color: #ffffff;
    border-color: #d81b60;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(216, 27, 96, 0.25);
}

/* 非 H 標籤的 Hero 描述文字樣式 */
.c-pop-cat .hero-title-desc {
    font-size: 1.3rem;
    font-weight: 600;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 16px;
}

.c-pop-cat .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.c-pop-cat .vinyl-container {
    position: relative;
    width: 240px;
    height: 240px;
}
.c-pop-cat .vinyl-record {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #222 35%, #111 36%, #333 37%, #000 68%, #222 69%);
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: spin 12s linear infinite;
}
.c-pop-cat .vinyl-center {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--c-pop-cat-accent-pink), var(--c-pop-cat-accent-blue));
    border-radius: 50%;
    border: 5px solid #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    color: #333;
    font-size: 0.75rem;
    text-align: center;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE 10+ / Edge (旧版) */
    user-select: none;
}
.c-pop-cat .tone-arm {
    position: absolute;
    top: -15px;
    right: 10px;
    width: 75px;
    height: 130px;
    pointer-events: none;
    transition: var(--c-pop-cat-transition-smooth);
    transform-origin: top right;
    transform: rotate(12deg);
}

.c-pop-cat .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
}
.c-pop-cat .section-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--c-pop-cat-text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}
.c-pop-cat .title-icon {
    width: 12px;
    height: 28px;
    background: var(--c-pop-cat-accent-pink);
    border-radius: 6px;
}

.c-pop-cat .latest-section {
    margin-bottom: 60px;
}
.c-pop-cat .latest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}
.c-pop-cat .latest-card {
    background: #ffffff;
    border-radius: var(--c-pop-cat-radius-lg);
    box-shadow: var(--c-pop-cat-card-shadow);
    padding: 22px;
    transition: var(--c-pop-cat-transition-smooth);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}
.c-pop-cat .latest-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.09);
}

.c-pop-cat .song-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}
.c-pop-cat .cover-link {
    display: block;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: var(--c-pop-cat-radius-md);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.c-pop-cat .album-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--c-pop-cat-transition-smooth);
}
.c-pop-cat .cover-link:hover .album-cover-img {
    transform: scale(1.08);
}
.c-pop-cat .song-info-main {
    flex-grow: 1;
}

/* H3 歌名標題樣式 */
.c-pop-cat .song-title-h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 4px 0;
    line-height: 1.3;
}
.c-pop-cat .song-title-link {
    color: var(--c-pop-cat-text-dark);
    text-decoration: none;
    display: inline-block;
    transition: var(--c-pop-cat-transition-smooth);
}
.c-pop-cat .song-title-link:hover {
    color: #d81b60;
}
.c-pop-cat .artist-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.c-pop-cat .lyric-preview-box {
    background: #fcf8f9;
    border-radius: var(--c-pop-cat-radius-md);
    padding: 16px;
    margin-bottom: 20px;
    border: 1px dashed #f3d0d7;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.c-pop-cat .lyric-line {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.5;
    margin: 0;
}

.c-pop-cat .card-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}
.c-pop-cat .view-btn {
    background: var(--c-pop-cat-tag-bg);
    color: var(--c-pop-cat-text-dark);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 800;
    transition: var(--c-pop-cat-transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.c-pop-cat .view-btn:hover {
    background: linear-gradient(135deg, #ffafbd 0%, #ffc3a0 100%);
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(255, 175, 189, 0.4);
}

.c-pop-cat .charts-section {
    background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%);
    border-radius: 32px;
    padding: 44px 36px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}
.c-pop-cat .charts-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
}

/* H2 排行榜標題樣式 */
.c-pop-cat .charts-h2-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 6px;
    margin-top: 0;
    color: #ffffff;
}
.c-pop-cat .charts-title p {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    margin: 0;
}

.c-pop-cat .visualizer-container {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 36px;
}
.c-pop-cat .bar {
    width: 5px;
    background: var(--c-pop-cat-accent-blue);
    border-radius: 3px;
    animation: bounce 1.2s ease-in-out infinite alternate;
}
.c-pop-cat .bar:nth-child(1) { height: 40%; animation-delay: -0.2s; }
.c-pop-cat .bar:nth-child(2) { height: 80%; animation-delay: -0.4s; }
.c-pop-cat .bar:nth-child(3) { height: 60%; animation-delay: -0.6s; }
.c-pop-cat .bar:nth-child(4) { height: 100%; animation-delay: -0.8s; }
.c-pop-cat .bar:nth-child(5) { height: 50%; animation-delay: -1.0s; }

.c-pop-cat .chart-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.c-pop-cat .chart-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 16px 20px;
    border-radius: var(--c-pop-cat-radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--c-pop-cat-transition-smooth);
}
.c-pop-cat .chart-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(6px);
}
.c-pop-cat .rank-num {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--c-pop-cat-accent-yellow);
    width: 28px;
}

/* H3 排行榜歌名樣式 */
.c-pop-cat .chart-song-h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}
.c-pop-cat .chart-song-link {
    color: #ffffff;
    text-decoration: none;
    display: block;
    transition: var(--c-pop-cat-transition-smooth);
}
.c-pop-cat .chart-song-link:hover {
    color: var(--c-pop-cat-accent-yellow);
}

.c-pop-cat .chart-meta {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-top: 2px;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}
@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.1); }
}
@keyframes bounce {
    0% { height: 20%; }
    100% { height: 100%; }
}

@media (max-width: 900px) {
    .c-pop-cat .hero-wrapper {
        grid-template-columns: 1fr;
    }
    .c-pop-cat .hero-top-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .c-pop-cat .hero-title-h1 {
        font-size: 2.4rem;
    }
    .c-pop-cat .hero-visual {
        margin-top: 10px;
    }
}
@media (max-width: 600px) {
    .c-pop-cat .latest-grid {
        grid-template-columns: 1fr;
    }
    .c-pop-cat .charts-section {
        padding: 24px;
    }
}