/* Instagram Theme — accent: #E1306C */

.ig-gradient-text {
    background: linear-gradient(135deg, #F77737 0%, #E1306C 50%, #833AB4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ig-gradient-border {
    border-image: linear-gradient(135deg, #F77737, #E1306C, #833AB4) 1;
}

.ig-type-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(225,48,108,0.15);
    color: #E1306C;
    border: 1px solid rgba(225,48,108,0.25);
}
.ig-type-badge.reels  { background: rgba(131,58,180,0.15); color: #a855f7; border-color: rgba(131,58,180,0.25); }
.ig-type-badge.video  { background: rgba(247,119,55,0.15);  color: #F77737; border-color: rgba(247,119,55,0.25); }
.ig-type-badge.carousel { background: rgba(42,171,238,0.15); color: #2AABEE; border-color: rgba(42,171,238,0.2); }

/* Post card grid */
.ig-post-card {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.2s ease;
    text-decoration: none;
    display: block;
    position: relative;
}
.ig-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(225,48,108,0.18);
    border-color: rgba(225,48,108,0.35);
}
.ig-post-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    background: #111;
}
.ig-post-thumb-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: rgba(225,48,108,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.ig-post-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.2s;
    display: flex;
    align-items: flex-end;
    padding: 12px;
}
.ig-post-card:hover .ig-post-overlay { opacity: 1; }
.ig-post-stats {
    display: flex;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

/* Badge absolute top-right */
.ig-media-badge {
    position: absolute;
    top: 7px; right: 7px;
    font-size: 9px; font-weight: 900;
    padding: 3px 7px; border-radius: 6px;
    background: rgba(0,0,0,0.72);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    backdrop-filter: blur(4px);
}

/* Hashtag chip */
.ig-hashtag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(225,48,108,0.08);
    border: 1px solid rgba(225,48,108,0.2);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #E1306C;
    cursor: default;
    transition: background 0.15s;
}
.ig-hashtag:hover { background: rgba(225,48,108,0.15); }
