/* ============================================================
   🎨 THEME: DARK BLUE - CYBER MUSIC
   رنگ‌بندی: مشکی-آبی با هایلایت‌های آبی برقی
   ============================================================ */

:root {
    --bg-body: #07070e;
    --bg-card: rgba(13, 27, 42, 0.85);
    --bg-glass: rgba(27, 58, 92, 0.15);
    --bg-dark-header: rgba(7, 7, 14, 0.92);
    --primary: #00b4d8;
    --primary-dark: #0077b6;
    --primary-light: #4fc3f7;
    --secondary: #48cae4;
    --accent: #90e0ef;
    --text-main: #e8f0f8;
    --text-secondary: #90b0c8;
    --text-muted: #4a6a8a;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    --radius: 20px;
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --glass-border: rgba(0, 180, 216, 0.12);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-body);
    background-image:
        radial-gradient(ellipse at 10% 30%, rgba(0, 180, 216, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 70%, rgba(0, 119, 182, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(72, 202, 228, 0.03) 0%, transparent 40%);
    color: var(--text-main);
    min-height: 100vh;
    padding-top: 80px;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* ---- ANIMATED PARTICLES BACKGROUND ---- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(0, 180, 216, 0.15), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(72, 202, 228, 0.1), transparent),
        radial-gradient(2px 2px at 60% 20%, rgba(0, 180, 216, 0.12), transparent),
        radial-gradient(2px 2px at 80% 80%, rgba(144, 224, 239, 0.08), transparent),
        radial-gradient(2px 2px at 10% 90%, rgba(0, 119, 182, 0.1), transparent),
        radial-gradient(2px 2px at 90% 10%, rgba(72, 202, 228, 0.08), transparent),
        radial-gradient(3px 3px at 50% 50%, rgba(0, 180, 216, 0.06), transparent);
    animation: particleDrift 20s ease-in-out infinite alternate;
}

@keyframes particleDrift {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-2%, 1%) scale(1.02); }
    50% { transform: translate(1%, -2%) scale(0.98); }
    75% { transform: translate(-1%, 2%) scale(1.01); }
    100% { transform: translate(2%, -1%) scale(1.02); }
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-dark), var(--primary));
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ============================================================
   UTILITY
   ============================================================ */
