
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #8b5cf6;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'kalame'; /* نام دلخواه شما برای این فونت */
    src: url('fount/Kalameh-Medium.ttf') format('ttf'),url("fount/KalamehWeb-Medium.woff2" ) format('woff2');
    /* برای پشتیبانی از مرورگرهای قدیمی‌تر، فرمت‌های بیشتری اضافه کنید */
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* برای بهبود عملکرد بارگذاری */
}

body {

    background: linear-gradient(to right, #320D5D 0%, #120521 75%);
    font-family: 'kalame', Arial, Helvetica, sans-serif;
    overflow: hidden;
}



.back {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.background {
    width: 98vw;
    height: 96vh;
    object-fit: cover;
    border-radius: 36px;
    display: block;
}

/*.background-blur {*/
/*    display: none;       !* فقط در موبایل/تبلت نشان داده می‌شود *!*/
/*}*/

/* پلیر موزیک - داخل بک‌گراند */
.player {
    position: absolute;
    left: 3.5%;
    bottom: 7%;
    width: 580px;
    max-width: 90vw;
    min-width: 280px;
    padding: 22px 20px;
    border-radius: 28px;
    background: rgba(0, 0, 0, 0.462);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    transition: transform 0.4s ease, opacity 0.3s ease;
    transform: translateX(0);
    opacity: 1;
    z-index: 10;
}

.player.hide-left {
    transform: translateX(-150%);
    opacity: 0;
}

.logo.hide-logo {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px); /* یا هر جهتی که با فریم‌ورک دیزاینت ست است */
}

.song-info {
    margin-bottom: 18px;

}

.song-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-status {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.controls {
    display: inline-flex;
    align-items: center;
    justify-content: start;
    gap: 18px;
    margin-bottom: 20px;
}

.control-btn,
.volume-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.control-btn i,
.volume-btn i {
    color: rgb(255, 255, 255);
}

.control-btn:hover,
.volume-btn:hover {
    transform: scale(1.08);
}

.control-btn i {
    font-size: 42px;
}

.play-btn i {
    font-size: 58px;
}

.progress-section {
    margin-bottom: 18px;
}

.time-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
}

.progress-bar,
.sound-bar {
    width: 100%;
    appearance: none;
    height: 6px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    cursor: pointer;
}

.progress-bar::-webkit-slider-thumb,
.sound-bar::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
}

.volume-section {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 7vw;
    position: relative;
    left: 220px;
}

.volume-btn i {
    font-size: 28px;
}

.home-logo{
  transition: 0.3s;
}

.home-logo:hover{
  transform: scale(1.1);
}

.logo {
    position: absolute;
    left: 2.1%;
    bottom: 80%;
    width: 580px;
    max-width: 90vw;
    min-width: 280px;
    padding: 22px 20px;
    border-radius: 28px;
    opacity: 1;
    z-index: 10;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;

}



.sound-bar {
    flex: 1;
}

/* دکمه سه خط - داخل بک‌گراند */
.slider-toggle-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: 0.3s ease;
}

.slider-toggle-btn i {
    font-size: 28px;
    color: white;
}

.slider-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* دکمه قفل */
#lockBtn {
    position: fixed;
    top: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    transition: 0.3s ease;
    color: white;
    font-size: 28px;
}

#lockBtn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

#lockBtn.locked {
    background: rgba(255, 0, 0, 0.6);
}

/* اسلایدر - داخل بک‌گراند و راست صفحه */
.slider {
    position: absolute;
    right: 3.4%;
    top: 52%;
    transform: translateY(-50%) translateX(0);
    width: 450px;
    max-width: 85vw;
    min-width: 280px;
    max-height: 82vh;
    padding: 22px 20px;
    border-radius: 28px;
    background: rgba(0, 0, 0, 0.462);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    height: 82vh;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, opacity 0.3s ease;
    opacity: 1;
    z-index: 999;
}

