/* 套曲詳情頁面專用樣式 */

/* 確保整體背景色統一 */
html.taoqu-show-page-wrapper,
body.taoqu-show-page-wrapper {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b3d 50%, #1a1a1a 100%) !important;
    background-color: #1a1a1a !important;
    min-height: 100vh !important;
}

/* 套曲介紹區域 */
body.taoqu-show-page-wrapper .taoqushow_introduction_section {
    background: rgba(30,30,30,0.8);
    padding: 40px 0 20px 0;
    margin-top: 20px;
    margin-bottom: 30px; /* 添加底部间距 */
    border-radius: 20px;
    border: 1px solid rgba(170, 60, 255, 0.2);
    width: 100% !important; /* 确保宽度一致 */
    box-sizing: border-box !important;
}

body.taoqu-show-page-wrapper .taoqushow_introduction_section .introduction_header {
    text-align: center;
    margin-bottom: 30px;
}

body.taoqu-show-page-wrapper .taoqushow_introduction_section .introduction_title {
    color: #aa3cff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

body.taoqu-show-page-wrapper .taoqushow_introduction_section .title-icon {
    font-size: 24px;
    animation: bounce 2s infinite;
}

body.taoqu-show-page-wrapper .taoqushow_introduction_section .introduction_decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

body.taoqu-show-page-wrapper .taoqushow_introduction_section .decoration_line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #aa3cff, transparent);
}

