/* =========================================================
   ROOT / THEME
========================================================= */

:root {
    --bg: #080a0d;
    --bg-soft: #0d1014;
    --bg-card: #11151a;
    --bg-card-2: #15191f;

    --primary: #d71920;
    --primary-light: #ef3340;
    --primary-bright: #ff4654;
    --primary-dark: #a90f15;

    --primary-soft: rgba(215, 25, 32, .10);
    --primary-glow: rgba(215, 25, 32, .22);
    --primary-border: rgba(215, 25, 25, .25);

    --text: #fff;
    --text-soft: #d4d6d9;
    --muted: #8b9199;
    --muted-dark: #666c74;

    --border: rgba(255,255,255,.07);
    --border-light: rgba(255,255,255,.11);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --shadow-sm: 0 6px 20px rgba(0,0,0,.20);
    --shadow-md: 0 12px 35px rgba(0,0,0,.30);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.45);

    --transition-fast: .2s ease;
    --transition: .3s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}

button:focus,
input:focus,
a:focus {
    outline: none;
}

::selection {
    background: rgba(215,25,32,.25);
    color: #fff;
}


/* =========================================================
   PAGE
========================================================= */

.audio-detail-page {
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb-box {
    width: fit-content;
    max-width: 100%;

    margin: 30px auto 0;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 6px;

    direction: rtl;

    color: var(--muted);
    font-size: 12px;
}

.breadcrumb-item-custom {
    display: inline-flex;
    align-items: center;

    padding: 6px 11px;

    background: rgba(255,255,255,.035);
    border: 1px solid var(--border);
    border-radius: 999px;

    color: #c9cbd0;

    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast);
}

.breadcrumb-item-custom:hover {
    background: var(--primary-soft);
    border-color: var(--primary-border);
    color: var(--primary-light);
}

.breadcrumb-sep {
    color: #4f5359;
}


/* =========================================================
   AUDIO MAIN
========================================================= */

.audio-main {
    text-align: center;
}


/* =========================================================
   AUDIO COVER
========================================================= */

.img-audio {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-top: 28px;
}

.img-audio img {
    width: 220px;
    height: 220px;

    display: block;

    object-fit: cover;

    border-radius: 20px;

    border: 1px solid var(--border);

    box-shadow:
        0 20px 55px rgba(0,0,0,.45);
}


/* =========================================================
   AUDIO INFORMATION
========================================================= */

.audio-information {
    width: 100%;
    max-width: 720px;

    margin: 18px auto 0;

    text-align: center;
}

.audio-title {
    margin: 0;

    color: var(--text);

    font-size: 20px;
    font-weight: 600;

    line-height: 1.9;
}

.audio-occasion {
    margin: 6px 0 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.8;
}


/* =========================================================
   MODERN PLAYER
========================================================= */

.modern-player {
    width: 100%;
    max-width: 720px;

    margin: 25px auto 0;
    padding: 22px 24px 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.012)
        );

    border: 1px solid var(--border);
    border-radius: var(--radius-xl);

    box-shadow: var(--shadow-md);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}


/* =========================================================
   EQUALIZER
========================================================= */

.equalizer {
    height: 42px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 4px;

    margin-bottom: 20px;

    opacity: .28;

    transition: opacity .3s ease;
}

.equalizer span {
    width: 3px;
    height: 8px;

    display: block;

    border-radius: 10px;

    background: var(--primary);

    transform-origin: center;
}

.equalizer.playing {
    opacity: 1;
}

.equalizer.playing span {
    animation:
        equalizerAnimation .75s ease-in-out infinite alternate;
}