.slider.hide-right {
    transform: translateY(-50%) translateX(120%);
    opacity: 0;
    pointer-events: none;
}

.slider-window {
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.slides-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slide {
    min-width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
}

.comments-list::-webkit-scrollbar {
    width: 6px;
}

.comments-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.comments-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.header {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
}

.header p {
    display: flex;
}

.cover-song {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    object-fit: cover;  /* برای اینکه تصویر بریده نشود */
}

.icons {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 10px;
    flex-shrink: 0;
}

.info-song {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    margin-left: 10px;
}

.info-song h2 {
    color: aliceblue;
    font-size: 16px;
}

.info-song p {
    color: #adadad;
    font-size: 13px;
}

.icons a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.icons i {
    font-size: 22px;
    cursor: pointer;
    transition: 0.2s;
    color: white;
}

.like:hover i {
    color: rgb(3, 182, 3);
    transform: translateY(-2px);
}

.like:active i {
    transform: translateY(2px);
}

.like.active i {
    color: rgb(3, 182, 3);
}


/* ===== دکمه خانه ===== */
#homeBtn {
    position: fixed;
    top: 30px;
    right: 160px;          /* فاصله از دکمه قفل (که right:100px دارد) */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10002;        /* بالاتر از بقیه */
    transition: 0.3s ease;
    color: white;
    font-size: 28px;
    text-decoration: none; /* حذف زیرخط */
}

#homeBtn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}




.dislike:hover i {
    color: rgb(182, 3, 3);
    transform: translateY(-2px);
}

.dislike:active i {
    transform: translateY(2px);
}

.dislike.active i {
    color: rgb(182, 3, 3);
}

.songs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.314);
    transition: 0.2s ease;
    border-radius: 14px;
    cursor: pointer;
    width: 100%;
}

.songs.active-song {
    background: rgba(170, 162, 162, 0.362) !important;
    border-radius: 14px;
}

.songs:hover {
    background: rgba(255, 255, 255, 0.382);
}

.song-link,
.playlist-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex: 1;
    width: 100%;
}

.playlist-link{
    text-decoration: none;
    margin-left: 5px;
}

.shombol {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}

.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 12px;
    margin-top: auto;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

.nav-btn i {
    font-size: 24px;
    color: white;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.pagination-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: white;
}

/* صفحه نظرات */
.page3 {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: hidden;
    justify-content: space-between;
}

.comment {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    border-radius: 10px;
    background-color: rgba(53, 53, 53, 0.46);
    backdrop-filter: blur(16px);
    border: 1px solid white;
    padding: 10px;
    width: 100%;
    transition: background-color 0.4s ease-in;

}

.comment:hover{
    background-color: rgba(225, 225, 225, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.6);

}

.comment:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.comments-list {
    flex: 1;                /* فضای خالی را پر می‌کند */
    overflow-y: auto;       /* اسکرول عمودی برای لیست */
    padding: 10px 5px;      /* فاصله داخلی برای زیبایی */
    margin-bottom: 10px;    /* فاصله از فرم */
}

.c1 {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    width: 100%;
}

.comment.persian .c1 {
    direction: rtl;

}

.persian-text{
    font-family: kalame, serif;
}
.user-prefix {

    color: white;
    font-weight: bolder;
}

.send1 {
    display: flex;
    position: relative;
    margin-top: auto;
    margin-bottom: 0;
    width: 100%;
    flex-shrink: 0;
}

.area {
    width: 100%;
    height: 150px;
    padding: 10px;
    padding-right: 100px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.462);
    backdrop-filter: blur(16px);
    border: 1px solid white;
    color: white;
    resize: none;
    /*font-family: 'kalame';*/
}


.btn {
    position: absolute;
    right: 5px;
    bottom: 5px;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: white;
    color: black;
}

.btn:hover {
    background: #ddd;
}

.page2 .icons i {
    font-size: 30px;
}

.page2 .icons i:hover {
    color: #ff4757;
}

