:root {
    --cyan:   #00ffff;
    --purple: #c77dff;
    --dark:   #0a0a1f;
    --bg:     #07090f;
    --card:   #111827;
    --border: rgba(0,255,255,0.15);
    --border-h: rgba(0,255,255,0.6);
    --text:   #e2e8f0;
    --text-m: #94a3b8;
    --tr:     0.3s cubic-bezier(0.4,0,0.2,1);

    --card-w: 220px;
    --card-h: 220px;
    --h2-size: 1.9rem;
    --section-px: clamp(14px, 3.5vw, 44px);
    --section-py: clamp(18px, 3vw, 36px);
}

/* ===== GLOBAL ACTIVE/FOCUS RESET (از index.php) ===== */
a, button, [role="button"], .item-card, .genre-card, .ad-card,
.footer-link-btn, .menu-links a, .search-trigger, .menu-trigger,
.scroll-arrow, .view-all-btn {
    -webkit-tap-highlight-color: transparent;
}
a:focus, button:focus, [role="button"]:focus,
.item-card:focus, .genre-card:focus, .ad-card:focus,
.footer-link-btn:focus, .menu-links a:focus,
.search-trigger:focus, .menu-trigger:focus,
.scroll-arrow:focus, .view-all-btn:focus {
    outline: none;
}
a:focus:not(:focus-visible), button:focus:not(:focus-visible),
[role="button"]:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}
a:active { color: inherit; }
.item-card:active, .genre-card:active {
    box-shadow: 0 12px 35px rgba(0,0,0,0.6);
    border-color: var(--border);
}
.footer-link-btn:active {
    background: rgba(0,255,255,0.08);
    color: var(--cyan) !important;
    box-shadow: none;
}
.menu-links a:active {
    background: transparent;
    color: var(--text);
    padding-right: clamp(18px,4vw,24px);
}
.search-trigger:active, .menu-trigger:active {
    box-shadow: 0 0 50px rgba(0,255,255,0.6);
}
.scroll-arrow:active {
    background: rgba(0,255,255,0.12);
    color: var(--cyan);
}
a:visited { color: inherit; }
.item-card:visited, .genre-card:visited { border-color: var(--border); }
footer a:visited:not(:hover) {
    color: #c77dff;
    text-decoration: none;
}

