/* --- تنظیمات کلی کانتینر بکینگ ترک --- */
    .bt-container {
        padding: 30px 0 60px;
        min-height: 85vh;
    }
    .bt-wrapper {
        max-width: 1050px;
        margin: 0 auto;
        padding: 0 15px;
    }

    /* --- ۱. کارت مشخصات ترانه (Header Card) --- */
    .bt-header-card {
        background: var(--card-bg);
        border-radius: 20px;
        padding: 30px;
        box-shadow: var(--shadow-subtle);
        margin-bottom: 25px;
        position: relative;
        border: 1px solid var(--border-color);
        overflow: hidden;
    }
    .bt-header-card::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 5px;
        background: linear-gradient(90deg, #6c5ce7, #a29bfe);
    }

    .bt-breadcrumbs {
        font-size: 0.88rem;
        color: var(--text-muted);
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    .bt-breadcrumbs a {
        color: var(--text-muted);
        text-decoration: none;
        transition: color 0.2s;
    }
    .bt-breadcrumbs a:hover {
        color: #6c5ce7;
    }

    .bt-title {
        color: var(--text-dark);
        font-size: 1.9rem;
        font-weight: 900;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .bt-seo-desc {
        text-align: right;
        font-size: 0.95rem;
        color: var(--text-muted);
        margin-bottom: 20px;
        line-height: 1.7;
    }
    .bt-seo-desc strong {
        color: #6c5ce7;
    }

    .bt-meta-row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
    }
    .bt-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 16px;
        border-radius: 50px;
        font-size: 0.88rem;
        font-weight: 700;
        border: 1px solid transparent;
        text-decoration: none;
        transition: all 0.2s;
    }
    .badge-artist {
        background-color: rgba(108, 92, 231, 0.12);
        color: #6c5ce7;
        border-color: rgba(108, 92, 231, 0.25);
    }
    .badge-artist:hover {
        background-color: #6c5ce7;
        color: #fff;
        transform: translateY(-2px);
    }
    .badge-mixer {
        background-color: rgba(3, 218, 198, 0.12);
        color: #03dac6;
        border-color: rgba(3, 218, 198, 0.25);
    }
    .badge-date {
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--text-muted);
        border: 1px solid var(--border-color);
    }

    /* --- ۲. استودیوی آنلاین و میکسر چند لاین --- */
    .bt-studio {
        background: var(--card-bg);
        border-radius: 20px;
        box-shadow: var(--shadow-subtle);
        overflow: hidden;
        position: relative;
        border: 1px solid var(--border-color);
        margin-bottom: 30px;
    }
    .bt-overlay {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background: var(--card-bg);
        opacity: 0.96;
        z-index: 25;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }
    .bt-overlay.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .bt-loader {
        border: 4px solid var(--border-color);
        border-top: 4px solid #6c5ce7;
        border-radius: 50%;
        width: 48px;
        height: 48px;
        animation: spin 1s linear infinite;
        margin-bottom: 15px;
    }
    #loadingText {
        color: var(--text-dark);
        font-weight: 700;
        font-size: 0.95rem;
    }
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* نوار کنترل اصلی (Master Controls) */
    .bt-master-controls {
        background: rgba(0, 0, 0, 0.03);
        padding: 20px 30px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--border-color);
        flex-wrap: wrap;
        gap: 15px;
    }
    .bt-play-btn {
        background: linear-gradient(135deg, #6c5ce7, #a29bfe);
        color: #fff;
        border: none;
        width: 54px;
        height: 54px;
        border-radius: 50%;
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s, box-shadow 0.2s;
        box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
    }
    .bt-play-btn:disabled {
        background: #9ca3af;
        box-shadow: none;
        cursor: not-allowed;
    }
    .bt-play-btn:hover:not(:disabled) {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(108, 92, 231, 0.6);
    }
    .bt-btn-stop {
        background: var(--card-bg);
        color: #ff7675;
        border: 2px solid #ff7675;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: 0.2s;
    }
    .bt-btn-stop:hover {
        background: #ff7675;
        color: #fff;
    }

    /* لاین‌های صوتی (Track Rows) */
    .bt-tracks-list {
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
    .bt-track-row {
        display: flex;
        align-items: center;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 14px;
        padding: 12px 16px;
        box-shadow: var(--shadow-subtle);
        border-right: 5px solid #ccc;
        transition: transform 0.2s, box-shadow 0.2s;
        gap: 15px;
    }
    .bt-track-row:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    }

    .row-vocals { border-right-color: #ff6b6b !important; }
    .row-drums  { border-right-color: #03dac6 !important; }
    .row-bass   { border-right-color: #bb86fc !important; }
    .row-other  { border-right-color: #ff9f43 !important; }
    .row-piano  { border-right-color: #54a0ff !important; }

    .bt-track-controls {
        width: 155px;
        padding-left: 15px;
        border-left: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex-shrink: 0;
    }
    .bt-track-label {
        font-size: 0.9rem;
        color: var(--text-dark);
        font-weight: 800;
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .bt-track-buttons {
        display: flex;
        gap: 8px;
    }
    .bt-btn-mini {
        background: rgba(255, 255, 255, 0.05);
        color: var(--text-muted);
        border: 1px solid var(--border-color);
        border-radius: 6px;
        width: 34px;
        height: 28px;
        font-size: 0.78rem;
        font-weight: 800;
        cursor: pointer;
        transition: all 0.2s;
    }
    .bt-btn-mini:hover {
        background: rgba(108, 92, 231, 0.15);
        color: #6c5ce7;
    }
    .btn-mute.active {
        background: #ff6b6b !important;
        color: #fff !important;
        border-color: #ff6b6b !important;
    }
    .btn-solo.active {
        background: #f1c40f !important;
        color: #000 !important;
        border-color: #f1c40f !important;
    }

    .bt-waveform-container {
        flex-grow: 1;
        position: relative;
        height: 60px;
        cursor: pointer;
    }

    input[type=range] {
        width: 100%;
        height: 5px;
        background: var(--input-border, rgba(255, 255, 255, 0.15));
        border-radius: 5px;
        outline: none;
        cursor: pointer;
        direction: ltr !important;
        -webkit-appearance: none;
    }
    input[type=range]::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 13px;
        height: 13px;
        background: #6c5ce7;
        border-radius: 50%;
        cursor: pointer;
    }

    /* --- ۳. باکس دانلود و دسترسی VIP --- */
    .vip-download-card {
        background: linear-gradient(135deg, rgba(241, 196, 15, 0.08) 0%, rgba(243, 156, 18, 0.04) 100%);
        border: 1px solid rgba(241, 196, 15, 0.35);
        border-radius: 16px;
        padding: 22px 25px;
        margin-top: 25px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    .vip-download-title {
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--text-dark);
        margin-bottom: 5px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .vip-download-desc {
        font-size: 0.88rem;
        color: var(--text-muted);
        margin: 0;
    }

    /* --- ۴. آکورد این آهنگ (Accordion) --- */
    .chord-accordion-wrapper {
        margin-top: 30px;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: var(--shadow-subtle);
        border: 1px solid var(--border-color);
        background: var(--card-bg);
    }
    .chord-toggle-btn {
        width: 100%;
        text-align: inherit;
        font-family: inherit;
        background-color: rgba(108, 92, 231, 0.08);
        color: var(--text-dark);
        padding: 18px 24px;
        cursor: pointer;
        font-weight: 800;
        font-size: 1.05rem;
        transition: background 0.3s;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: none;
        border-bottom: 1px solid var(--border-color);
        user-select: none;
    }
    .chord-toggle-btn:hover {
        background-color: rgba(108, 92, 231, 0.15);
    }
    .chord-toggle-btn .arrow-icon {
        transition: transform 0.3s;
        font-size: 1.2rem;
    }
    .chord-toggle-btn.active .arrow-icon {
        transform: rotate(180deg);
    }
    .chord-content-box {
        display: none;
        padding: 30px;
        background: var(--card-bg);
    }
    .chord-content-box.is-open {
        display: block;
    }
    .chord-content-box pre {
        background: transparent !important;
        border: none !important;
        font-family: 'Vazirmatn', monospace !important;
        font-size: 16px !important;
        line-height: 1.5 !important;
        white-space: pre-wrap !important;
        direction: rtl !important;
        text-align: right !important;
        color: var(--text-dark) !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .chord-content-box .chord-line,
    .chord-content-box .chord-text {
        display: block;
        min-height: 0;
        white-space: pre;
        unicode-bidi: embed;
    }
    .chord-content-box .chord-line {
        direction: ltr;
        text-align: right;
        line-height: 1.15;
        margin: 10px 0 1px 0;
    }
    .chord-content-box .chord-line:first-child {
        margin-top: 0;
    }
    .chord-content-box .chord-line + .chord-line {
        margin-top: 2px;
    }
    .chord-content-box .chord-line:empty {
        display: none;
    }
    .chord-content-box .chord-text {
        direction: rtl;
        text-align: right;
        line-height: 1.45;
        margin: 0;
    }
    .chord-content-box .chord-text + .chord-text {
        margin-top: 3px;
    }
    .chord-content-box .chord-stanza-gap {
        display: block;
        height: 8px;
    }
    .chord-content-box .chord-stanza-gap + .chord-line {
        margin-top: 4px;
    }
    .chord-content-box .c {
        color: #6c5ce7 !important;
        font-weight: 800 !important;
        background: rgba(108, 92, 231, 0.12) !important;
        padding: 1px 6px !important;
        border-radius: 4px !important;
        display: inline-block !important;
        margin: 0 2px !important;
    }

    /* --- ۵. پنل اسکرول خودکار شناور --- */
    .auto-scroll-panel {
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--card-bg);
        padding: 10px 22px;
        border-radius: 50px;
        display: none;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
        z-index: 9999;
        border: 1px solid var(--border-color);
        direction: ltr;
    }
    .auto-scroll-panel.active {
        display: block;
        animation: fadeInUp 0.3s ease;
    }
    .scroll-controls-row {
        display: flex;
        align-items: center;
        gap: 14px;
    }
    .scroll-btn {
        background: #6c5ce7;
        border: none;
        color: #fff;
        border-radius: 50%;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: 0.2s;
        box-shadow: 0 4px 12px rgba(108, 92, 231, 0.35);
        font-size: 1.1rem;
    }
    .scroll-btn:hover {
        transform: scale(1.08);
    }
    .scroll-btn.playing {
        background: #ff7675;
        box-shadow: 0 4px 12px rgba(255, 118, 117, 0.4);
    }
    .scroll-range-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 85px;
    }
    .scroll-range-label {
        font-size: 0.7rem;
        color: var(--text-muted);
        font-weight: 700;
        margin-bottom: 3px;
    }
    @keyframes fadeInUp {
        from { opacity: 0; transform: translate(-50%, 20px); }
        to { opacity: 1; transform: translate(-50%, 0); }
    }

    /* --- ۶. لیست سایر بکینگ ترک‌ها --- */
    .related-tracks-wrapper {
        background: var(--card-bg);
        border-radius: 20px;
        border: 1px solid var(--border-color);
        padding: 28px;
        margin-top: 35px;
        box-shadow: var(--shadow-subtle);
    }
    .related-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid var(--border-color);
    }
    .related-title {
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--text-dark);
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .related-view-all {
        font-size: 0.88rem;
        color: #6c5ce7;
        font-weight: 700;
        text-decoration: none;
        transition: 0.2s;
    }
    .related-view-all:hover {
        opacity: 0.8;
    }
    .related-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .related-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 18px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid var(--border-color);
        transition: all 0.25s ease;
        text-decoration: none !important;
    }
    .related-item:hover {
        background: rgba(108, 92, 231, 0.06);
        border-color: #6c5ce7;
        transform: translateX(-5px);
        box-shadow: 0 4px 15px rgba(108, 92, 231, 0.12);
    }
    .related-item-info {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .related-icon-box {
        width: 38px;
        height: 38px;
        background: rgba(108, 92, 231, 0.1);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #6c5ce7;
        font-size: 1rem;
        transition: 0.2s;
    }
    .related-item:hover .related-icon-box {
        background: #6c5ce7;
        color: #fff;
    }
    .related-item:hover .related-icon-box svg {
        stroke: #fff !important;
        fill: #fff !important;
    }
    .related-item-title {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--text-dark);
        margin: 0;
    }
    .related-item-meta {
        font-size: 0.8rem;
        color: var(--text-muted);
    }

    @media (max-width: 768px) {
        .bt-title { font-size: 1.5rem; }
        .bt-header-card { padding: 20px; }
        .bt-track-row { flex-direction: column; align-items: stretch; }
        .bt-track-controls { width: 100%; border-left: none; border-bottom: 1px solid var(--border-color); padding-left: 0; padding-bottom: 10px; margin-bottom: 10px; flex-direction: row; justify-content: space-between; align-items: center; }
        .bt-master-controls { flex-direction: column; align-items: stretch; }
        .chord-toggle-btn { padding: 14px 16px; font-size: 0.96rem; }
        .chord-content-box { padding: 18px 16px; }
        .chord-content-box pre { font-size: 14px !important; line-height: 1.5 !important; }
        .auto-scroll-panel { bottom: 14px; padding: 8px 14px; max-width: calc(100vw - 24px); }
        .related-tracks-wrapper { padding: 18px 16px; }
        .related-item { flex-direction: column; align-items: flex-start; gap: 8px; }
    }