.mf_rw {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.mf_fx {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* ============================================================
   HEADER - GLASS CYBER
   ============================================================ */
.mf_hds {
    position: fixed;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 94%;
    max-width: 1260px;
    padding: 6px 12px;
    border-radius: 50px;
    background: var(--bg-dark-header);
    backdrop-filter: blur(28px) saturate(1.3);
    -webkit-backdrop-filter: blur(28px) saturate(1.3);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(0, 180, 216, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    animation: headerEntrance 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes headerEntrance {
    0% { opacity: 0; transform: translateX(-50%) translateY(-40px) scale(0.95); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

.mf_hds::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent, var(--primary-dark), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.3;
    animation: borderFlow 4s linear infinite;
}

@keyframes borderFlow {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.mf_hds:hover {
    border-color: rgba(0, 180, 216, 0.25);
    box-shadow: 0 8px 50px rgba(0, 180, 216, 0.08);
}

/* ---- Logo ---- */
.musicfa {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 20px 4px 14px;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 40px rgba(0, 180, 216, 0.15);
    animation: logoPulse 3s ease-in-out infinite alternate;
}

@keyframes logoPulse {
    0% { box-shadow: 0 0 30px rgba(0, 180, 216, 0.1); }
    100% { box-shadow: 0 0 60px rgba(0, 180, 216, 0.25); }
}

.musicfa::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: translateX(-100%);
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.musicfa a {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.musicfa a::after {
    content: '♬';
    margin-right: 8px;
    color: var(--accent);
    animation: noteBounce 2.5s ease-in-out infinite;
}

@keyframes noteBounce {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    30% { transform: translateY(-6px) rotate(-8deg) scale(1.1); }
    70% { transform: translateY(-2px) rotate(5deg) scale(1.05); }
}

/* ---- Navigation ---- */
.mf_hds nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
    padding: 0 8px;
}

.mf_hds nav ul {
    display: flex;
    gap: 2px;
}

.mf_hds nav ul li {
    opacity: 0;
    animation: navItemIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.mf_hds nav ul li:nth-child(1) { animation-delay: 0.08s; }
.mf_hds nav ul li:nth-child(2) { animation-delay: 0.14s; }
.mf_hds nav ul li:nth-child(3) { animation-delay: 0.20s; }
.mf_hds nav ul li:nth-child(4) { animation-delay: 0.26s; }
.mf_hds nav ul li:nth-child(5) { animation-delay: 0.32s; }

@keyframes navItemIn {
    0% { opacity: 0; transform: translateY(-20px) scale(0.9) rotateX(15deg); }
    100% { opacity: 1; transform: translateY(0) scale(1) rotateX(0); }
}

.mf_hds nav ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.mf_hds nav ul li a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.08), rgba(0, 119, 182, 0.04));
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.mf_hds nav ul li a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.mf_hds nav ul li a:hover {
    color: #fff;
    transform: translateY(-2px) scale(1.02);
}

.mf_hds nav ul li a span {
    font-size: 13px;
    position: relative;
    z-index: 1;
}

.mf_hds nav ul li a strong {
    font-size: 9px;
    font-weight: 400;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 1px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.mf_hds nav ul li a:hover strong {
    color: var(--primary-light);
}

.mf_hds nav ul li a.active {
    color: #fff;
    background: rgba(0, 180, 216, 0.08);
}

/* ---- Search ---- */
.mf_srch button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px 6px 14px;
    border-radius: 30px;
    background: rgba(0, 180, 216, 0.04);
    border: 1px solid rgba(0, 180, 216, 0.08);
    color: var(--text-secondary);
    font-size: 13px;
    transition: var(--transition);
    cursor: pointer;
    flex-shrink: 0;
    animation: searchPulse 3s ease-in-out infinite;
}

@keyframes searchPulse {
    0%, 100% { border-color: rgba(0, 180, 216, 0.08); }
    50% { border-color: rgba(0, 180, 216, 0.2); }
}

.mf_srch button:hover {
    background: rgba(0, 180, 216, 0.08);
    border-color: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

.mf_srch button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ============================================================
   TOP NOTICE
   ============================================================ */
.mf_hud {
    display: flex;
    margin: 0 0 28px;
    padding: 8px 22px;
    border-radius: 50px;
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    opacity: 0;
    animation: slideUpFade 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(30px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.mf_hud a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 16px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.mf_hud a:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 180, 216, 0.25);
}

.mf_hud a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.mf_hud div {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.mf_hud div span {
    color: var(--text-secondary);
    font-size: 13px;
}

.mf_hud div span a {
    background: transparent;
    padding: 0;
    color: var(--primary);
    font-weight: 400;
    box-shadow: none;
}

.mf_hud div span a:hover {
    color: var(--primary-light);
    transform: none;
}

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.mf_srfx {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(7, 7, 14, 0.94);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.mf_srfx.open {
    opacity: 1;
    visibility: visible;
}

.mf_srfxc {
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
    transform: scale(0.9) translateY(40px);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.mf_srfx.open .mf_srfxc {
    transform: scale(1) translateY(0);
}

.mf_srfxc form {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 60px;
    border: 1px solid rgba(0, 180, 216, 0.08);
    overflow: hidden;
    transition: var(--transition);
}

.mf_srfxc form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 60px rgba(0, 180, 216, 0.06);
}

.mf_srfxc input {
    flex: 1;
    padding: 16px 24px;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 18px;
}

.mf_srfxc input::placeholder {
    color: var(--text-muted);
    font-weight: 300;
}

.mf_srfxc button {
    padding: 12px 24px;
    margin: 6px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mf_srfxc button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 40px rgba(0, 180, 216, 0.2);
}

.mf_srfxc button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.mf_srfxc span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    border-radius: 50%;
}

.mf_srfxc span:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    transform: rotate(90deg) scale(1.1);
}

/* ============================================================
   VIP SLIDER - 3D CARD ENTRANCE
   ============================================================ */
.mf_vps {
    margin: 0 0 28px;
}

.mf_vps ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.mf_vps li {
    perspective: 800px;
    opacity: 0;
    animation: card3DIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.mf_vps li:nth-child(1) { animation-delay: 0.05s; }
.mf_vps li:nth-child(2) { animation-delay: 0.10s; }
.mf_vps li:nth-child(3) { animation-delay: 0.15s; }
.mf_vps li:nth-child(4) { animation-delay: 0.20s; }
.mf_vps li:nth-child(5) { animation-delay: 0.25s; }
.mf_vps li:nth-child(6) { animation-delay: 0.30s; }
.mf_vps li:nth-child(7) { animation-delay: 0.35s; }
.mf_vps li:nth-child(8) { animation-delay: 0.40s; }

@keyframes card3DIn {
    0% { opacity: 0; transform: rotateY(30deg) rotateX(10deg) scale(0.9) translateZ(-50px); }
    100% { opacity: 1; transform: rotateY(0) rotateX(0) scale(1) translateZ(0); }
}

.mf_vps li a {
    display: block;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    transform-style: preserve-3d;
    padding-bottom: 56px;
}

.mf_vps li a:hover {
    transform: translateY(-8px) rotateX(3deg) rotateY(-4deg) scale(1.02);
    border-color: rgba(0, 180, 216, 0.2);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.mf_vps li img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: var(--transition);
}

.mf_vps li a:hover img {
    transform: scale(1.06);
}

.mf_vps li a i {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    font-style: normal;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.2);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.mf_vps li span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 8px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent);
    color: #fff;
    font-size: 13px;
    text-align: center;
    font-weight: 500;
}

/* ============================================================
   MAIN LAYOUT
   ============================================================ */
.mf_home {
    display: grid;
    grid-template-columns: 1fr 280px 300px;
    gap: 28px;
    margin: 0 0 40px;
}

.mf_cntrf {
    grid-column: 1;
}
.mf_sdr {
    grid-column: 2;
}
.mf_sdl {
    grid-column: 3;
}

/* ============================================================
   HEADING
   ============================================================ */
.mf_hdng {
    padding: 28px 30px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    margin: 0 0 22px;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: scaleIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.2s forwards;
}

@keyframes scaleIn {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

.mf_hdng::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(0, 180, 216, 0.04), transparent 60%);
    animation: bgOrbit 12s ease-in-out infinite alternate;
}

@keyframes bgOrbit {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(5%, 5%) rotate(5deg) scale(1.1); }
    100% { transform: translate(-5%, -5%) rotate(-5deg) scale(0.9); }
}

.mf_hdng h1 {
    font-size: 34px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    animation: textShimmer 3s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.mf_hdng p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 6px;
    position: relative;
    z-index: 1;
}

/* ============================================================
   POSTS - STAGGERED ENTRANCE
   ============================================================ */
.mf_pst {
    margin: 0 0 18px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    animation: postIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.mf_pst:nth-child(1) { animation-delay: 0.05s; }
.mf_pst:nth-child(2) { animation-delay: 0.10s; }
.mf_pst:nth-child(3) { animation-delay: 0.15s; }
.mf_pst:nth-child(4) { animation-delay: 0.20s; }
.mf_pst:nth-child(5) { animation-delay: 0.25s; }
.mf_pst:nth-child(6) { animation-delay: 0.30s; }
.mf_pst:nth-child(7) { animation-delay: 0.35s; }
.mf_pst:nth-child(8) { animation-delay: 0.40s; }

@keyframes postIn {
    0% { opacity: 0; transform: translateY(40px) scale(0.98) rotateX(5deg); }
    100% { opacity: 1; transform: translateY(0) scale(1) rotateX(0); }
}

.mf_pst:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 180, 216, 0.15);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.mf_pst header {
    display: flex;
    padding: 14px 20px;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.mf_pst header h2 {
    flex: 1;
    min-width: 180px;
}

.mf_pst header h2 a {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
    display: inline-block;
    background: linear-gradient(135deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mf_pst header h2 a:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(-4px);
}

.mf_pst header div {
    display: flex;
    gap: 6px;
}

.mf_pst header div span {
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 11px;
    background: rgba(0, 180, 216, 0.06);
    color: var(--text-secondary);
    border: 1px solid rgba(0, 180, 216, 0.04);
}

.mf_pst > div {
    padding: 0 20px 18px;
}

.mf_pst > div p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 3px;
}

.mf_pst > div p strong {
    color: #fff;
}

/* ---- Download Box ---- */
.mf_dpbx {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(0, 180, 216, 0.02);
    border: 1px solid rgba(0, 180, 216, 0.04);
    flex-wrap: wrap;
    transition: var(--transition);
}

.mf_dpbx:hover {
    border-color: rgba(0, 180, 216, 0.08);
}

.mf_dpbx > a {
    flex-shrink: 0;
}

.mf_dpbx > a img {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid rgba(0, 180, 216, 0.08);
    transition: var(--transition);
}

.mf_dpbx > a img:hover {
    transform: scale(1.08) rotate(-3deg);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 180, 216, 0.1);
}

.mf_dpbx > span {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}

.mf_dpbx > span strong {
    width: 100%;
}

.mf_dpbx > span strong a {
    display: inline-block;
    padding: 3px 14px;
    border-radius: 20px;
    background: rgba(0, 180, 216, 0.08);
    color: var(--primary);
    font-size: 12px;
    transition: var(--transition);
}

.mf_dpbx > span strong a:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

.mf_dpbx > span .play,
.mf_dpbx > span b,
.ma_mdlc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.mf_dpbx > span .play {
    background: rgba(0, 180, 216, 0.08);
    color: var(--primary);
}

.mf_dpbx > span .play:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

.mf_dpbx > span .play:before {
    content: '▶';
    font-size: 11px;
}

.mf_pst.playing .mf_dpbx > span .play:before {
    content: '⏸';
}

.mf_pst.playing .mf_dpbx > span .play {
    background: var(--secondary);
    color: #000;
    animation: glowPlay 1.5s ease-in-out infinite alternate;
}

@keyframes glowPlay {
    0% { box-shadow: 0 0 20px rgba(72, 202, 228, 0.1); }
    100% { box-shadow: 0 0 40px rgba(72, 202, 228, 0.3); }
}

.mf_dpbx > span b,
.ma_mdlc {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}

.mf_dpbx > span b:hover,
.ma_mdlc:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 180, 216, 0.2);
}

.mf_dpbx > span b:before,
.ma_mdlc:before {
    content: '⬇';
    font-size: 13px;
}

.mf_dpbx > span > i {
    font-style: normal;
    color: var(--text-muted);
    font-size: 13px;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.mf_pgnv {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 18px 0;
}

.mf_pgnv a,
.mf_pgnv span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 14px;
}

.mf_pgnv a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(0, 180, 216, 0.1);
}