/* ===== RESET (از index.php) ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    background-color: #000;
    overscroll-behavior: none;
}
body {
    font-family: 'Vazirmatn', sans-serif;
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
    background-color: #04060e;
    background-image:
        radial-gradient(ellipse 100% 55% at 50% 0%,   rgba(0,160,180,0.09) 0%, transparent 60%),
        radial-gradient(ellipse 55%  45% at 90% 40%,  rgba(90,0,160,0.08)  0%, transparent 55%),
        radial-gradient(ellipse 45%  40% at 8%  65%,  rgba(0,60,140,0.07)  0%, transparent 55%),
        radial-gradient(ellipse 35%  25% at 55% 95%,  rgba(70,0,110,0.06)  0%, transparent 60%),
        linear-gradient(175deg, #04060e 0%, #070a16 28%, #06080f 58%, #040608 100%);
    overscroll-behavior-y: none;
}

body::before {
    content: '';
    position: fixed; inset: 0;
    background:
        radial-gradient(ellipse 50% 20% at 50% 0%,   rgba(0,200,230,0.055) 0%, transparent 70%),
        radial-gradient(ellipse 25% 15% at 12% 28%,  rgba(0,160,220,0.04)  0%, transparent 70%),
        radial-gradient(ellipse 20% 12% at 88% 55%,  rgba(140,60,230,0.04)  0%, transparent 70%);
    pointer-events: none; z-index: 0;
}

body::after {
    content: '';
    position: fixed; inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 15%,  rgba(0,255,255,0.35)   0%, transparent 100%),
        radial-gradient(1px 1px at 35% 7%,   rgba(170,90,255,0.30)  0%, transparent 100%),
        radial-gradient(1px 1px at 62% 20%,  rgba(0,190,240,0.28)   0%, transparent 100%),
        radial-gradient(1px 1px at 85% 32%,  rgba(120,60,240,0.28)  0%, transparent 100%),
        radial-gradient(1px 1px at 20% 52%,  rgba(0,240,210,0.22)   0%, transparent 100%),
        radial-gradient(1px 1px at 72% 62%,  rgba(0,190,240,0.20)   0%, transparent 100%),
        radial-gradient(1px 1px at 48% 80%,  rgba(110,50,240,0.22)  0%, transparent 100%),
        radial-gradient(1px 1px at 90% 75%,  rgba(0,240,190,0.18)   0%, transparent 100%),
        radial-gradient(1px 1px at 4%  88%,  rgba(90,40,240,0.18)   0%, transparent 100%),
        radial-gradient(1px 1px at 43% 43%,  rgba(0,210,240,0.15)   0%, transparent 100%);
    pointer-events: none; z-index: 0;
}

/* ===== FLOATING BUTTONS (کپی دقیق از index.php) ===== */
.search-trigger, .menu-trigger {
    position: fixed; top: 16px; z-index: 9999;
    width: clamp(46px, 8vw, 56px);
    height: clamp(46px, 8vw, 56px);
    background: var(--cyan); color: #000;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 0 50px rgba(0,255,255,0.6);
    transition: var(--tr);
    backdrop-filter: blur(12px);
}
.search-trigger { left: 14px; }
.menu-trigger   { right: 14px; }
.search-trigger:hover, .menu-trigger:hover {
    box-shadow: 0 0 80px rgba(0,255,255,1);
}
.top-left-controls{
    position: fixed;
    top: 16px;
    left: 14px;
    z-index: 9999;
    display: flex; align-items: center;
    gap: clamp(8px, 1.5vw, 12px);
}
.top-left-controls .search-trigger{ position: static; top: auto; left: auto; }
.login-trigger {
    background: linear-gradient(135deg,#9d4edd 0%,#ff2d95 55%,#ff00ff 100%);
    color: #fff; border: none; border-radius: 50px;
    display: flex; align-items: center; justify-content: center;
    font-family: inherit; font-weight: 900; white-space: nowrap; cursor: pointer;
    box-shadow: 0 0 40px rgba(199,77,221,0.55); transition: box-shadow var(--tr);
    backdrop-filter: blur(12px);
}
.login-trigger:hover { box-shadow: 0 0 70px rgba(255,45,149,0.9); }

/* موبایل (< 768px): فقط آیکون، دایره‌ای */
.login-trigger {
    width: clamp(46px,8vw,52px);
    height: clamp(46px,8vw,52px);
    padding: 0;
    font-size: 20px;
    gap: 0;
}
.login-trigger .login-icon { display: flex; }
.login-trigger .login-text-short { display: none; }
.login-trigger .login-text-full  { display: none; }

/* تبلت (768px – 1023px): آیکون + متن کوتاه */
@media(min-width:768px) {
    .login-trigger {
        width: auto;
        height: clamp(44px,6vw,50px);
        padding: 0 clamp(14px,2vw,20px);
        font-size: 14px;
        gap: 7px;
    }
    .login-trigger .login-icon      { display: flex; }
    .login-trigger .login-text-short { display: inline; }
    .login-trigger .login-text-full  { display: none; }
}

/* لپ‌تاپ و بزرگ‌تر (≥ 1024px): فقط متن کامل، بدون آیکون */
@media(min-width:1024px) {
    .login-trigger {
        height: 46px;
        padding: 0 26px;
        font-size: 15px;
        gap: 0;
    }
    .login-trigger .login-icon      { display: none; }
    .login-trigger .login-text-short { display: none; }
    .login-trigger .login-text-full  { display: inline; }
}
.login-prompt{
    position:fixed; inset:0; z-index:12000;
    display:flex; align-items:center; justify-content:center;
    padding:24px;
    background:rgba(3,6,20,0.82); backdrop-filter:blur(8px);
    opacity:0; visibility:hidden; transition:opacity .3s ease, visibility .3s ease;
}
.login-prompt.open{ opacity:1; visibility:visible; }
.login-prompt-card{
    width:min(420px,100%);
    background:linear-gradient(135deg,#0f1425,#1a1f33);
    border:3px solid var(--cyan); border-radius:24px;
    padding:clamp(24px,5vw,36px) clamp(20px,4vw,30px);
    text-align:center;
    box-shadow:0 0 60px rgba(0,255,255,0.45);
    transform:scale(0.9); transition:transform .35s cubic-bezier(0.34,1.56,0.64,1);
}
.login-prompt.open .login-prompt-card{ transform:scale(1); }
.login-prompt-icon{
    font-size:2.5rem; color:var(--cyan);
    text-shadow:0 0 25px rgba(0,255,255,0.6); margin-bottom:14px; display:block;
}
.login-prompt-title{
    font-size:1.25rem; font-weight:900; color:#fff; margin-bottom:10px;
}
.login-prompt-text{
    font-size:0.9rem; color:#cdd3e0; line-height:1.9; margin-bottom:24px;
}
.login-prompt-actions{ display:flex; flex-direction:column; gap:12px; }
.login-prompt-btn{
    width:100%; padding:14px 18px; border-radius:50px; border:none;
    font-family:inherit; font-size:0.95rem; font-weight:900; cursor:pointer;
    transition:transform .2s ease, box-shadow .3s ease;
}
.login-prompt-btn.primary{
    background:linear-gradient(90deg,var(--cyan),#c77dff); color:#000;
    box-shadow:0 0 30px rgba(0,255,255,0.5);
}
.login-prompt-btn.primary:hover{ transform:none; box-shadow:0 0 45px rgba(0,255,255,0.85); }
.login-prompt-btn.ghost{ background:rgba(255,255,255,0.08); color:#cdd3e0; }
.login-prompt-btn.ghost:hover{ background:rgba(255,255,255,0.15); }

/* ===== SIDE MENU (کپی دقیق از index.php) ===== */
.side-menu {
    position: fixed; top: 0; right: 0;
    width: min(320px, 86vw);
    height: 100vh; height: 100dvh;
    background:
        radial-gradient(120% 60% at 100% 0%, rgba(0,255,255,0.10) 0%, transparent 55%),
        radial-gradient(120% 60% at 0% 100%, rgba(199,125,255,0.10) 0%, transparent 55%),
        linear-gradient(160deg, #0a0e17 0%, #11162a 50%, #1a1f33 100%);
    border-left: 1px solid rgba(0,255,255,0.18);
    z-index: 10000;
    transform: translateX(105%);
    transition: transform .55s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow .55s ease;
    box-shadow: -12px 0 60px rgba(0,0,0,0);
    display: flex; flex-direction: column; overflow-y: auto;
    overscroll-behavior: contain;
    will-change: transform;
}
.side-menu.open {
    transform: translateX(0);
    box-shadow: -18px 0 70px rgba(0,0,0,0.85), -2px 0 0 rgba(0,255,255,0.25);
}
.side-menu::-webkit-scrollbar { width: 6px; }
.side-menu::-webkit-scrollbar-thumb { background: rgba(0,255,255,0.25); border-radius: 6px; }

.menu-header {
    padding: clamp(16px,4vw,24px) clamp(16px,4vw,22px);
    border-bottom: 1px solid rgba(0,255,255,0.12);
    display: flex; align-items: center; gap: 14px; flex-shrink: 0;
    background: linear-gradient(135deg, rgba(0,255,255,0.06), rgba(199,125,255,0.04));
}
.user-info { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.user-avatar {
    width: clamp(44px,10vw,56px); height: clamp(44px,10vw,56px);
    border-radius: 50%; border: 3px solid #000;
    object-fit: cover; flex-shrink: 0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}
.user-details { flex: 1; min-width: 0; }
.username {
    font-size: 16px;
    font-weight: 900; margin-bottom: 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mobile { font-size: 13px; opacity: 0.9; }
.close-menu {
    font-size: 22px; cursor: pointer; padding: 8px;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: transform .35s ease, background .25s ease;
    flex-shrink: 0;
}
.close-menu:hover { background: rgba(0,0,0,0.25); transform: rotate(90deg); }
.close-menu:active { transform: rotate(90deg) scale(0.92); }

.menu-links { flex: 1; padding: 10px 0; overflow-y: auto; }
.menu-links a {
    display: flex; align-items: center;
    padding: clamp(12px,3vw,16px) clamp(18px,4vw,24px);
    color: var(--text); text-decoration: none;
    font-size: 15px; font-weight: 600;
    transition: background .3s ease, color .3s ease, padding-right .3s ease, transform .3s ease;
    border-bottom: 1px solid rgba(0,255,255,0.07);
    position: relative;
    opacity: 0;
    transform: translateX(28px);
}
.side-menu.open .menu-links a {
    opacity: 1;
    transform: translateX(0);
    transition: background .3s ease, color .3s ease, padding-right .3s ease,
                opacity .45s ease, transform .45s cubic-bezier(0.22, 1, 0.36, 1);
}
.side-menu.open .menu-links a:nth-child(1) { transition-delay: .08s; }
.side-menu.open .menu-links a:nth-child(2) { transition-delay: .14s; }
.side-menu.open .menu-links a:nth-child(3) { transition-delay: .20s; }
.side-menu.open .menu-links a:nth-child(4) { transition-delay: .26s; }
.side-menu.open .menu-links a:nth-child(5) { transition-delay: .32s; }
.side-menu.open .menu-links a:nth-child(6) { transition-delay: .38s; }
.side-menu.open .menu-links a:nth-child(7) { transition-delay: .44s; }
.side-menu.open .menu-links a:nth-child(8) { transition-delay: .50s; }

.menu-links a::before {
    content: ''; position: absolute; top: 10%; bottom: 10%; right: 0;
    width: 3px; border-radius: 3px 0 0 3px;
    background: linear-gradient(180deg, var(--cyan), #c77dff);
    transform: scaleY(0); transform-origin: center;
    transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu-links a:hover {
    background: linear-gradient(90deg, rgba(0,255,255,0.04), rgba(0,255,255,0.14) 100%);
    color: var(--cyan);
    padding-right: clamp(22px, 5vw, 32px);
}
.menu-links a:hover::before { transform: scaleY(1); }
.menu-links a:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: -4px;
    background: rgba(0,255,255,0.08);
}
.menu-links a i {
    width: 28px; text-align: center; margin-left: 12px;
    color: var(--cyan); font-size: 17px;
    transition: transform .35s ease;
}
.menu-links a:hover i { transform: none; }

.menu-links .logout { color: #ff5a5a; }
.menu-links .logout i { color: #ff5a5a; }
.menu-links .logout::before { background: linear-gradient(180deg, #ff5a5a, #ff2d95); }
.menu-links .logout:hover {
    background: linear-gradient(90deg, rgba(255,68,68,0.06), rgba(255,68,68,0.18));
    color: #ff7a7a;
}

.menu-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    z-index: 9998; opacity: 0; visibility: hidden;
    transition: opacity .45s ease, visibility .45s ease;
}
.menu-overlay.active { opacity: 1; visibility: visible; }

@media (min-width: 641px) and (max-width: 1023px) {
    .side-menu { width: min(380px, 60vw); }
    .menu-links a { font-size: 16px; padding: 15px 22px; }
}
@media (min-width: 1024px) {
    .side-menu { width: 400px; }
    .menu-links a { font-size: 16.5px; padding: 16px 26px; }
    .menu-links a i { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
    .side-menu, .menu-links a, .menu-overlay, .close-menu, .menu-links a i {
        transition: none !important;
    }
    .side-menu.open .menu-links a { transition-delay: 0s !important; }
}

/* ===== PAGE SPECIFIC STYLES (از singers.php اصلی - بدون تغییر) ===== */
.page-header{
    padding:70px 20px 40px;text-align:center;
    border-bottom:6px solid var(--cyan);
    background:rgba(10,15,50,0.4);
    box-shadow:0 15px 50px rgba(0,255,255,0.2);
    position:relative;z-index:1;
}
.page-title{
    font-size:clamp(48px,8vw,72px);font-weight:900;
    background:linear-gradient(90deg,var(--cyan),#ff00ff,var(--cyan));
    background-size:300%;-webkit-background-clip:text;background-clip:text;color:transparent;
    text-shadow:0 0 60px rgba(0,255,255,0.5);
    animation:shine 12s linear infinite;
}
@keyframes shine{0%{background-position:0%}100%{background-position:300%}}
.container{padding:40px 20px 120px;max-width:1900px;margin:0 auto;}
.search-box{
    max-width:900px;margin:0 auto 50px;
    background:rgba(255,255,255,0.08);border-radius:50px;overflow:hidden;
    border:2px solid rgba(0,255,255,0.3);transition:all 0.4s;box-shadow:0 0 40px rgba(0,255,255,0.2);
}
.search-box:focus-within{border-color:var(--cyan);box-shadow:0 0 70px rgba(0,255,255,0.5);}
.search-box input{
    width:100%;padding:20px 28px;background:transparent;border:none;outline:none;
    font-size:21px;color:#fff;font-family:'Vazirmatn',sans-serif;
}
.search-box input::placeholder{color:rgba(255,255,255,0.5);}
.singers-grid{display:grid;gap:28px;padding:0 12px;margin-top:20px;}
.singer-card{
    border-radius:26px;overflow:hidden;
    border:2px solid rgba(0,255,255,0.15);box-shadow:0 16px 45px rgba(0,0,0,0.7);
    transition:all 0.35s ease;text-decoration:none;position:relative;display:flex;flex-direction:column;
    background:#111827;
}
.singer-cover{width:100%;height:270px;object-fit:cover;}
.item-glow{position:absolute;inset:0;background:radial-gradient(circle at center,rgba(0,255,255,0.28),transparent 65%);opacity:0;transition:0.4s;}
.singer-card:hover .item-glow{opacity:1;}
.singer-card:hover{border-color:var(--cyan);box-shadow:0 28px 80px rgba(0,255,255,0.38);}
.singer-info{
    flex-grow:1;display:flex;flex-direction:column;justify-content:center;
    padding:16px 14px;text-align:center;background:rgba(0,0,0,0.45);backdrop-filter:blur(8px);
    min-height:108px;
}
.singer-name{
    font-size:17px;font-weight:900;line-height:1.38;color:#fff;margin-bottom:6px;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.song-count{font-size:13.5px;color:#00ffffcc;line-height:1.35;}
.pagination{
    display:flex;justify-content:center;gap:16px;margin:90px 0 40px;flex-wrap:wrap;
}
.page-btn{
    min-width:58px;height:58px;padding:0 20px;border-radius:50px;
    background:rgba(0,255,255,0.18);color:#fff;
    display:flex;align-items:center;justify-content:center;
    font-size:20px;font-weight:900;text-decoration:none;
    transition:all 0.4s;box-shadow:0 0 40px rgba(0,255,255,0.3);
}
.page-btn:hover{
    background:var(--cyan);color:#000;
    box-shadow:0 0 80px rgba(0,255,255,0.9);
}
.page-btn.active{
    background:var(--cyan);color:#000;
    box-shadow:0 0 90px rgba(0,255,255,1);
}
.page-btn.disabled{opacity:0.35;cursor:not-allowed;}

/* بخش تبلیغ (از singers.php اصلی - بدون تغییر) */
.singers-grid .ad-section{ grid-column: 1 / -1; }
.ad-section {
    background: linear-gradient(135deg, rgba(8,6,22,0.98) 0%, rgba(12,10,30,0.96) 100%);
    border-top: 1px solid rgba(255,193,7,0.12);
    border-bottom: 1px solid rgba(255,193,7,0.12);
    border-radius: 16px;
    padding: clamp(8px, 1.5vw, 16px) clamp(8px, 2vw, 28px);
    position: relative;
    z-index: 1;
}
.ad-section-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(5px, 1vw, 8px);
}
.ad-top-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.ad-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,193,7,0.1);
    border: 1px solid rgba(255,193,7,0.4);
    color: #ffc107;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    user-select: none;
    -webkit-user-select: none;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.ad-label::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #ffc107;
    border-radius: 50%;
    animation: adPulse 2s ease-in-out infinite;
}
@keyframes adPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}
.ad-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,193,7,0.25), transparent);
}
.ad-img-wrapper {
    width: 28%;
}
.ad-banner-link {
    display: block;
    width: 100%;
    border-radius: clamp(8px, 1.2vw, 13px);
    overflow: hidden;
    border: 1.5px solid rgba(255,193,7,0.18);
    box-shadow: 0 5px 22px rgba(0,0,0,0.55);
    transition: box-shadow .35s ease, border-color .35s ease;
    text-decoration: none;
}
.ad-banner-link:hover {
    border-color: rgba(255,193,7,0.5);
    box-shadow: 0 8px 36px rgba(255,193,7,0.12), 0 5px 18px rgba(0,0,0,0.5);
}
.ad-banner-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
}
@media (max-width: 359px) {
    .ad-section { padding: 6px 6px; }
    .ad-img-wrapper { width: 60%; }
    .ad-label { font-size: 8px; padding: 2px 7px; }
}
@media (min-width: 360px) and (max-width: 479px) {
    .ad-section { padding: 7px 8px; }
    .ad-img-wrapper { width: 52%; }
    .ad-label { font-size: 9px; padding: 2px 8px; }
}
@media (min-width: 480px) and (max-width: 639px) {
    .ad-section { padding: 8px 10px; }
    .ad-img-wrapper { width: 44%; }
    .ad-label { font-size: 10px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
    .ad-section { padding: 9px 14px; }
    .ad-img-wrapper { width: 38%; }
}
@media (min-width: 1024px) and (max-width: 1399px) {
    .ad-section { padding: 10px 20px; }
    .ad-img-wrapper { width: 34%; }
}
@media (min-width: 1400px) {
    .ad-section { padding: 11px 28px; }
    .ad-img-wrapper { width: 30%; }
}

.no-results{
    text-align:center;padding:160px 20px;font-size:32px;color:#00ffff99;
    text-shadow:0 0 50px #00ffff;
}
.no-results i{font-size:100px;color:#333;margin-bottom:30px;display:block;}

/* RESPONSIVE (از singers.php اصلی - بدون تغییر) */
.singer-cover{height:clamp(110px,25vw,270px);}
.singer-info{min-height:clamp(70px,10vw,108px);padding:clamp(8px,1.5vw,16px) clamp(6px,1.2vw,14px);}
.singer-name{font-size:0.9rem;}
.song-count{font-size:0.78rem;}
.page-header{padding:clamp(50px,8vw,70px) clamp(14px,3vw,20px) clamp(28px,5vw,40px);}
.page-title{font-size:1.5rem;}
.container{padding:clamp(24px,4vw,40px) clamp(10px,2vw,20px) clamp(80px,12vw,120px);}
.page-btn{min-width:44px;height:44px;font-size:0.95rem;padding:0 14px;}
.pagination{gap:clamp(8px,1.5vw,16px);margin:clamp(50px,8vw,90px) 0 clamp(24px,4vw,40px);}
.no-results{font-size:1.1rem;}
.no-results i{font-size:3.5rem;}

@media(max-width:359px){
    .top-left-controls{left:10px;}.menu-trigger{right:10px;}
    .singers-grid{grid-template-columns:repeat(2,1fr);gap:8px;padding:0 6px;}
}
@media(min-width:360px) and (max-width:479px){
    .top-left-controls{left:12px;}.menu-trigger{right:12px;}
    .singers-grid{grid-template-columns:repeat(3,1fr);gap:10px;padding:0 8px;}
}
@media(min-width:480px) and (max-width:639px){
    .top-left-controls{left:14px;}.menu-trigger{right:14px;}
    .singers-grid{grid-template-columns:repeat(4,1fr);gap:12px;}
}
@media(min-width:640px) and (max-width:1023px){
    .top-left-controls{left:16px;}.menu-trigger{right:16px;}
    .singers-grid{grid-template-columns:repeat(5,1fr);gap:16px;}
}
@media(min-width:1024px) and (max-width:1399px){
    .top-left-controls{left:18px;}.menu-trigger{right:18px;}
    .singers-grid{grid-template-columns:repeat(6,1fr);gap:20px;}
}
@media(min-width:1400px){
    .top-left-controls{left:20px;}.menu-trigger{right:20px;}
    .singers-grid{grid-template-columns:repeat(7,1fr);gap:24px;}
}

/* ===== FOOTER (کپی دقیق از index.php) ===== */
footer {
    background: linear-gradient(180deg, #000 0%, #050810 100%);
    border-top: 2px solid rgba(0,255,255,0.18);
    color: #888;
    position: relative;
    z-index: 1;
    padding: clamp(40px, 6vw, 70px) clamp(16px, 4vw, 50px) clamp(24px, 4vw, 40px);
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: clamp(100px, 20vw, 200px);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    box-shadow: 0 0 20px rgba(0,255,255,0.6);
}
footer a:not(.footer-link-btn):not(.social-btn) {
    color: var(--cyan);
    font-weight: 700;
    text-decoration: none;
}
footer a:not(.footer-link-btn):not(.social-btn):hover {
    text-decoration: underline;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(20px, 3vw, 32px);
}

.footer-brand {
    text-align: center;
    margin-bottom: clamp(4px, 1vw, 8px);
}
.footer-brand-name {
    font-size: clamp(20px, 3.5vw, 32px);
    font-weight: 900;
    background: linear-gradient(90deg, var(--cyan), #c77dff, var(--cyan));
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: neonFlow 8s linear infinite;
    margin: 0;
    letter-spacing: 1px;
}
@keyframes neonFlow{0%{background-position:0%}100%{background-position:200%}}
.footer-brand-tagline {
    font-size: clamp(11px, 1.8vw, 14px);
    color: #aaa;
    margin-top: 6px;
    font-weight: 500;
}

.footer-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: clamp(4px, 1.2vw, 16px);
    width: 100%;
    padding: 0 clamp(2px, 1.5vw, 16px);
}
.footer-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(3px, 0.8vw, 8px);
    padding: clamp(7px, 1.4vw, 13px) clamp(6px, 1.5vw, 22px);
    background: rgba(199,125,255,0.10);
    border: 1.5px solid rgba(199,125,255,0.35);
    border-radius: 50px;
    color: #c77dff !important;
    font-size: clamp(9px, 1.5vw, 15px);
    font-weight: 700;
    text-decoration: none !important;
    transition: all .3s;
    white-space: nowrap;
    flex: 1 1 0;
    min-width: 0;
    max-width: 25%;
    min-height: clamp(34px, 5.5vw, 46px);
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
    text-overflow: ellipsis;
}
.footer-link-btn i {
    font-size: clamp(10px, 1.4vw, 15px);
    color: #c77dff !important;
    flex-shrink: 0;
}
.footer-link-btn:hover {
    background: linear-gradient(135deg,rgba(0,255,255,0.18),rgba(199,125,255,0.18));
    color: #fff !important;
    border-color: rgba(0,255,255,0.7);
    box-shadow: 0 0 28px rgba(0,255,255,0.35),0 0 14px rgba(199,125,255,0.25);
}
.footer-link-btn:hover i,
.footer-link-btn:hover * { color: #fff !important; }
.footer-link-btn:visited,
.footer-link-btn:visited:not(:hover) {
    background: rgba(199,125,255,0.10) !important;
    color: #c77dff !important;
    border-color: rgba(199,125,255,0.35) !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
.footer-link-btn:visited:hover {
    background: #c77dff !important;
    color: #fff !important;
    border-color: #c77dff !important;
    box-shadow: 0 0 30px rgba(199,125,255,0.5) !important;
}
.footer-link-btn:active,
.footer-link-btn:focus,
.footer-link-btn:focus:not(:focus-visible) {
    background: rgba(199,125,255,0.10) !important;
    color: #c77dff !important;
    border-color: rgba(199,125,255,0.35) !important;
    box-shadow: none !important;
    outline: none !important;
}

.footer-divider {
    width: 100%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,255,255,0.25), transparent);
    margin: clamp(4px, 1vw, 8px) 0;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(8px, 2vw, 16px);
    width: 100%;
    padding: 0 clamp(0px, 2vw, 16px);
}
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    background: rgba(0,255,255,0.07);
    border: 1.5px solid rgba(0,255,255,0.25);
    border-radius: 50%;
    color: var(--cyan) !important;
    text-decoration: none !important;
    transition: background .3s, border-color .3s, box-shadow .3s;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}
.social-icon {
    width: clamp(17px, 3.2vw, 22px);
    height: clamp(17px, 3.2vw, 22px);
    flex-shrink: 0;
    fill: currentColor;
}
.social-btn:hover {
    background: rgba(0,255,255,0.18);
    color: var(--cyan) !important;
    border-color: rgba(0,255,255,0.6);
    box-shadow: 0 0 18px rgba(0,255,255,0.3);
}
.social-btn:active, .social-btn:focus {
    background: rgba(0,255,255,0.07) !important;
    color: var(--cyan) !important;
    border-color: rgba(0,255,255,0.25) !important;
    box-shadow: none !important;
    outline: none !important;
}
.social-btn:visited { color: var(--cyan) !important; }
.social-icon-img {
    width: clamp(18px,4.5vw,28px);
    height: clamp(18px,4.5vw,28px);
    object-fit: contain; display: block;
    filter: drop-shadow(0 0 4px rgba(0,255,255,0.2));
}
.social-btn:hover .social-icon-img { filter: drop-shadow(0 0 8px rgba(0,255,255,0.5)); }

.footer-copy {
    color: #666;
    font-size: clamp(11px, 1.8vw, 14px);
    line-height: 1.7;
    text-align: center;
    padding: 0 clamp(8px, 3vw, 20px);
    margin-top: clamp(8px, 2vw, 16px);
    word-break: keep-all;
}
.footer-copy strong {
    color: #888;
}

@media (max-width: 360px) {
    footer { padding: 32px 6px 20px; }
    .footer-inner { gap: 14px; }
    .footer-brand-name { font-size: 17px; }
    .footer-brand-tagline { font-size: 10px; }
    .footer-links { gap: 3px; padding: 0 2px; flex-wrap: nowrap; }
    .footer-link-btn {
        padding: 6px 3px;
        font-size: 8.5px;
        gap: 2px;
        min-height: 32px;
        max-width: 25%;
    }
    .footer-link-btn i { font-size: 9px; }
    .footer-socials { gap: 6px; }
    .social-btn { width: 36px; height: 36px; }
    .social-icon { width: 15px; height: 15px; }
    .footer-copy { font-size: 10px; line-height: 1.6; }
}

@media (min-width: 361px) and (max-width: 480px) {
    footer { padding: 36px 8px 22px; }
    .footer-inner { gap: 16px; }
    .footer-brand-name { font-size: 20px; }
    .footer-links { gap: 4px; padding: 0 3px; flex-wrap: nowrap; }
    .footer-link-btn {
        padding: 7px 5px;
        font-size: 9.5px;
        gap: 3px;
        min-height: 34px;
        max-width: 25%;
    }
    .footer-link-btn i { font-size: 10px; }
    .footer-socials { gap: 8px; }
    .social-btn { width: 38px; height: 38px; }
    .social-icon { width: 16px; height: 16px; }
}

@media (min-width: 481px) and (max-width: 640px) {
    footer { padding: 42px 14px 26px; }
    .footer-inner { gap: 20px; }
    .footer-brand-name { font-size: 22px; }
    .footer-links { gap: 6px; flex-wrap: nowrap; }
    .footer-link-btn {
        padding: 8px 10px;
        font-size: 11px;
        min-height: 38px;
        max-width: 25%;
    }
    .footer-socials { gap: 10px; }
    .social-btn { width: 41px; height: 41px; }
    .social-icon { width: 18px; height: 18px; }
}

@media (min-width: 641px) and (max-width: 900px) {
    footer { padding: 50px 24px 32px; }
    .footer-inner { gap: 26px; }
    .footer-brand-name { font-size: 27px; }
    .footer-links { gap: 10px; flex-wrap: nowrap; }
    .footer-link-btn {
        padding: 11px 20px;
        font-size: 13px;
        min-height: 42px;
        max-width: 25%;
    }
    .footer-socials { gap: 13px; }
    .social-btn { width: 46px; height: 46px; }
    .social-icon { width: 21px; height: 21px; }
}

@media (min-width: 901px) {
    footer { padding: 60px 40px 36px; }
    .footer-inner { gap: 30px; }
    .footer-brand-name { font-size: 30px; }
    .footer-links { gap: 14px; flex-wrap: nowrap; }
    .footer-link-btn {
        padding: 12px 26px;
        font-size: 15px;
        min-height: 44px;
        max-width: 25%;
    }
    .footer-socials { gap: 14px; }
    .social-btn { width: 48px; height: 48px; }
    .social-icon { width: 22px; height: 22px; }
}

@media (min-width: 1400px) {
    footer { padding: 70px 50px 40px; }
    .footer-brand-name { font-size: 32px; }
    .footer-link-btn {
        padding: 13px 28px;
        font-size: 15px;
        min-height: 46px;
        max-width: 25%;
    }
    .social-btn { width: 50px; height: 50px; }
    .social-icon { width: 23px; height: 23px; }
}

/* Progressive Loading Spinner (از singers.php اصلی - بدون تغییر) */
.pload-hidden{opacity:0;pointer-events:none;}
.load-more-spinner{
    grid-column:1/-1;display:flex;flex-direction:column;align-items:center;
    justify-content:center;padding:40px 20px;gap:16px;
}
.load-more-spinner.hidden{display:none;}
.spinner-ring{
    width:48px;height:48px;border:4px solid rgba(0,255,255,0.15);
    border-top-color:var(--cyan);border-radius:50%;
    animation:spin 0.9s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}
.spinner-text{font-size:14px;color:#00ffffaa;}


/* آواتار پیش‌فرض منو (بدون عکس کاربر) */
.user-avatar-fallback {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,255,255,.18), rgba(199,125,255,.22));
    border: 2px solid rgba(0,255,255,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ffff;
    font-size: 1.15rem;
    flex-shrink: 0;
}
img.user-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0,255,255,.3);
    flex-shrink: 0;
    background: #0a0e17;
}

/* menu z-index unify */
.search-trigger, .menu-trigger { z-index: 10050 !important; }
.side-menu { z-index: 10060 !important; }
.menu-overlay { z-index: 10055 !important; }


/* ═══════════════════════════════════════════════
   singers-responsive-v2
   ═══════════════════════════════════════════════ */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-gutter: stable;
}
body {
  font-size: 16px !important;
  line-height: 1.65;
}
.menu-trigger, .search-trigger { font-size: 22px !important; }
.menu-links a { font-size: 15px !important; }
.menu-links a i { font-size: 17px !important; }
.username { font-size: 16px !important; }
.mobile { font-size: 13px !important; }

.page-title, .singers-page-title, h1 {
  font-size: 1.35rem !important;
  line-height: 1.4;
}
.singer-card-name, .singer-name, .item-title {
  font-size: 0.88rem !important;
  line-height: 1.35;
}

.singers-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  padding: 0 12px !important;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}
.singers-grid .item-card,
.singers-grid .singer-card {
  width: 100% !important;
  min-width: 0;
  flex: none !important;
}
.singers-grid img,
.singers-grid .item-cover,
.singers-grid .singer-photo {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 359.98px) {
  .singers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 0 8px !important;
  }
  .page-title, h1 { font-size: 1.15rem !important; }
  .singer-card-name, .singer-name { font-size: 0.8rem !important; }
}
@media (min-width: 360px) and (max-width: 575.98px) {
  .singers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .singers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .singers-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    padding: 0 16px !important;
  }
  .page-title, h1 { font-size: 1.45rem !important; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .singers-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }
}
@media (min-width: 1200px) {
  .singers-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 20px !important;
    padding: 0 24px !important;
  }
  .page-title, h1 { font-size: 1.5rem !important; }
}