.equalizer span:nth-child(1)  { animation-delay: -.70s; }
.equalizer span:nth-child(2)  { animation-delay: -.30s; }
.equalizer span:nth-child(3)  { animation-delay: -.55s; }
.equalizer span:nth-child(4)  { animation-delay: -.15s; }
.equalizer span:nth-child(5)  { animation-delay: -.40s; }
.equalizer span:nth-child(6)  { animation-delay: -.05s; }
.equalizer span:nth-child(7)  { animation-delay: -.60s; }
.equalizer span:nth-child(8)  { animation-delay: -.25s; }
.equalizer span:nth-child(9)  { animation-delay: -.50s; }
.equalizer span:nth-child(10) { animation-delay: -.10s; }
.equalizer span:nth-child(11) { animation-delay: -.35s; }
.equalizer span:nth-child(12) { animation-delay: -.65s; }
.equalizer span:nth-child(13) { animation-delay: -.20s; }
.equalizer span:nth-child(14) { animation-delay: -.45s; }
.equalizer span:nth-child(15) { animation-delay: -.60s; }

@keyframes equalizerAnimation {
    0% {
        height: 6px;
    }

    50% {
        height: 28px;
    }

    100% {
        height: 13px;
    }
}


/* =========================================================
   PROGRESS
========================================================= */

.modern-progress {
    width: 100%;
}

#progress {
    width: 100%;
    height: 4px;

    margin: 0;
    padding: 0;

    appearance: none;
    -webkit-appearance: none;

    background: #292d33;

    border-radius: 20px;

    cursor: pointer;
    outline: none;
}

#progress::-webkit-slider-runnable-track {
    height: 4px;
    background: #292d33;
    border-radius: 20px;
}

#progress::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;

    width: 12px;
    height: 12px;

    margin-top: -4px;

    border: 0;
    border-radius: 50%;

    background: var(--primary-light);

    box-shadow:
        0 0 0 4px rgba(215,25,32,.12);
}

#progress::-moz-range-track {
    height: 4px;
    background: #292d33;
    border-radius: 20px;
}

#progress::-moz-range-progress {
    height: 4px;
    background: var(--primary);
    border-radius: 20px;
}

#progress::-moz-range-thumb {
    width: 12px;
    height: 12px;

    border: none;
    border-radius: 50%;

    background: var(--primary-light);
}


/* =========================================================
   TIME
========================================================= */

.modern-time {
    display: flex;
    justify-content: space-between;
    align-items: center;

    direction: ltr;

    margin-top: 8px;

    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   PLAYER CONTROLS
========================================================= */

.modern-controls {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 28px;

    margin-top: 20px;
}

.modern-play {
    width: 58px;
    height: 58px;

    padding: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    border: none;
    border-radius: 50%;

    background: var(--primary);

    color: #fff;

    cursor: pointer;

    font-size: 17px;

    box-shadow:
        0 8px 25px rgba(215,25,32,.25);

    transition:
        transform var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast);
}

.modern-play:hover {
    background: var(--primary-light);

    transform: scale(1.06);

    box-shadow:
        0 10px 35px rgba(215,25,32,.35);
}

.modern-play:active {
    transform: scale(.94);
}

.modern-play i {
    font-size: 16px;
}

.modern-skip {
    width: 38px;
    height: 38px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    color: #777d85;

    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast);
}

.modern-skip:hover {
    color: #fff;
    background: rgba(255,255,255,.05);

    transform: scale(1.08);
}

.modern-skip i {
    font-size: 16px;
}

.modern-skip.disabled-btn {
    opacity: .18;

    pointer-events: none;

    cursor: not-allowed;
}


/* =========================================================
   SHARE / DOWNLOAD
========================================================= */

.audio-actions {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 8px;

    margin-top: 20px;
}

.share-btn,
.download-btn {
    width: 36px;
    height: 36px;

    padding: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    border: 1px solid var(--border);

    background: var(--bg-card);

    color: #858a92;

    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast);
}

.share-btn {
    cursor: pointer;
}

.share-btn:hover,
.download-btn:hover {
    color: var(--primary-light);

    background: var(--primary-soft);

    border-color: var(--primary-border);

    transform: translateY(-2px);
}

.share-btn i,
.download-btn i {
    font-size: 13px;
}


/* =========================================================
   LYRICS
========================================================= */

