/* 音樂播放頁面現代化樣式 */

/* 基礎重置和變量 */
:root {
    --primary-color: #aa3cff;
    --primary-light: #bf6fff;
    --primary-dark: #8a1ff7;
    --secondary-color: #ff53b4;
    --accent-color: #ffd800;
    --success-color: #34d399;
    --warning-color: #fbbf24;
    --error-color: #f87171;
    
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --bg-card: rgba(30, 30, 30, 0.8);
    --bg-overlay: rgba(0, 0, 0, 0.7);
    
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-disabled: rgba(255, 255, 255, 0.4);
    
    --border-color: rgba(170, 60, 255, 0.2);
    --border-light: rgba(255, 255, 255, 0.1);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(170, 60, 255, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

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

body.music-show-modern {
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #1a0f2e 50%, var(--bg-primary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* 容器樣式 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 主要內容區域 */
.music-show-main {
    position: relative;
    z-index: 1;
}

/* 英雄區域 */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 60px;
    overflow: visible;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(170, 60, 255, 0.1) 0%, 
        rgba(255, 83, 180, 0.05) 50%, 
        rgba(170, 60, 255, 0.1) 100%);
    animation: backgroundPulse 8s ease-in-out infinite;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(170, 60, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 83, 180, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 216, 0, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* 麵包屑導航 */
.breadcrumb-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumb-item {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: rgba(170, 60, 255, 0.1);
    backdrop-filter: blur(10px);
}

.breadcrumb-item:hover {
    color: var(--primary-light);
    background: rgba(170, 60, 255, 0.2);
    transform: translateY(-2px);
}

.breadcrumb-separator {
    margin: 0 12px;
    color: var(--text-muted);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 600;
}

/* 英雄信息區域 */
.hero-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .hero-info {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* 封面區域 */
.hero-cover {
    position: relative;
}

.cover-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transition: var(--transition-bounce);
}

.cover-container:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(170, 60, 255, 0.4);
}

.cover-image {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.cover-container:hover .cover-overlay {
    opacity: 1;
}

.play-btn-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn-large:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(170, 60, 255, 0.5);
}

.cover-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    box-shadow: var(--shadow-sm);
}

/* 英雄詳情 */
.hero-details {
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 20px rgba(170, 60, 255, 0.3); }
    100% { text-shadow: 0 0 40px rgba(170, 60, 255, 0.6); }
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
}

.meta-item i {
    color: var(--primary-color);
    font-size: 16px;
}

/* 統計信息 */
.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(170, 60, 255, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
}

.stat-item:hover {
    background: rgba(170, 60, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 操作按鈕 */
.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-normal);
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: var(--shadow-md);
}

.action-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(170, 60, 255, 0.4);
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.action-btn.download {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    box-shadow: var(--shadow-md);
}

.action-btn.download:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 83, 180, 0.4);
}

/* 內容區域 */
.content-section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 主要內容 */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* 卡片基礎樣式 */
.price-card,
.download-section,
.recommendations-section,
.comments-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.price-card:hover,
.download-section:hover,
.recommendations-section:hover,
.comments-section:hover {
    border-color: rgba(170, 60, 255, 0.4);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(170, 60, 255, 0.1);
}

/* 價格卡片 */
.price-header {
    margin-bottom: 25px;
}

.price-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.price-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.price-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
}

.price-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.price-item.vip {
    background: linear-gradient(135deg, rgba(170, 60, 255, 0.1), rgba(255, 83, 180, 0.1));
    border-color: var(--primary-color);
}

.price-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.price-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.vip-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

/* 下載區域 */
.download-header {
    margin-bottom: 25px;
}

.download-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.download-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-option {
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.download-option.free {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.1), rgba(34, 197, 94, 0.1));
    border-color: var(--success-color);
}

.download-option.paid {
    background: linear-gradient(135deg, rgba(170, 60, 255, 0.1), rgba(255, 83, 180, 0.1));
    border-color: var(--primary-color);
}