body.taoqu-show-page-wrapper .taoqushow_introduction_section .decoration_dot {
    width: 8px;
    height: 8px;
    background: #aa3cff;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

body.taoqu-show-page-wrapper .taoqushow_introduction_section .content_wrapper {
    padding: 0 30px;
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 16px;
    text-align: justify;
}

/* 推薦套曲區域 - 優化布局 */
body.taoqu-show-page-wrapper .taoqushow_recommended_section {
    background: rgba(30,30,30,0.8);
    padding: 40px 0 20px 0;
    margin-top: 30px; /* 增加顶部间距 */
    margin-bottom: 30px; /* 添加底部间距 */
    border-radius: 20px;
    border: 1px solid rgba(170, 60, 255, 0.2);
    width: 100% !important; /* 确保宽度一致 */
    box-sizing: border-box !important;
}

/* 确保推荐套曲区域在主要内容区域内正确显示 */
body.taoqu-show-page-wrapper .taoqushow_recommended_section .recommended_taoqu_wrapper {
    width: 100% !important;
    padding: 0 !important;
}

body.taoqu-show-page-wrapper .taoqushow_recommended_section .section_title {
    color: #aa3cff;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

body.taoqu-show-page-wrapper .taoqushow_recommended_section .section_title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #aa3cff, #ff6b9d);
    border-radius: 2px;
}

/* 推薦套曲網格布局 */
body.taoqu-show-page-wrapper .taoqushow_recommended_section .taoqu_showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

/* 推薦套曲卡片設計 */
body.taoqu-show-page-wrapper .taoqu_showcase_item {
    background: linear-gradient(145deg, rgba(40,40,40,0.9), rgba(50,50,50,0.8));
    border-radius: 20px;
    padding: 0;
    border: 1px solid rgba(170, 60, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body.taoqu-show-page-wrapper .taoqu_showcase_item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(170, 60, 255, 0.3);
    border-color: rgba(170, 60, 255, 0.5);
}

/* 套曲封面圖片 */
body.taoqu-show-page-wrapper .taoqu_showcase_image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

body.taoqu-show-page-wrapper .taoqu_showcase_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

body.taoqu-show-page-wrapper .taoqu_showcase_item:hover .taoqu_showcase_image img {
    transform: scale(1.1);
}

/* 懸停覆蓋層 */
body.taoqu-show-page-wrapper .taoqu_showcase_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.taoqu-show-page-wrapper .taoqu_showcase_item:hover .taoqu_showcase_overlay {
    opacity: 1;
}

/* 操作按鈕 */
body.taoqu-show-page-wrapper .taoqu_showcase_actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

body.taoqu-show-page-wrapper .taoqu_showcase_play,
body.taoqu-show-page-wrapper .taoqu_showcase_preview {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

body.taoqu-show-page-wrapper .taoqu_showcase_play {
    background: linear-gradient(135deg, #aa3cff, #ff6b9d);
    color: white;
}

body.taoqu-show-page-wrapper .taoqu_showcase_preview {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

body.taoqu-show-page-wrapper .taoqu_showcase_play:hover,
body.taoqu-show-page-wrapper .taoqu_showcase_preview:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.taoqu-show-page-wrapper .taoqu_showcase_play i,
body.taoqu-show-page-wrapper .taoqu_showcase_preview i {
    font-size: 18px;
}

/* 套曲信息內容區域 */
body.taoqu-show-page-wrapper .taoqu_showcase_content {
    padding: 20px;
    background: rgba(30, 30, 30, 0.95);
}

body.taoqu-show-page-wrapper .taoqu_showcase_title {
    margin-bottom: 15px;
}

body.taoqu-show-page-wrapper .taoqu_showcase_title a {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.taoqu-show-page-wrapper .taoqu_showcase_title a:hover {
    color: #aa3cff;
}

/* 套曲元信息 - 優化布局 */
body.taoqu-show-page-wrapper .taoqu_showcase_meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: #e0e0e0;
}

/* 作者和風格信息卡片 */
body.taoqu-show-page-wrapper .taoqu_showcase_artist,
body.taoqu-show-page-wrapper .taoqu_showcase_style {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(170, 60, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(170, 60, 255, 0.2);
    transition: all 0.3s ease;
}

body.taoqu-show-page-wrapper .taoqu_showcase_artist:hover,
body.taoqu-show-page-wrapper .taoqu_showcase_style:hover {
    background: rgba(170, 60, 255, 0.2);
    border-color: rgba(170, 60, 255, 0.4);
}

body.taoqu-show-page-wrapper .taoqu_showcase_artist i,
body.taoqu-show-page-wrapper .taoqu_showcase_style i {
    color: #aa3cff;
    font-size: 12px;
    width: 16px;
    text-align: center;
}

body.taoqu-show-page-wrapper .taoqu_showcase_artist a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

body.taoqu-show-page-wrapper .taoqu_showcase_artist a:hover {
    color: #aa3cff;
}

body.taoqu-show-page-wrapper .taoqu_showcase_style span {
    color: #e0e0e0;
    font-weight: 500;
}

/* 評論區域 */
body.taoqu-show-page-wrapper .taoqushow_comments_section {
    background: rgba(30,30,30,0.8);
    padding: 40px 0 60px 0;
    margin-top: 40px;
    border-top: 2px solid rgba(170, 60, 255, 0.3);
    border-radius: 20px;
}

body.taoqu-show-page-wrapper .taoqushow_comments_section .leave_comment_wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
    margin: 0;
}

body.taoqu-show-page-wrapper .taoqushow_comments_section .leave_comment_heading h1 {
    color: #aa3cff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

body.taoqu-show-page-wrapper .taoqushow_comments_section .comments_Box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(40,40,40,0.8);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s;
}

body.taoqu-show-page-wrapper .taoqushow_comments_section .comments_Box .img_wrapper img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(170, 60, 255, 0.5);
}

body.taoqu-show-page-wrapper .taoqushow_comments_section .comments_Box .text_wrapper {
    flex: 1;
}

body.taoqu-show-page-wrapper .taoqushow_comments_section .author_name {
    color: #aa3cff;
    font-weight: 600;
    font-size: 16px;
}

body.taoqu-show-page-wrapper .taoqushow_comments_section .publish_date {
    color: #9B9B9B;
    font-size: 12px;
}

body.taoqu-show-page-wrapper .taoqushow_comments_section .author_content p {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

body.taoqu-show-page-wrapper .taoqushow_comments_section .new-comment {
    background: rgba(40,40,40,0.8);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(170, 60, 255, 0.5);
    margin-top: 20px;
    margin-bottom: 15px;
}

body.taoqu-show-page-wrapper .taoqushow_comments_section .contect_form_footer input {
    width: 100%;
    padding: 18px 22px;
    background: #222;
    border: 2px solid rgba(170, 60, 255, 0.5);
    border-radius: 15px;
    color: #e0e0e0;
    font-size: 14px;
    margin-bottom: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

body.taoqu-show-page-wrapper .taoqushow_comments_section .contect_form_footer input:focus {
    outline: none;
    border-color: rgba(170, 60, 255, 0.8);
    box-shadow: 0 0 0 3px rgba(170, 60, 255, 0.2);
}

/* 評論按鈕容器 */
body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn {
    margin-top: 25px;
    margin-bottom: 10px;
    text-align: right;
    padding: 0 5px;
}

/* 發表評論按鈕 - 優化設計 */
body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #aa3cff 0%, #ff6b9d 50%, #aa3cff 100%);
    background-size: 200% 200%;
    color: white;
    text-decoration: none;
    border-radius: 45px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(170, 60, 255, 0.3);
    backdrop-filter: blur(10px);
    min-width: 140px;
    justify-content: center;
}

/* 按鈕懸停效果 */
body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn a:hover {
    background-position: 100% 100%;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(170, 60, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

/* 按鈕點擊效果 */
body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn a:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(170, 60, 255, 0.4);
}

/* 按鈕圖標 */
body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn a i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

/* 懸停時圖標動畫 */
body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn a:hover i {
    transform: translateX(3px) rotate(15deg);
}

/* 按鈕發光效果 */
body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn a:hover::before {
    left: 100%;
}

/* 按鈕文字 */
body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn a span {
    position: relative;
    z-index: 1;
}

/* 按鈕禁用狀態 */
body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn a:disabled,
body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn a.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(170, 60, 255, 0.2) !important;
}

/* 按鈕加載狀態 */
body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn a.loading {
    pointer-events: none;
}

body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn a.loading i {
    animation: spin 1s linear infinite;
}

/* 響應式設計 */
@media (max-width: 768px) {
    body.taoqu-show-page-wrapper .taoqushow_introduction_section,
    body.taoqu-show-page-wrapper .taoqushow_recommended_section,
    body.taoqu-show-page-wrapper .taoqushow_comments_section {
        padding: 15px !important;
        border-radius: 15px !important;
        margin-top: 15px !important; /* 减少小屏幕的顶部间距 */
        margin-bottom: 20px !important; /* 减少小屏幕的底部间距 */
        width: 100% !important;
    }
    
    /* 确保套曲介绍和推荐套曲之间有合适的间距 */
    body.taoqu-show-page-wrapper .taoqushow_introduction_section {
        margin-bottom: 15px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqushow_recommended_section {
        margin-top: 15px !important;
    }
    
    /* 确保推荐套曲区域在主要内容区域内正确显示 */
    body.taoqu-show-page-wrapper .taoqushow_recommended_section .recommended_taoqu_wrapper {
        width: 100% !important;
        padding: 0 !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 10px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase_item {
        margin-bottom: 15px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase_image {
        height: 160px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase_content {
        padding: 15px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase_title a {
        font-size: 16px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase_meta {
        gap: 8px !important;
        font-size: 13px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase_artist,
    body.taoqu-show-page-wrapper .taoqu_showcase_style {
        padding: 6px 10px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqushow_comments_section .comments_Box {
        flex-direction: column;
        text-align: center;
    }
    
    /* 手機端評論按鈕優化 */
    body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn {
        margin-top: 20px;
        margin-bottom: 8px;
        text-align: center;
    }
    
    body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn a {
        padding: 12px 24px;
        font-size: 14px;
        gap: 8px;
        min-width: 120px;
    }
    
    body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn a i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body.taoqu-show-page-wrapper .taoqushow_recommended_section .section_title {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase_item {
        border-radius: 15px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase_image {
        height: 140px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase_content {
        padding: 12px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase_title a {
        font-size: 15px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase_meta {
        gap: 6px !important;
        font-size: 12px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase_artist,
    body.taoqu-show-page-wrapper .taoqu_showcase_style {
        padding: 5px 8px !important;
        border-radius: 6px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase_actions {
        gap: 10px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase_play,
    body.taoqu-show-page-wrapper .taoqu_showcase_preview {
        width: 40px !important;
        height: 40px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase_play i,
    body.taoqu-show-page-wrapper .taoqu_showcase_preview i {
        font-size: 14px !important;
    }
    
    /* 小屏手機評論按鈕優化 */
    body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn {
        margin-top: 18px !important;
        margin-bottom: 5px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn a {
        padding: 10px 20px !important;
        font-size: 13px !important;
        gap: 6px !important;
        border-radius: 35px !important;
        min-width: 100px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqushow_comments_section .comment_btn a i {
        font-size: 13px !important;
    }

    /* 进一步优化小屏幕的间距 */
    body.taoqu-show-page-wrapper .taoqushow_introduction_section,
    body.taoqu-show-page-wrapper .taoqushow_recommended_section {
        margin-top: 10px !important;
        margin-bottom: 15px !important;
        padding: 12px !important;
        width: 100% !important;
    }
    
    body.taoqu-show-page-wrapper .taoqushow_introduction_section {
        margin-bottom: 10px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqushow_recommended_section {
        margin-top: 10px !important;
    }
    
    /* 确保推荐套曲区域在主要内容区域内正确显示 */
    body.taoqu-show-page-wrapper .taoqushow_recommended_section .recommended_taoqu_wrapper {
        width: 100% !important;
        padding: 0 !important;
    }
}

/* 平板設備優化 */
@media (min-width: 769px) and (max-width: 1024px) {
    body.taoqu-show-page-wrapper .taoqu_showcase {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
        gap: 20px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase_image {
        height: 180px !important;
    }

    body.taoqu-show-page-wrapper .taoqushow_introduction_section,
    body.taoqu-show-page-wrapper .taoqushow_recommended_section {
        margin-top: 25px !important;
        margin-bottom: 25px !important;
        width: 100% !important;
    }
    
    /* 确保推荐套曲区域在主要内容区域内正确显示 */
    body.taoqu-show-page-wrapper .taoqushow_recommended_section .recommended_taoqu_wrapper {
        width: 100% !important;
        padding: 0 !important;
    }
}

/* 大屏幕優化 */
@media (min-width: 1200px) {
    body.taoqu-show-page-wrapper .taoqu_showcase {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 30px !important;
    }
    
    body.taoqu-show-page-wrapper .taoqu_showcase_image {
        height: 220px !important;
    }

    body.taoqu-show-page-wrapper .taoqushow_introduction_section,
    body.taoqu-show-page-wrapper .taoqushow_recommended_section {
        margin-top: 40px !important;
        margin-bottom: 40px !important;
        width: 100% !important;
    }
    
    /* 确保推荐套曲区域在主要内容区域内正确显示 */
    body.taoqu-show-page-wrapper .taoqushow_recommended_section .recommended_taoqu_wrapper {
        width: 100% !important;
        padding: 0 !important;
    }
}

/* 動畫效果 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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