.lyrics-box {
    width: 100%;
    max-width: 720px;

    margin: 18px auto 0;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.012)
        );

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    text-align: right;
}

.lyrics-header {
    height: 48px;

    padding: 0 18px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    direction: rtl;

    border-bottom: 1px solid var(--border);

    color: var(--text-soft);

    font-size: 13px;
}

.lyrics-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lyrics-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lyrics-header i {
    color: var(--primary-light);
    font-size: 13px;
}

.lyrics-scroll-hint {
    color: var(--muted-dark);
    font-size: 10px;
}

.lyrics-content {
    height: 145px;

    padding: 16px 20px;

    overflow-y: auto;

    direction: rtl;
    text-align: right;

    color: #c4c7cc;

    font-size: 13px;
    line-height: 2.5;

    scroll-behavior: smooth;

    scrollbar-width: thin;
    scrollbar-color: #383d44 transparent;
}

.lyrics-content::-webkit-scrollbar {
    width: 3px;
}

.lyrics-content::-webkit-scrollbar-track {
    background: transparent;
}

.lyrics-content::-webkit-scrollbar-thumb {
    background: #383d44;
    border-radius: 20px;
}

.lyrics-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.lyrics-empty {
    color: var(--muted);
    text-align: center;
    padding: 20px 0;
}


/* =========================================================
   TAGS
========================================================= */

.audio-tags {
    width: 100%;
    max-width: 720px;

    margin: 20px auto 0;

    display: flex;
    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 6px;

    direction: rtl;
}

.audio-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    min-height: 30px;

    padding: 5px 12px;

    color: #858a92;

    font-size: 11px;
    line-height: 1;

    background: rgba(255,255,255,.025);

    border: 1px solid var(--border);

    border-radius: 999px;

    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast);
}

.audio-tag:hover {
    color: var(--primary-light);

    background: var(--primary-soft);

    border-color: var(--primary-border);
}

.audio-tag i {
    font-size: 9px;
}


/* =========================================================
   CONTENT SECTIONS
========================================================= */

.content-section {
    width: 100%;
}

.section-header {
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 65px;
    margin-bottom: 17px;

    padding: 0;

    direction: rtl;
}

.section-header h2 {
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;

    gap: 8px;

    color: #eee;

    font-size: 15px;
    font-weight: 600;
}

.section-header h2 i {
    color: var(--primary-light);
    font-size: 13px;
}

.see-all {
    display: flex;
    align-items: center;

    gap: 5px;

    color: #777d85;

    font-size: 11px;

    transition: color var(--transition-fast);
}

.see-all:hover {
    color: var(--primary-light);
}

.see-all i {
    font-size: 9px;
}


/* =========================================================
   OFFICIAL BANNER
========================================================= */

.official-banner {
    width: 100%;

    overflow: hidden;

    border-radius: var(--radius-lg);

    border: 1px solid var(--border);

    background: var(--bg-card);
}

.official-banner a {
    display: block;
    width: 100%;
}

.official-banner img {
    width: 100%;
    max-height: 260px;

    display: block;

    object-fit: cover;

    transition:
        opacity var(--transition),
        transform var(--transition);
}

.official-banner a:hover img {
    opacity: .9;
    transform: scale(1.015);
}


/* =========================================================
   AUDIO SLIDER
========================================================= */

.audio-slider {
    width: 100%;

    display: flex;
    gap: 12px;

    overflow-x: auto;

    padding: 3px 2px 13px;

    scroll-behavior: smooth;

    scrollbar-width: thin;
    scrollbar-color: #333 transparent;

    direction: rtl;
}

.audio-slider::-webkit-scrollbar {
    height: 3px;
}

.audio-slider::-webkit-scrollbar-track {
    background: transparent;
}

.audio-slider::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 20px;
}

.audio-slider > a {
    flex: 0 0 auto;
}


/* =========================================================
   AUDIO CARD
========================================================= */

.audio-card-link {
    display: block;
}