/* ===== ریسپانسیو ===== */

/* دسکتاپ بزرگ (بیشتر از 1400px) */
@media (min-width: 1401px) {
    .player {
        width: 580px;
        max-width: 580px;
        min-width: 580px;
        padding: 22px 20px;
        left: 3.5%;
        bottom: 7%;
    }

    .slider {
        width: 500px;
        max-width: 500px;
        min-width: 500px;
        height: 86vh;
        right: 3.5%;
    }

    .slider-toggle-btn {
        top: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
    }

    #lockBtn {
        top: 30px;
        right: 100px;
        width: 50px;
        height: 50px;
    }

    .control-btn i {
        font-size: 42px;
    }

    .play-btn i {
        font-size: 58px;
    }
}

/* دسکتاپ متوسط (1200px - 1400px) */
@media (max-width: 1400px) and (min-width: 1201px) {
    .player {
        width: 520px;
        max-width: 520px;
        min-width: 400px;
        padding: 20px 18px;
        left: 3%;
        bottom: 6%;
    }

    .slider {
        width: 450px;
        max-width: 450px;
        min-width: 350px;
        height: 82vh;
        right: 3%;
        bottom: 6%;
    }

    .control-btn i {
        font-size: 38px;
    }

    .play-btn i {
        font-size: 52px;
    }
}

/* دسکتاپ کوچک / لپ‌تاپ (992px - 1200px) */
@media (max-width: 1200px) and (min-width: 993px) {
    .player {
        width: 460px;
        max-width: 460px;
        min-width: 320px;
        padding: 18px 16px;
        left: 2.5%;
        bottom: 5%;
    }

    .slider {
        width: 400px;
        max-width: 400px;
        min-width: 300px;
        height: 78vh;
        right: 2.5%;
        bottom: 5%;
        padding: 18px 16px;
    }

    .slider-toggle-btn {
        top: 25px;
        right: 25px;
        width: 45px;
        height: 45px;
    }

    #lockBtn {
        top: 25px;
        right: 85px;
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .control-btn i {
        font-size: 34px;
    }

    .play-btn i {
        font-size: 48px;
    }

    .song-title {
        font-size: 18px;
    }

    .volume-section {
        left: 158px;
        width: 110px;

    }
}

