/* ===== GLASSY & ANIMATED CANVAS ===== */
.auto-canvas {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    min-height: 120px;
}

.auto-canvas::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.auto-canvas:hover::before {
    opacity: 1;
}

.auto-canvas:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.20);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.25) !important;
}

.auto-canvas span {
    font-size: 32px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.auto-canvas:hover span {
    transform: scale(1.08);
}

/* subtle shimmer animation */
.auto-canvas::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.08) 40%, 
        rgba(255,255,255,0.25) 50%, 
        rgba(255,255,255,0.08) 60%, 
        rgba(255,255,255,0) 100%);
    transform: rotate(25deg);
    animation: shimmer 6s infinite linear;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(25deg); }
    100% { transform: translateX(100%) rotate(25deg); }
}

/* list item container */
.list-mig-like-com {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.list-mig-like-com:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.10);
}

/* ensure image container fills */
.list-mig-lc-img {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

/* badge styling */
.home-list-pop-rat {
    background: rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

/* heading icons */
.udb-sec h4 img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* responsive tweaks */
@media (max-width: 600px) {
    .auto-canvas {
        min-height: 90px;
    }
    .auto-canvas span {
        font-size: 24px;
    }
}