.audio-card {
    width: 150px;
    min-width: 150px;

    overflow: hidden;

    padding: 8px;

    display: flex;
    flex-direction: column;

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.audio-card:hover {
    background: var(--bg-card-2);

    border-color: var(--primary-border);

    transform: translateY(-3px);
}

.audio-card-image {
    width: 100%;
    height: 134px;

    overflow: hidden;

    border-radius: 10px;
}

.audio-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .35s ease;
}

.audio-card:hover .audio-card-image img {
    transform: scale(1.025);
}

.audio-card-body {
    width: 100%;

    margin-top: 8px;

    text-align: right;
}

.audio-card-body h3 {
    width: 100%;

    margin: 0;

    color: #ddd;

    font-size: 11px;
    font-weight: normal;

    line-height: 1.7;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.audio-card-body p {
    width: 100%;

    margin: 4px 0 0;

    color: #666c74;

    font-size: 9px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================================
   VIDEO SLIDER
========================================================= */

.video-slider {
    width: 100%;

    display: flex;
    gap: 12px;

    overflow-x: auto;

    padding: 3px 2px 13px;

    scroll-behavior: smooth;

    scrollbar-width: thin;
    scrollbar-color: #333 transparent;

    direction: rtl;
}

.video-slider::-webkit-scrollbar {
    height: 3px;
}

.video-slider::-webkit-scrollbar-track {
    background: transparent;
}

.video-slider::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 20px;
}

.video-slider > a {
    flex: 0 0 auto;
}


/* =========================================================
   VIDEO CARD
========================================================= */

.video-card-link {
    display: block;
}

.video-card {
    width: 250px;
    min-width: 250px;

    overflow: hidden;

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.video-card:hover {
    background: var(--bg-card-2);

    border-color: var(--primary-border);

    transform: translateY(-3px);
}

.video-image {
    width: 100%;
    height: 150px;

    overflow: hidden;
}

.video-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .35s ease;
}

.video-card:hover .video-image img {
    transform: scale(1.025);
}

.video-body {
    width: 100%;

    padding: 10px 12px;

    text-align: right;
}

.video-body h3 {
    width: 100%;

    margin: 0;

    color: #ddd;

    font-size: 11px;
    font-weight: normal;

    line-height: 1.7;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-body p {
    width: 100%;

    margin: 4px 0 0;

    color: #666c74;

    font-size: 9px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================================
   OLD CLASSES - SAFE RESET
========================================================= */

.custom-player,
.playPauseBtn,
.card-bodyy {
    display: none;
}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 768px) {

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .breadcrumb-box {
        margin-top: 20px;
        font-size: 10px;
        gap: 4px;
    }

    .breadcrumb-item-custom {
        padding: 5px 9px;
    }

    .img-audio {
        margin-top: 24px;
    }

    .img-audio img {
        width: 185px;
        height: 185px;
        border-radius: 17px;
    }

    .audio-information {
        margin-top: 15px;
    }

    .audio-title {
        font-size: 16px;
        line-height: 1.8;
    }

    .audio-occasion {
        font-size: 10px;
    }

    .modern-player {
        margin-top: 20px;
        padding: 18px 16px 17px;
        border-radius: 18px;
    }

    .equalizer {
        height: 35px;
        margin-bottom: 16px;
    }

    .modern-controls {
        gap: 25px;
        margin-top: 17px;
    }

    .modern-play {
        width: 52px;
        height: 52px;
        font-size: 15px;
    }

    .modern-skip {
        width: 34px;
        height: 34px;
    }

    .lyrics-box {
        margin-top: 14px;
        border-radius: 15px;
    }

    .lyrics-header {
        height: 44px;
        padding: 0 14px;
        font-size: 12px;
    }

    .lyrics-content {
        height: 125px;
        padding: 14px 15px;
        font-size: 12px;
        line-height: 2.35;
    }

    .audio-tags {
        margin-top: 16px;
    }

    .section-header {
        margin-top: 45px;
        margin-bottom: 14px;
    }

    .section-header h2 {
        font-size: 13px;
    }

    .see-all {
        font-size: 10px;
    }

    .official-banner img {
        max-height: 200px;
    }

    .audio-card {
        width: 135px;
        min-width: 135px;
        padding: 7px;
    }

    .audio-card-image {
        height: 120px;
    }

    .video-card {
        width: 190px;
        min-width: 190px;
    }

    .video-image {
        height: 115px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 450px) {

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .img-audio img {
        width: 165px;
        height: 165px;
    }

    .audio-title {
        font-size: 14px;
    }

    .modern-player {
        padding: 16px 13px;
    }

    .equalizer {
        gap: 3px;
    }

    .equalizer span {
        width: 2px;
    }

    .modern-controls {
        gap: 22px;
    }

    .lyrics-content {
        height: 120px;
        padding: 13px 14px;
        font-size: 11px;
    }

    .section-header {
        margin-top: 38px;
    }

    .section-header h2 {
        font-size: 12px;
    }

    .audio-slider,
    .video-slider {
        gap: 10px;
    }

    .audio-card {
        width: 125px;
        min-width: 125px;
    }

    .audio-card-image {
        height: 110px;
    }

    .video-card {
        width: 175px;
        min-width: 175px;
    }

    .video-image {
        height: 105px;
    }
}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 360px) {

    .img-audio img {
        width: 150px;
        height: 150px;
    }

    .modern-player {
        border-radius: 16px;
    }

    .modern-play {
        width: 48px;
        height: 48px;
    }

    .modern-controls {
        gap: 19px;
    }

    .lyrics-content {
        height: 115px;
    }
}

#progress {
    width: 100%;
    height: 6px;

    margin: 0;
    padding: 0;

    appearance: none;
    -webkit-appearance: none;

    direction: ltr;

    background: linear-gradient(
        to right,
        var(--primary) 0%,
        var(--primary) var(--progress, 0%),
        #292d33 var(--progress, 0%),
        #292d33 100%
    );

    border-radius: 20px;
    cursor: pointer;
    outline: none;
}

/* Chrome / Edge / Safari */
#progress::-webkit-slider-runnable-track {
    height: 6px;
    background: transparent;
    border-radius: 20px;
}