/* ===== حالت موبایل و تبلت (کمتر از 1024px) ===== */
/* تغییر از 992 به 1024 */
@media (max-width: 1024px) {
    body {
        overflow: hidden;
    }
    #homeBtn {
        position: fixed !important;
        top: 120px !important;      /* زیر دکمه قفل (که top:70px دارد) */
        left: 15px !important;      /* دقیقاً همراستا با دکمه قفل */
        right: auto !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 22px !important;
        z-index: 10002 !important;
    }

    .back {
        width: 100vw;
        height: 100vh;
        overflow: hidden;
    }

    .background {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }

    /* پلیر در موبایل - پایین صفحه */
    .player {
        position: fixed !important;
        bottom: 15px !important;
        left: 10px !important;
        right: 10px !important;
        top: auto !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        min-width: auto !important;
        padding: 14px 16px !important;
        border-radius: 24px !important;
        z-index: 10 !important;
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    .player.hide-left {
        transform: translateY(150%) !important;
        opacity: 0 !important;
    }

    /* ===== اسلایدر - مثل اینستاگرام از پایین ===== */
    .slider {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: -100% !important;  /* مخفی در ابتدا */
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        height: 80vh !important;   /* ارتفاع اولیه (داینامیک می‌شود) */
        max-height: 100vh !important;
        border-radius: 28px 28px 0 0 !important;
        padding: 20px 16px !important;
        transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1), height 0.3s ease !important;
        z-index: 1001 !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4) !important;
    }
    .slider.fullscreen {
        height: 100vh !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
    }

    /* وقتی باز هست */
    .slider.show-mobile {
        bottom: 0 !important;
    }

    /* نوار بالای اسلایدر (مثل اینستاگرام) */
    .slider::before {
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
        z-index: 10;
        transition: 0.3s;
    }

    .slider.show-mobile::before {
        background: rgba(255, 255, 255, 0.6);
    }

    .slider.hide-right {
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        bottom: -100% !important;
    }

    /* دکمه سه خط در موبایل - چپ بالا */
    .slider-toggle-btn {
        position: fixed !important;
        top: 15px !important;
        left: 15px !important;
        right: auto !important;
        bottom: auto !important;
        width: 44px !important;
        height: 44px !important;
        background: rgba(0, 0, 0, 0.6) !important;
        backdrop-filter: blur(16px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        z-index: 1002 !important;
        border-radius: 50% !important;
    }

    .slider-toggle-btn i {
        font-size: 24px !important;
    }

    /* دکمه قفل در موبایل */
    #lockBtn {
        position: fixed !important;
        top: 70px !important;
        left: 15px !important;
        right: auto !important;
        bottom: auto !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 22px !important;
        z-index: 1002 !important;
    }

    /* اوورلی (پشت زمینه تاریک) */
    #mobileOverlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        display: none;
        backdrop-filter: blur(4px);
        animation: fadeIn 0.3s ease;
        cursor: pointer;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    .control-btn i {
        font-size: 30px !important;
    }

    .play-btn i {
        font-size: 44px !important;
    }

    .song-title {
        font-size: 16px !important;
    }

    .song-status {
        font-size: 12px !important;
    }

    .volume-section {
        left: auto !important;
        width: 100px !important;
        margin-left: 20px;
        gap: 10px !important;
    }

    .volume-btn i {
        font-size: 24px !important;
    }

    .cover-song {
        width: 45px !important;
        border-radius: 12px !important;
    }

    .info-song h2 {
        font-size: 13px !important;
    }

    .info-song p {
        font-size: 11px !important;
    }

    .shombol {
        padding: 12px !important;
        gap: 10px !important;
    }

    .songs {
        padding: 6px 8px !important;
    }

    .slider-nav {
        padding-top: 10px !important;
        gap: 15px !important;
    }

    .nav-btn {
        width: 28px !important;
        height: 28px !important;
    }

    .nav-btn i {
        font-size: 18px !important;
    }

    .area {
        height: 80px !important;
        font-size: 13px !important;
        padding-right: 85px !important;
    }

    .btn {
        padding: 6px 14px !important;
        font-size: 12px !important;
    }
}

/* موبایل کوچک (400px - 576px) */
@media (max-width: 576px) and (min-width: 401px) {
    .player {
        padding: 12px 14px !important;
        bottom: 12px !important;
        left: 8px !important;
        right: 8px !important;
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        border-radius: 20px !important;
    }

    .slider {
        height: 65vh !important;
        padding: 14px 12px !important;
    }

    .slider-toggle-btn {
        width: 38px !important;
        height: 38px !important;
        top: 12px !important;
        left: 12px !important;
    }

    .slider-toggle-btn i {
        font-size: 20px !important;
    }

    #lockBtn {
        width: 38px !important;
        height: 38px !important;
        top: 62px !important;
        left: 12px !important;
        font-size: 20px !important;
    }

    .control-btn i {
        font-size: 26px !important;
    }

    .play-btn i {
        font-size: 38px !important;
    }

    .song-title {
        font-size: 15px !important;
    }

    .controls {
        gap: 12px !important;
    }

    .volume-section {
        width: 85px !important;
        gap: 8px !important;
    }

    .volume-btn i {
        font-size: 20px !important;
    }

    .cover-song {
        width: 80px !important;
        border-radius: 10px !important;
        height: 80px !important;
    }

    .info-song h2 {
        font-size: 12px !important;
    }

    .info-song p {
        font-size: 10px !important;
    }

    .icons i {
        font-size: 16px !important;
    }

    .shombol {
        padding: 10px !important;
        gap: 8px !important;
    }

    .songs {
        padding: 5px 6px !important;
    }

    .time-row {
        font-size: 11px !important;
    }

    .area {
        height: 65px !important;
        font-size: 12px !important;
        padding-right: 75px !important;
        padding: 8px !important;
        padding-right: 75px !important;
    }

    .btn {
        padding: 5px 12px !important;
        font-size: 11px !important;
    }
}