.download-option:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.option-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.option-header i {
    font-size: 20px;
    color: var(--primary-color);
}

.option-header span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.option-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 14px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    text-decoration: none;
}

.download-btn.free {
    background: linear-gradient(135deg, var(--success-color), #22c55e);
    color: white;
}

.download-btn.paid {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 下載進度 */
.download-progress {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 14px;
}

.progress-percentage {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* 推薦專輯 */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.section-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.section-badge {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.recommendation-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.recommendation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-cover {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.recommendation-card:hover .card-cover img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.recommendation-card:hover .card-overlay {
    opacity: 1;
}

.play-overlay {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition-bounce);
}

.play-overlay:hover {
    transform: scale(1.1);
    background: var(--primary-light);
}

.card-info {
    padding: 15px;
}

.card-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.card-info h4 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.card-info h4 a:hover {
    color: var(--primary-color);
}

/* 評論區域 */
.comment-count {
    color: var(--text-secondary);
    font-size: 14px;
}

.comment-form {
    margin-bottom: 30px;
}

.comment-submit-section {
    margin-top: 15px;
    text-align: right;
    padding: 10px 0;
    border-top: 1px solid var(--border-light);
}

.form-group {
    position: relative;
}

.form-group textarea {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    resize: vertical;
    transition: var(--transition-normal);
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(170, 60, 255, 0.1);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.char-count {
    color: var(--text-muted);
    font-size: 12px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    /* 確保提交按鈕始終可見 */
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 999;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.submit-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed;
    transform: none;
    /* 確保禁用狀態下仍然可見 */
    display: inline-block !important;
    visibility: visible !important;
}

.submit-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* 評論列表 */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.comment-item.reply {
    margin-left: 40px;
    background: rgba(170, 60, 255, 0.05);
}

.comment-avatar {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
    color: var(--text-primary);
}

.comment-time {
    font-size: 12px;
    color: var(--text-muted);
}

.comment-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.comment-actions {
    display: flex;
    gap: 15px;
}

.action-link {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-fast);
    text-decoration: none;
}

.action-link:hover {
    color: var(--primary-color);
}

.reply-form {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.reply-input {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 12px;
}

.reply-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.reply-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.reply-btn:hover {
    background: var(--primary-light);
}

/* 側邊欄 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.sidebar-card:hover {
    border-color: rgba(170, 60, 255, 0.4);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(170, 60, 255, 0.1);
}

.card-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-light);
}

.card-header h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.card-content {
    padding: 25px;
}

/* 側邊欄音軌 */
.sidebar-track {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-fast);
}

.sidebar-track:last-child {
    border-bottom: none;
}

.sidebar-track:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 -15px;
}

.track-cover {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

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

.track-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.sidebar-track:hover .track-overlay {
    opacity: 1;
}

.play-btn {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 12px;
    transition: var(--transition-fast);
}

.play-btn:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

.track-info {
    flex: 1;
    min-width: 0;
}

.track-info h5 {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.track-info h5 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.track-info h5 a:hover {
    color: var(--primary-color);
}

.track-info p {
    font-size: 12px;
    color: var(--text-muted);
}

/* 音樂人信息 */
.artist-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.artist-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    flex-shrink: 0;
}

.artist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-details {
    flex: 1;
}

.artist-details h5 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.artist-details p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.artist-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
    transition: var(--transition-fast);
}

.artist-link:hover {
    color: var(--primary-light);
}

/* 下載模態框 */
.download-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.download-modal.show {
    display: flex;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 100%;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    padding: 30px;
}

.download-info {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .label {
    color: var(--text-secondary);
    font-size: 14px;
}

.info-item .value {
    color: var(--text-primary);
    font-weight: 600;
}

.download-actions {
    display: flex;
    gap: 15px;
}

.download-actions .action-btn {
    flex: 1;
    justify-content: center;
}

.download-actions .action-btn.confirm {
    background: linear-gradient(135deg, var(--success-color), #22c55e);
}

.download-actions .action-btn.cancel {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

/* 評論區域 - 現代化設計 */
.leave_comment_wrapper {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 30px;
    margin: 30px 0;
    transition: var(--transition-normal);
}

.leave_comment_wrapper:hover {
    border-color: rgba(170, 60, 255, 0.4);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(170, 60, 255, 0.1);
}

/* 評論標題 */
.leave_comment_heading h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.leave_comment_heading h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.leave_comment_heading h1 span {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.leave_comment_heading h1 b {
    color: var(--primary-color) !important;
    -webkit-text-fill-color: var(--primary-color) !important;
}

/* 評論表單 */
.comments_formDiv {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 25px;
    border: 1px solid var(--border-light);
    margin-bottom: 30px;
    transition: var(--transition-normal);
}

.comments_formDiv:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(170, 60, 255, 0.3);
}

.textareaDiv {
    position: relative;
    margin-bottom: 20px;
}

.textareaDiv textarea {
    width: 100%;
    min-height: 120px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    resize: vertical;
    transition: var(--transition-normal);
    font-family: inherit;
}

.textareaDiv textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(170, 60, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(170, 60, 255, 0.2);
}

.textareaDiv textarea::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

.textareaDiv span {
    position: absolute;
    right: 15px;
    bottom: 15px;
    color: var(--text-muted);
    font-size: 12px;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

/* 評論提交按鈕 */
.commentBtn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none !important;
    padding: 12px 40px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    min-width: 120px;
    white-space: nowrap;
    text-align: center;
    display: inline-block;
    line-height: 1.2;
    text-decoration: none;
    outline: none;
}

.commentBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.commentBtn:hover::before {
    left: 100%;
}

.commentBtn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 20px rgba(170, 60, 255, 0.4);
    text-decoration: none;
    color: white;
}

.commentBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.commentBtn:focus {
    outline: none;
    border: none !important;
    box-shadow: 0 0 0 3px rgba(170, 60, 255, 0.3);
}

/* 評論列表 */
#comment_list_body {
    background: transparent;
    padding: 0 !important;
}

.comments_Box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.comments_Box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition-normal);
}

.comments_Box:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(170, 60, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.comments_Box:hover::before {
    opacity: 1;
}

/* 評論頭像 */
.img_wrapper {
    float: left;
    margin-right: 20px;
}

.img_wrapper img {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.comments_Box:hover .img_wrapper img {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* 評論內容 */
.text_wrapper {
    overflow: hidden;
}

.author_name {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.author_name::before {
    content: '👤';
    font-size: 14px;
}

.author_content {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-color);
}

.author_detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.publish_date {
    color: var(--text-muted);
    font-size: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
}

.aDiv {
    display: flex;
    gap: 15px;
}

.aDiv a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 5px;
}

.aDiv a:hover {
    color: var(--primary-color);
    background: rgba(170, 60, 255, 0.1);
    transform: translateY(-1px);
}

.aDiv a.zan_a::before {
    content: '❤️';
    font-size: 12px;
}

.aDiv a.com_a::before {
    content: '💬';
    font-size: 12px;
}

/* 回覆表單 */
.formDiv {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: rgba(170, 60, 255, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(170, 60, 255, 0.2);
}

.formDiv form {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.replyContent {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 12px;
    transition: var(--transition-normal);
}

.replyContent:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(170, 60, 255, 0.1);
}

.replayBtn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    white-space: nowrap;
}

.replayBtn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* 回覆評論 */
.comments_Box .comments_Box {
    margin-left: 40px;
    margin-top: 15px;
    background: rgba(170, 60, 255, 0.05);
    border-left: 3px solid var(--secondary-color);
}

.comments_Box .comments_Box::before {
    background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
}

.comments_Box .comments_Box:hover {
    background: rgba(170, 60, 255, 0.08);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.4;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .price-content {
        grid-template-columns: 1fr;
    }
    
    .recommendations-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .comment-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .comment-item.reply {
        margin-left: 20px;
    }
    
    .sidebar-track {
        flex-direction: column;
        text-align: center;
    }
    
    .artist-info {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .price-card,
    .download-section,
    .recommendations-section,
    .comments-section {
        padding: 20px;
    }
    
    .modal-content {
        margin: 10px;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 應用動畫 */
.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-cover {
    animation: fadeInLeft 0.8s ease 0.2s both;
}

.hero-details {
    animation: fadeInRight 0.8s ease 0.4s both;
}

.price-card {
    animation: fadeInUp 0.8s ease 0.6s both;
}

.download-section {
    animation: fadeInUp 0.8s ease 0.8s both;
}

.recommendations-section {
    animation: fadeInUp 0.8s ease 1s both;
}

.comments-section {
    animation: fadeInUp 0.8s ease 1.2s both;
}

.sidebar-card {
    animation: fadeInRight 0.8s ease 0.6s both;
}

.sidebar-card:nth-child(2) {
    animation-delay: 0.8s;
}

/* 滾動條樣式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* 選中文字樣式 */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
} 

/* 動畫效果 */
@keyframes commentSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comments_Box {
    animation: commentSlideIn 0.5s ease-out;
}

/* 滾動條樣式 */
#comment_list_body::-webkit-scrollbar {
    width: 6px;
}

#comment_list_body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

#comment_list_body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

#comment_list_body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-light), var(--secondary-color));
} 

/* 點讚動畫效果 */
.aDiv a.zan_a.liked {
    animation: likeAnimation 0.6s ease-in-out;
    color: var(--primary-color) !important;
    background: rgba(170, 60, 255, 0.2) !important;
}

@keyframes likeAnimation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* 回覆表單動畫 */
.formDiv {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: rgba(170, 60, 255, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(170, 60, 255, 0.2);
    animation: slideDown 0.3s ease-out;
}

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

/* 評論框聚焦效果 */
.textareaDiv textarea:focus + span {
    color: var(--primary-color);
    background: rgba(170, 60, 255, 0.2);
}

/* 按鈕懸停效果增強 */
.commentBtn:hover,
.replayBtn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 20px rgba(170, 60, 255, 0.4);
}

/* 評論項懸停效果 */
.comments_Box:hover .img_wrapper img {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* 響應式設計增強 */
@media (max-width: 768px) {
    .leave_comment_wrapper {
        padding: 20px;
        margin: 20px 0;
    }
    
    .comments_formDiv {
        padding: 20px;
    }
    
    .comments_Box {
        padding: 20px;
    }
    
    .img_wrapper {
        float: none;
        margin-right: 0;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .img_wrapper img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .author_detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .aDiv {
        gap: 10px;
    }
    
    .comments_Box .comments_Box {
        margin-left: 20px;
    }
    
    .formDiv form {
        flex-direction: column;
        gap: 10px;
    }
    
    .replayBtn {
        align-self: flex-end;
    }
    
    /* 移動端優化 */
    .textareaDiv textarea {
        min-height: 100px;
        padding: 15px;
    }
    
    .commentBtn {
        width: 100%;
        margin-top: 15px;
        min-width: auto;
        padding: 15px 30px;
        font-size: 16px;
        border: none !important;
        white-space: nowrap;
    }
}

/* 深色主題適配 */
@media (prefers-color-scheme: dark) {
    .leave_comment_wrapper {
        background: rgba(20, 20, 20, 0.9);
    }
    
    .comments_formDiv {
        background: rgba(255, 255, 255, 0.02);
    }
    
    .comments_Box {
        background: rgba(255, 255, 255, 0.02);
    }
}

/* 無障礙設計 */
.commentBtn:focus,
.replayBtn:focus,
.textareaDiv textarea:focus,
.replyContent:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* 高對比度模式 */
@media (prefers-contrast: high) {
    .leave_comment_wrapper {
        border: 2px solid var(--primary-color);
    }
    
    .comments_Box {
        border: 1px solid var(--primary-color);
    }
    
    .commentBtn,
    .replayBtn {
        border: 2px solid var(--primary-color);
    }
} 