#progress::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;

    width: 13px;
    height: 13px;

    margin-top: -3.5px;

    border: 0;
    border-radius: 50%;

    background: var(--primary-light);

    box-shadow:
        0 0 0 4px rgba(215, 25, 32, .15),
        0 0 10px rgba(215, 25, 32, .35);
}

/* Firefox */
#progress::-moz-range-track {
    height: 6px;
    background: #292d33;
    border-radius: 20px;
}

#progress::-moz-range-progress {
    height: 6px;
    background: var(--primary);
    border-radius: 20px;
}

#progress::-moz-range-thumb {
    width: 13px;
    height: 13px;

    border: none;
    border-radius: 50%;

    background: var(--primary-light);
}



#progress {
    width: 100%;
    height: 6px;
    margin: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    direction: ltr;
    background: #292d33;
    border-radius: 20px;
    cursor: pointer;
    outline: none;
}

#progress::-webkit-slider-runnable-track {
    height: 6px;
    background: transparent;
    border-radius: 20px;
}

#progress::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 13px;
    height: 13px;
    margin-top: -3.5px;
    border: 0;
    border-radius: 50%;
    background: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(215,25,32,.15);
}

#progress::-moz-range-track {
    height: 6px;
    background: #292d33;
    border-radius: 20px;
}

#progress::-moz-range-progress {
    height: 6px;
    background: var(--primary);
    border-radius: 20px;
}

#progress::-moz-range-thumb {
    width: 13px;
    height: 13px;
    border: none;
    border-radius: 50%;
    background: var(--primary-light);
}


@media (max-width: 768px) {
.audio-detail-page{
    margin-top: 80px !important;
}






}