/* موبایل خیلی کوچک (کمتر از 400px) */
@media (max-width: 400px) {
    .player {
        padding: 10px 12px !important;
        bottom: 10px !important;
        left: 6px !important;
        right: 6px !important;
        width: calc(100% - 12px) !important;
        max-width: calc(100% - 12px) !important;
        border-radius: 18px !important;
    }

    #homeBtn {
        top: 105px !important;      /* تنظیم متناسب با دکمه قفل (که top:55px دارد) */
        width: 35px !important;
        height: 35px !important;
        font-size: 18px !important;
    }    

    .slider {
        height: 60vh !important;
        padding: 12px 10px !important;
    }

    .slider-toggle-btn {
        width: 35px !important;
        height: 35px !important;
        top: 10px !important;
        left: 10px !important;
    }

    .slider-toggle-btn i {
        font-size: 18px !important;
    }

    #lockBtn {
        width: 35px !important;
        height: 35px !important;
        top: 55px !important;
        left: 10px !important;
        font-size: 18px !important;
    }

    .control-btn i {
        font-size: 22px !important;
    }

    .play-btn i {
        font-size: 34px !important;
    }

    .song-title {
        font-size: 14px !important;
    }

    .song-status {
        font-size: 10px !important;
    }

    .controls {
        gap: 10px !important;
    }

    .volume-section {
        width: 70px !important;
        gap: 6px !important;
    }

    .volume-btn i {
        font-size: 18px !important;
    }

    .sound-bar {
        width: 40px !important;
    }

    .cover-song {
        width: 35px !important;
        border-radius: 8px !important;
    }

    .info-song h2 {
        font-size: 11px !important;
    }

    .info-song p {
        font-size: 9px !important;
    }

    .icons i {
        font-size: 14px !important;
    }

    .shombol {
        padding: 8px !important;
        gap: 6px !important;
    }

    .songs {
        padding: 4px 5px !important;
    }

    .time-row {
        font-size: 10px !important;
    }

    .area {
        height: 55px !important;
        font-size: 11px !important;
        padding-right: 65px !important;
        padding: 6px !important;
        padding-right: 65px !important;
    }

    .btn {
        padding: 4px 10px !important;
        font-size: 10px !important;
    }
}

/* حالت افقی موبایل */
@media (max-height: 500px) and (orientation: landscape) {
    .player {
        bottom: 10px !important;
        padding: 8px 14px !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
    }

    .slider {
        height: 80vh !important;
        padding: 10px 14px !important;
    }

    .controls {
        margin-bottom: 6px !important;
        gap: 10px !important;
    }

    .control-btn i {
        font-size: 24px !important;
    }

    .play-btn i {
        font-size: 36px !important;
    }

    .progress-section {
        margin-bottom: 6px !important;
    }

    .song-info {
        margin-bottom: 6px !important;
    }

    .shombol {
        padding: 8px !important;
        gap: 6px !important;
    }

    .cover-song {
        width: 32px !important;
    }

    .area {
        height: 50px !important;
    }
}

@media (max-width: 1024px) {
    .logo {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        left: auto !important;
        bottom: auto !important;
        width: 350px !important;
        max-width: 90vw !important;   /* برای جلوگیری از خروج از صفحه در موبایل‌های کوچک */
        min-width: auto !important;
        padding: 0 !important;
        z-index: 10 !important;
        transform: none !important;
    }

    .logo img {
        width: 100% !important;
        height: auto !important;
        display: block;
    }
}

