/* ===========================================
   VIP USER STYLES
   Crown with glow
   =========================================== */

/* ===========================================
   ANIMATIONS
   =========================================== */
@keyframes crown-glow {

    0%,
    100% {
        filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.6));
    }

    50% {
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.9));
    }
}

/* ===========================================
   VIP POST CARD - CLEAN STYLE (no aura)
   =========================================== */
.post.card.vip-user {
    position: relative;
    border: 2px solid rgba(255, 215, 0, 0.6) !important;
    overflow: visible !important;
}

.post.card.vip-user::before {
    content: none;
}

/* ===========================================
   CROWN ICON
   =========================================== */
.post.card.vip-user .vip-crown {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: crown-glow 2s ease-in-out infinite;
}

.post.card.vip-user .vip-crown svg {
    width: 28px;
    height: 28px;
    fill: #ffd700;
    stroke: #b8860b;
    stroke-width: 0.5;
}

/* Crown background circle */
.post.card.vip-user .vip-crown::before {
    content: '';
    position: absolute;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #fff8dc 0%, #fffacd 50%, #fff8dc 100%);
    border-radius: 50%;
    z-index: -1;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

/* Hide rays */
.post.card.vip-user .vip-rays {
    display: none;
}

/* Enhanced hover state */
.post.card.vip-user:hover {
    border-color: rgba(255, 215, 0, 0.8) !important;
    transform: translateY(-3px);
    animation: none;
    box-shadow:
        0 0 30px rgba(255, 215, 0, 0.4),
        0 0 60px rgba(255, 215, 0, 0.25),
        0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.post.card.vip-user:hover .vip-crown {
    animation: none;
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 1));
}

/* ===========================================
   VIP BADGE (enhanced)
   =========================================== */
.vip {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffec8b 50%, #ffd700 100%);
    color: #222;
    font-weight: 700;
    padding: 2px 8px;
    margin-left: 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 768px) {
    .post.card.vip-user .vip-crown {
        width: 28px;
        height: 28px;
        top: -12px;
    }

    .post.card.vip-user .vip-crown svg {
        width: 24px;
        height: 24px;
    }

    .post.card.vip-user .vip-crown::before {
        width: 32px;
        height: 32px;
    }

    .post.card.vip-user .vip-rays {
        width: 70px;
        height: 70px;
        top: -12px;
    }

    .post.card.vip-user .vip-rays .ray {
        height: 22px;
        width: 2px;
    }
}

@media (max-width: 480px) {
    .post.card.vip-user .vip-crown {
        width: 24px;
        height: 24px;
        top: -10px;
    }

    .post.card.vip-user .vip-crown svg {
        width: 20px;
        height: 20px;
    }

    .post.card.vip-user .vip-crown::before {
        width: 28px;
        height: 28px;
    }

    .post.card.vip-user .vip-rays {
        width: 55px;
        height: 55px;
        top: -10px;
    }

    .post.card.vip-user .vip-rays .ray {
        height: 16px;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .post.card.vip-user {
        animation: none;
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }

    .post.card.vip-user .vip-crown {
        animation: none;
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.7));
    }

    .post.card.vip-user:hover .vip-rays .ray {
        animation: none;
        opacity: 0.7;
    }
}