/* ══════════════════════════════════
   MUSIC Section — Dark Premium
   ══════════════════════════════════ */

/* YouTube Player */
.youtube-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-bottom: var(--space-xl);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-tertiary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Playlist */
.music-playlist {
    margin-bottom: var(--space-xl);
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}

/* Mood Tags Filter */
.mood-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-xl);
    justify-content: center;
}

.mood-tag {
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    font-size: var(--text-small);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    letter-spacing: 0.02em;
}

.mood-tag:hover {
    border-color: var(--accent-highlight);
    color: var(--accent-highlight);
    box-shadow: 0 0 12px rgba(109, 163, 240, 0.1);
}

.mood-tag.active {
    background: linear-gradient(135deg, var(--accent-highlight), #5A8BD4);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 12px rgba(109, 163, 240, 0.3);
}

/* Card Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--space-xs);
}

.card-tag {
    font-size: 0.7rem;
    color: var(--accent-highlight);
    opacity: 0.6;
    letter-spacing: 0.02em;
}

/* Single Post Tags */
.single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.single-tag {
    font-size: var(--text-small);
    color: var(--accent-highlight);
    opacity: 0.8;
    letter-spacing: 0.02em;
}

/* Music List */
.music-list {
    padding-bottom: var(--space-2xl);
}

.empty-message {
    text-align: center;
    color: var(--text-muted);
    padding: var(--space-2xl) 0;
    font-style: italic;
}

/* ══════════════════════════════════
   Single Post — Music Detail
   ══════════════════════════════════ */
.single-post {
    padding-top: calc(var(--header-height) + var(--space-xl));
    padding-bottom: var(--space-2xl);
}

.single-back {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-small);
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-normal);
    letter-spacing: 0.03em;
}

.single-back:hover {
    color: var(--accent-highlight);
}

.single-header {
    margin-bottom: var(--space-xl);
}

.single-title {
    font-size: var(--text-h1);
    font-weight: var(--weight-bold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-sm);
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04),
        0 -1px 0 rgba(0, 0, 0, 0.6);
}

.single-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-small);
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.single-meta .sep {
    color: var(--border-light);
}

/* Post Content */
.single-content {
    font-size: 1.125rem;
    line-height: var(--leading-relaxed);
    white-space: pre-line;
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.single-content p {
    margin-bottom: 1.5em;
}

.single-content a {
    color: var(--accent-highlight);
    text-decoration: none;
    border-bottom: 1px solid rgba(109, 163, 240, 0.3);
    transition: border-color var(--transition-fast);
}

.single-content a:hover {
    border-bottom-color: var(--accent-highlight);
}

.single-content img {
    border-radius: 12px;
    margin: var(--space-lg) 0;
}

.single-content blockquote {
    border-left: 2px solid var(--accent-highlight);
    padding-left: var(--space-md);
    margin: var(--space-lg) 0;
    color: var(--text-muted);
    font-style: italic;
}

/* Post Navigation */
.post-nav {
    display: flex;
    justify-content: space-between;
    gap: var(--space-lg);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-light);
}

.post-nav a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 45%;
    font-size: var(--text-small);
    color: var(--text-secondary);
    transition: all var(--transition-normal);
    padding: var(--space-sm);
    border-radius: 8px;
}

.post-nav a:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.post-nav .nav-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.post-nav .nav-title {
    font-weight: var(--weight-medium);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-nav-next {
    text-align: right;
    margin-left: auto;
}

/* ══════════════════════════════════
   Mini Player — Glass Bar
   ══════════════════════════════════ */
.mini-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.mini-player.visible {
    transform: translateY(0);
}

.mini-player-title {
    flex: 1;
    font-size: var(--text-small);
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: var(--weight-medium);
}

.mini-player-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.mini-player-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

body.has-mini-player .site-footer {
    padding-bottom: calc(var(--space-xl) + 56px);
}