/* موبایل‌های متوسط و کوچک (max-width: 768px) */
@media (max-width: 768px) {
    .logo {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        left: auto !important;
        bottom: auto !important;
        width: 350px !important;
        max-width: 90vw !important;   /* برای جلوگیری از خروج از صفحه در موبایل‌های کوچک */
        min-width: auto !important;
        padding: 0 !important;
        z-index: 10 !important;
        transform: none !important;
    }

    .logo img {
        width: 100% !important;
        height: auto !important;
        display: block;
    }
}

/* موبایل‌های خیلی کوچک (max-width: 480px) */
@media (max-width: 480px) {
    .logo {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        left: auto !important;
        bottom: auto !important;
        width: 250px !important;
        max-width: 90vw !important;   /* برای جلوگیری از خروج از صفحه در موبایل‌های کوچک */
        min-width: auto !important;
        padding: 0 !important;
        z-index: 10 !important;
        transform: none !important;
    }

    .logo img {
        width: 100% !important;
        height: auto !important;
        display: block;
    }
}

/* حالت افقی موبایل (height < 500px) */
@media (max-height: 500px) and (orientation: landscape) {
    .logo {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        left: auto !important;
        bottom: auto !important;
        width: 250px !important;
        max-width: 90vw !important;   /* برای جلوگیری از خروج از صفحه در موبایل‌های کوچک */
        min-width: auto !important;
        padding: 0 !important;
        z-index: 10 !important;
        transform: none !important;
    }

    .logo img {
        width: 100% !important;
        height: auto !important;
        display: block;
    }
}

/* ====================================================
   تغییر نسبت ویدیو به 1:1 در تبلت و موبایل (با برش)
   ==================================================== */
/*@media (max-width: 1024px) {*/
/*    .back {*/
/*        width: 100vw;*/
/*        height: 100vh;*/
/*        overflow: hidden;*/
/*        !* حذف هرگونه رنگ یا گرادیان پس‌زمینه *!*/
/*        background: transparent !important;*/
/*    }*/

/*    !* ===== ویدیوی بلور ===== *!*/
/*    .background-blur {*/
/*        display: block !important;*/
/*        position: absolute;*/
/*        top: -10%;*/
/*        left: -10%;*/
/*        width: 120vw;*/
/*        height: 120vh;*/
/*        object-fit: cover;*/
/*        filter: blur(35px);          !* شدت بلور *!*/
/*        transform: scale(1.2);*/
/*        z-index: 1;*/
/*        border-radius: 0;*/
/*    }*/

/*    !* ===== ویدیوی اصلی ===== *!*/
/*    .background {*/
/*        position: absolute;*/
/*        top: 0;*/
/*        left: 0;*/
/*        width: 100vw;*/
/*        height: 100vh;*/
/*        object-fit: contain;        !* کل ویدیو بدون برش (نسبت ثابت) *!*/
/*        border-radius: 0;           !* حذف گردی گوشه در موبایل *!*/
/*        z-index: 2;*/
/*    }*/
/*}*/

/* ===== صفحه‌ی اورلی برای موبایل ===== */
.mobile-landing {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    display: none;              /* پیش‌فرض مخفی */
    justify-content: center;
    align-items: center;
    z-index: 99999;             /* بالاتر از همه چیز */
    flex-direction: column;
    text-align: center;
    color: white;
    padding: 20px;
    transition: opacity 0.5s ease;
}

.mobile-landing.show {
    display: flex;
}

.mobile-landing.hide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.landing-content {
    max-width: 400px;
    padding: 30px 20px;
}

.landing-content h1 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.landing-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #ddd;
}

.landing-content p strong {
    color: #ffd700;
    font-weight: bold;
}

.landing-btn {
    padding: 14px 48px;
    font-size: 20px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(135deg, #6C3CE1, #A855F7);
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4);
    font-family: inherit;
}

.landing-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.6);
}

.landing-btn:active {
    transform: scale(0.95);
}