.mf_pgnv .current {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-color: transparent;
}

.mf_pgnv .next,
.mf_pgnv .prev {
    background: transparent;
    border: none;
}

.mf_pgnv .dots {
    background: transparent;
    border: none;
}

.mf_nxpr {
    display: none;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.mf_sdr section {
    margin: 0 0 18px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    opacity: 0;
    animation: slideRightIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.15s forwards;
}

.mf_sdr .mf_maddah {
    animation-delay: 0.20s;
}

@keyframes slideRightIn {
    0% { opacity: 0; transform: translateX(-30px) scale(0.97); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

.mf_sdr section header {
    padding: 14px 18px 10px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mf_sdr section header i svg {
    width: 26px;
    height: 26px;
    fill: var(--primary);
}

.mf_sdr section header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.mf_sdr section header strong {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
    display: block;
}

.mf_sdr ul {
    padding: 10px 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.mf_sdr ul li {
    width: calc(50% - 2px);
}

.mf_sdr ul li a {
    display: block;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.mf_sdr ul li a:hover {
    background: rgba(0, 180, 216, 0.06);
    color: #fff;
    transform: translateX(-4px);
}

.mf_sdr ul li a h3 {
    font-weight: 400;
    font-size: 13px;
}

/* ============================================================
   RIGHT SIDEBAR
   ============================================================ */
.mf_sdl section {
    margin: 0 0 18px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    opacity: 0;
    animation: slideLeftIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.20s forwards;
}

@keyframes slideLeftIn {
    0% { opacity: 0; transform: translateX(30px) scale(0.97); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

.mf_sdl section header {
    padding: 14px 18px 10px;
    border-bottom: 1px solid var(--glass-border);
}

.mf_sdl section header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.mf_sdl ul {
    padding: 6px 12px;
}

.mf_sdl ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    transition: var(--transition);
}

.mf_sdl ul li:last-child {
    border-bottom: none;
}

.mf_sdl ul li a {
    display: block;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.mf_sdl ul li a:hover {
    background: rgba(0, 180, 216, 0.04);
    color: #fff;
    padding-right: 16px;
}

/* ============================================================
   BKLNK
   ============================================================ */
.bklnk {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 0 18px;
}

.bklnk a {
    padding: 14px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    animation: scaleIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
}

.bklnk a:nth-child(2) { animation-delay: 0.35s; }

.bklnk a:hover {
    border-color: rgba(0, 180, 216, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.bklnk a h3 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.bklnk a span {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.mf_sftr {
    margin-top: 40px;
    padding: 36px 0 18px;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.4s forwards;
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.mf_sftr .mf_rw {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.mf_sftrc {
    color: var(--text-secondary);
    font-size: 14px;
}

.mf_sftrc a {
    color: var(--primary);
}

.mf_sftrc a:hover {
    color: var(--primary-light);
}

.mf_sftrl {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.mf_sftrl a {
    padding: 5px 16px;
    border-radius: 30px;
    background: rgba(0, 180, 216, 0.04);
    font-size: 13px;
    color: var(--text-secondary);
    border: 1px solid transparent;
    transition: var(--transition);
}

.mf_sftrl a:hover {
    background: rgba(0, 180, 216, 0.06);
    color: #fff;
    border-color: rgba(0, 180, 216, 0.08);
}

.mf_sftrs {
    display: flex;
    gap: 14px;
}

.mf_sftrs span {
    font-size: 13px;
    color: var(--text-muted);
}

.mf_sftrs span i {
    font-style: normal;
    color: var(--primary);
}

.mf_up {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 22px;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.1);
}

.mf_up:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 180, 216, 0.2);
}

.mf_up::before {
    content: '↑';
    font-size: 18px;
}

/* ============================================================
   PLAYER - GLASS CYBER
   ============================================================ */
.player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: none;
    padding: 8px 20px;
    background: rgba(7, 7, 14, 0.9);
    backdrop-filter: blur(28px) saturate(1.3);
    -webkit-backdrop-filter: blur(28px) saturate(1.3);
    border-top: 1px solid var(--glass-border);
}

@media (max-width: 768px) {
    .player {
        bottom: 60px !important;
    }
}

.player audio {
    display: none;
}

.player .mf_rw {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.player .seekbar {
    flex: 1;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    position: relative;
    min-width: 100px;
    transition: var(--transition);
}

.player .seekbar:hover {
    height: 6px;
}

.player .seekbar .move {
    height: 100%;
    width: 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--secondary));
    transition: width 0.1s linear;
}

.player .infos {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.player .infos figure img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--glass-border);
}

.player .infos .title h5 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.player .infos .title h6 {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.player .controls {
    display: flex;
    align-items: center;
    gap: 2px;
}

.player .controls .ico {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.player .controls .ico:hover {
    background: rgba(0, 180, 216, 0.06);
    transform: scale(1.1);
}

.player .controls .play {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.1);
}

.player .controls .play:hover {
    box-shadow: 0 4px 30px rgba(0, 180, 216, 0.2);
    transform: scale(1.12);
}

.player .controls .play.pause {
    background: var(--secondary);
}

.player .controls .play::before {
    content: '▶';
    font-size: 13px;
    color: #fff;
}

.player .controls .play.pause::before {
    content: '⏸';
}

.player .controls .backward::before { content: '⏪'; font-size: 13px; color: var(--text-secondary); }
.player .controls .forward::before { content: '⏩'; font-size: 13px; color: var(--text-secondary); }
.player .controls .back::before { content: '⏮'; font-size: 13px; color: var(--text-secondary); }
.player .controls .next::before { content: '⏭'; font-size: 13px; color: var(--text-secondary); }
.player .controls .repeat::before { content: '🔁'; font-size: 13px; color: var(--text-secondary); }
.player .controls .repeat.active::before { color: var(--primary); }
.player .controls .volume::before { content: '🔊'; font-size: 13px; color: var(--text-secondary); }

.player .controls .volume_seek {
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    position: relative;
}

.player .controls .volume_seek .move {
    height: 100%;
    border-radius: 4px;
    background: var(--primary);
}

.player .time_box {
    display: flex;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    direction: ltr;
    flex-shrink: 0;
}

.player .mf_cls {
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 18px;
    background: none;
    border: none;
}

.player .mf_cls:hover {
    color: #fff;
    transform: rotate(90deg) scale(1.1);
}

/* ============================================================
   MODAL
   ============================================================ */
.mf_ibdl {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.mf_ibdl.open {
    opacity: 1;
    visibility: visible;
}

.mf_ibdlc {
    width: 100%;
    max-width: 440px;
    padding: 28px 32px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    transform: scale(0.9) translateY(20px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.mf_ibdl.open .mf_ibdlc {
    transform: scale(1) translateY(0);
}

.mf_ibdlt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.mf_ibdlt h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.mf_ibdlt h3 span {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 14px;
}

.mf_ibdlt i {
    cursor: pointer;
    font-size: 24px;
    color: var(--text-muted);
    transition: var(--transition);
}

.mf_ibdlt i:hover {
    color: #fff;
    transform: rotate(90deg) scale(1.1);
}

.mf_ibdlc .mf_fx {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mf_ibdlc .mf_fx a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 14px;
    background: rgba(0, 180, 216, 0.04);
    color: #fff;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(0, 180, 216, 0.04);
}

.mf_ibdlc .mf_fx a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 180, 216, 0.1);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .mf_home {
        grid-template-columns: 1fr 260px;
    }
    .mf_sdl {
        grid-column: span 2;
    }
}

@media (max-width: 820px) {
    body {
        padding-top: 70px;
    }

    .mf_hds {
        top: 10px;
        border-radius: 40px;
        padding: 4px 10px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .mf_hds nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .mf_hds nav ul li a {
        padding: 4px 12px;
        font-size: 12px;
    }

    .mf_hds nav ul li a strong {
        display: none;
    }

    .mf_home {
        grid-template-columns: 1fr;
    }
    .mf_sdr,
    .mf_sdl {
        grid-column: auto;
    }

    .mf_hud {
        flex-direction: column;
        text-align: center;
        padding: 12px 18px;
    }

    .mf_hud div {
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .mf_hds {
        top: 6px;
        border-radius: 30px;
        padding: 4px 8px;
    }

    .musicfa a {
        font-size: 16px;
    }
    .musicfa a::after {
        display: none;
    }

    .mf_hds nav ul li a {
        padding: 3px 8px;
        font-size: 11px;
    }

    .mf_srch button {
        padding: 4px 10px;
        font-size: 12px;
    }
    .mf_srch button span {
        display: none;
    }

    .mf_hdng h1 {
        font-size: 24px;
    }

    .mf_pst header {
        flex-direction: column;
        align-items: flex-start;
    }
    .mf_pst header div {
        flex-wrap: wrap;
    }

    .mf_dpbx {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .mf_dpbx > a {
        align-self: center;
    }
    .mf_dpbx > span {
        justify-content: center;
    }

    .mf_vps ul {
        grid-template-columns: repeat(3, 1fr);
    }

    .mf_sftr .mf_rw {
        flex-direction: column;
        text-align: center;
    }
    .mf_sftrl {
        flex-direction: column;
        align-items: center;
    }

    .player .mf_rw {
        flex-direction: column;
        gap: 6px;
    }
    .player .infos {
        width: 100%;
    }
    .player .controls {
        flex-wrap: wrap;
        justify-content: center;
    }
    .player .time_box {
        font-size: 12px;
    }
    .player .seekbar {
        width: 100%;
        order: -1;
    }
    .player .controls .volume_seek {
        width: 40px;
    }
}

@media (max-width: 400px) {
    .mf_vps ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .mf_ibdlc {
        padding: 18px 20px;
        margin: 0 12px;
    }

    .mf_pst header h2 a {
        font-size: 15px;
    }

    .mf_sdr ul li {
        width: 100%;
    }
}

/* ============================================================
   GLOW ANIMATION FOR PLAYING POST
   ============================================================ */
@keyframes playingGlow {
    0%, 100% { border-color: rgba(0, 180, 216, 0.1); box-shadow: 0 0 20px rgba(0, 180, 216, 0.02); }
    50% { border-color: rgba(0, 180, 216, 0.2); box-shadow: 0 0 40px rgba(0, 180, 216, 0.06); }
}

.mf_pst.playing {
    border-color: var(--primary);
    animation: playingGlow 2s ease-in-out infinite;
}

.mf_pst.playing header h2 a {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   SKELETON LOADING (optional)
   ============================================================ */
.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.01) 25%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.01) 75%);
    background-size: 200% 100%;
    animation: skeleton 1.8s ease-in-out infinite;
    border-radius: 12px;
}

@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================================
   MISC
   ============================================================ */
.mf_svg {
    display: none;
}

.mf_rltd {
    display: none;
}

.mf_404,
.mf_cm {
    display: none;
}

.ma_sngs video {
    display: none;
}

.mso_ykn {
    display: none;
}

.mso_bc {
    display: none;
}

/* ---- Smooth entrance for all elements ---- */
.mf_hdng,
.mf_pst,
.mf_sdr section,
.mf_sdl section,
.bklnk a,
.mf_vps li {
    will-change: transform, opacity;
}