.item-card:hover, .singer-card:hover { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}


/* ═══════════════════════════════════════════════
   singers-font-stable-v3 — فونت و سایز متن پایدار
   ═══════════════════════════════════════════════ */
body {
  font-size: 16px !important;
  line-height: 1.65 !important;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

/* کروم ثابت — بدون وابستگی به عرض ویوپورت */
.menu-trigger,
.search-trigger {
  font-size: 22px !important;
}
.menu-links a {
  font-size: 15px !important;
  line-height: 1.4 !important;
}
.menu-links a i {
  font-size: 17px !important;
}
.username {
  font-size: 16px !important;
}
.mobile {
  font-size: 13px !important;
}

/* عنوان صفحه */
.page-title {
  font-size: 1.35rem !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}

/* کارت خواننده */
.singer-name {
  font-size: 0.9rem !important;
  line-height: 1.35 !important;
  -webkit-line-clamp: 2;
}
.song-count {
  font-size: 0.78rem !important;
  line-height: 1.3 !important;
}

/* صفحه‌بندی */
.page-btn {
  font-size: 0.95rem !important;
}
.pagination {
  font-size: 0.95rem !important;
}

/* فوتر */
.footer-copy {
  font-size: 0.8rem !important;
  line-height: 1.7 !important;
}
.footer-link-btn,
.footer-brand-name {
  font-size: 0.9rem !important;
}
.footer-brand-tagline {
  font-size: 0.8rem !important;
}

/* خالی بودن نتایج */
.no-results {
  font-size: 1.05rem !important;
}
.no-results i {
  font-size: 3rem !important;
}

/* گام‌های ریسپانسیو فقط برای عنوان و کارت */
@media (max-width: 359.98px) {
  .page-title { font-size: 1.15rem !important; }
  .singer-name { font-size: 0.8rem !important; }
  .song-count { font-size: 0.7rem !important; }
}
@media (min-width: 576px) {
  .page-title { font-size: 1.45rem !important; }
  .singer-name { font-size: 0.92rem !important; }
}
@media (min-width: 992px) {
  .page-title { font-size: 1.55rem !important; }
  .singer-name { font-size: 0.95rem !important; }
  .menu-links a { font-size: 16px !important; }
}


/* بدون پرش/زوم هنگام هاور روی دکمه‌ها و لینک‌های عملیاتی */
a.button:hover, button:hover, .btn:hover, .btn-buy:hover, .btn-outline:hover,
.guest-btn:hover, .success-btn:hover, .back-btn:hover, .footer-link-btn:hover,
.login-prompt-btn:hover, .artist-cta-btn:hover, .new-ticket-btn:hover,
button[type="submit"]:hover, .filter-btn:hover, .nav-chip:hover {
    transform: none !important;
}


/* باقی‌مانده اشتراک در منوی کناری */
.menu-sub-remain {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #34d399;
    line-height: 1.4;
    text-shadow: 0 0 12px rgba(52, 211, 153, 0.35);
}
.user-details .mobile {
    line-height: 1.45;
}
