/* ============================================
   استایل‌های بخش ویژه (VIP) - شیشه‌ای مدرن
   ============================================ */

/* --- بخش اصلی --- */
.vip-section-modern {
    margin: 30px 0 40px;
    padding: 0 4px;
}

/* --- هدر بخش --- */
.vip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 4px;
}

.vip-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'bakhb', sans-serif;
    margin: 0;
}

/* --- گرید --- */
.vip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* --- کارت شیشه‌ای VIP --- */
.vip-card-glass {
    display: block;
    text-decoration: none;
    padding: 4px;
    height: 100%;
}

.vip-card-inner {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(26, 26, 46, 0.3);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    aspect-ratio: 1/1;
}

/* ===== افکت‌های هاور ===== */
.vip-card-glass:hover .vip-card-inner {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 150, 255, 0.25);
    box-shadow: 0 16px 48px rgba(0, 100, 255, 0.12);
    background: rgba(20, 30, 58, 0.5);
}

/* --- تصویر --- */
.vip-card-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.vip-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.vip-card-glass:hover .vip-card-img {
    transform: scale(1.08);
}

/* --- اوورلی شیشه‌ای (مخفی در حالت عادی) --- */
.vip-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(15, 15, 26, 0.1) 0%,
        rgba(15, 15, 26, 0.5) 50%,
        rgba(15, 15, 26, 0.85) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 2;
}

.vip-card-glass:hover .vip-card-overlay {
    opacity: 1;
}

/* --- دکمه پلی (با رنگ آبی) --- */
.vip-card-play {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0088ff, #0055cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 100, 255, 0.35);
    transform: scale(0.7) rotate(-15deg);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vip-card-glass:hover .vip-card-play {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 12px 48px rgba(0, 100, 255, 0.5);
}

.vip-card-play i {
    color: #ffffff;
    font-size: 1.4rem;
    margin-right: 4px;
}

/* ============================================
   باکس اطلاعات (مخفی در حالت عادی)
   ============================================ */
.vip-card-info {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 12px 14px 14px;
    background: rgba(15, 15, 26, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    border: 1px solid rgba(0, 150, 255, 0.08);
    text-align: center;
    z-index: 3;
    
    /* ===== مخفی در حالت عادی ===== */
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== نمایش با هاور ===== */
.vip-card-glass:hover .vip-card-info {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* --- عنوان آهنگ (رنگ آبی در هاور) --- */
.vip-card-title {
    display: block;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'bakhb', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.vip-card-glass:hover .vip-card-title {
    color: #4da6ff; /* ← رنگ آبی در هاور */
}

/* --- نام هنرمند (رنگ آبی در هاور) --- */
.vip-card-artist {
    display: block;
    color: #88bbff;
    font-size: 0.65rem;
    font-family: 'bakhn', sans-serif;
    margin-top: 3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.vip-card-glass:hover .vip-card-artist {
    color: #66ccff; /* ← رنگ آبی روشن‌تر در هاور */
}

/* ============================================
   واکنش‌گرایی
   ============================================ */

/* دسکتاپ: 5 کارت */
@media (min-width: 1280px) {
    .vip-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
}

/* دسکتاپ کوچک و تبلت بزرگ: 4 کارت */
@media (min-width: 1024px) and (max-width: 1279px) {
    .vip-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

/* تبلت: 3 کارت */
@media (min-width: 640px) and (max-width: 1023px) {
    .vip-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

/* موبایل: 2 کارت */
@media (max-width: 639px) {
    .vip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .vip-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .vip-grid {
        gap: 10px;
    }
    
    .vip-card-play {
        width: 40px;
        height: 40px;
    }
    
    .vip-card-play i {
        font-size: 1rem;
    }
    
    .vip-card-info {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 8px 10px 10px;
        border-radius: 10px;
    }
    
    .vip-card-title {
        font-size: 0.7rem;
    }
    
    .vip-card-artist {
        font-size: 0.55rem;
    }
    
    .vip-section-modern {
        margin: 20px 0 30px;
    }
}

/* ============================================
   دستگاه‌های لمسی (موبایل و تبلت)
   ============================================ */
@media (hover: none) {
    .vip-card-info {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) scale(1) !important;
        bottom: 12px;
        left: 12px;
        right: 12px;
        background: rgba(15, 15, 26, 0.6);
        padding: 10px 12px 12px;
    }
    
    .vip-card-title {
        color: #4da6ff !important;
    }
    
    .vip-card-artist {
        color: #66ccff !important;
    }
    
    .vip-card-overlay {
        opacity: 1 !important;
        background: linear-gradient(180deg, 
            rgba(15, 15, 26, 0.1) 0%,
            rgba(15, 15, 26, 0.4) 50%,
            rgba(15, 15, 26, 0.7) 100%
        );
    }
    
    .vip-card-play {
        transform: scale(1) rotate(0deg) !important;
        width: 44px;
        height: 44px;
    }
    
    .vip-card-play i {
        font-size: 1.1rem;
    }
}