.landing-centered-hero-with-button {
    padding-top: 40px!important;
    padding-bottom: 0!important;
}

.igf-fetch-button {
    min-width: 220px !important;
}

.igf-username-input {
    font-size: 18px;
    height: 52px;
}

.igf-username-input.error {
    border: 2px solid red!important;
}

.igf-username-input:hover, .igf-username-input:focus {
    box-shadow: 0 0 20px rgba(0,91,187,.5);
}

/* Tabs */
.igf-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-bottom: 2px solid #dbdbdb;
    margin: 20px 0;
}

.igf-tab {
    padding: 10px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: white;
    transition: all 0.2s;
    white-space: nowrap;
    margin-bottom: -2px;
}

.igf-tab:hover {
    color: #10b981;
}

.igf-tab.active {
    color: #10b981;
    border-bottom-color: #10b981;
}

/* Tab Content */
.igf-tab-content {
    padding: 20px 0;
}

/* Grid layouts */
.igf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.igf-grid-stories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.igf-highlights-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

/* Items */
.igf-item,
.igf-reel,
.igf-story {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: #fafafa;
}

.igf-story .igf-video-icon {
    position: absolute;
    z-index: 5;
    bottom: 10px;
    left: 10px;
    background: linear-gradient(194.2deg, rgba(16, 185, 129, .5) 10.12%, rgba(0, 122, 92, .5) 89.93%);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.igf-item img,
.igf-reel img,
.igf-story img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.igf-item:hover img,
.igf-reel:hover img,
.igf-story:hover img{
    transform: scale(1.05);
}

/* Stats overlay */
.igf-likes,
.igf-plays, .igf-item-stats, .igf-carousel-icon {
    position: absolute;
    bottom: 10px;
    background: linear-gradient(194.2deg,rgba(16,185,129,.5) 10.12%,rgba(0,122,92,.5) 89.93%);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.igf-likes, .igf-plays, .igf-carousel-icon {
    left: 10px;
}

.igf-item-stats {
    right: 10px;
}

.igf-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(194.2deg,rgba(16,185,129,.5) 10.12%,rgba(0,122,92,.5) 89.93%);
    color: white;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

.igf-controls .control-icon {
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: cover;
    border: none;
    display: block;
    height: 24px;
    outline: none;
    width: 24px;
}

.igf-controls .control-icon.video-control-icon {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBjbGFzcz0ibHVjaWRlIGx1Y2lkZS1wbGF5LWljb24gbHVjaWRlLXBsYXkiPjxwYXRoIGQ9Ik01IDVhMiAyIDAgMCAxIDMuMDA4LTEuNzI4bDExLjk5NyA2Ljk5OGEyIDIgMCAwIDEgLjAwMyAzLjQ1OGwtMTIgN0EyIDIgMCAwIDEgNSAxOXoiLz48L3N2Zz4=")
}

.igf-controls .control-icon.open-control-icon {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBjbGFzcz0ibHVjaWRlIGx1Y2lkZS1tYXhpbWl6ZS1pY29uIGx1Y2lkZS1tYXhpbWl6ZSI+PHBhdGggZD0iTTggM0g1YTIgMiAwIDAgMC0yIDJ2MyIvPjxwYXRoIGQ9Ik0yMSA4VjVhMiAyIDAgMCAwLTItMmgtMyIvPjxwYXRoIGQ9Ik0zIDE2djNhMiAyIDAgMCAwIDIgMmgzIi8+PHBhdGggZD0iTTE2IDIxaDNhMiAyIDAgMCAwIDItMnYtMyIvPjwvc3ZnPg==");
}

/* Highlights */
.igf-highlight {
    text-align: center;
    overflow: hidden;
}

.igf-highlight img,
.igf-highlight-placeholder {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #dbdbdb;
    background: #fafafa;
    display: block;
    transition: .3s ease-in-out;
}

.igf-highlight p {
    margin-top: 8px;
    font-size: 12px;
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: .3s ease-in-out;
}

.igf-highlight:hover img {
    filter: brightness(1.1);
    border: 2px solid #10b981;
}

.igf-highlight:hover p {
    color: #10b981;
}

/* Load More */
.igf-load-more {
    text-align: center;
    padding: 30px 0;
}

.igf-load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Profile */
.igf-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(194.2deg,rgba(16,185,129,.1) 10.12%,rgba(0,122,92,.1) 89.93%);
    border-radius: 12px;
    margin-bottom: 20px;
}

.igf-profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #10b981;
    margin-bottom: 20px;
}

.igf-profile h2 {
    font-size: 24px;
    margin: 0 0 10px 0;
    color: white;
}

.igf-verified {
    color: #0095f6;
    font-size: 20px;
    margin-left: 5px;
}

.igf-stats {
    display: flex;
    gap: 30px;
    margin: 15px 0;
}

.igf-stats span {
    font-size: 14px;
    color: #d1d5db;
}

.igf-stats strong {
    color: white;
    font-weight: 600;
}

.igf-bio {
    margin-top: 15px;
    max-width: 500px;
    color: white;
    line-height: 1.5;
    white-space: pre-wrap;
}

/* Search form */
.igf-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Loading spinner */
.igf-loading {
    text-align: center;
    padding: 20px;
    color: #8e8e8e;
}

.igf-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0095f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error message */
.igf-error,
.igf-error-msg {
    padding: 8px 12px;
    background: #ffebee;
    color: #c62828;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    max-width: 720px;
    margin: 10px auto;
}

.my-fslightbox-caption {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    max-width: 90%;
    margin: 0 auto;
    color: white;
    padding: 20px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 12px;
    font-size: 16px;
    z-index: 999999; /* above lightbox */
    pointer-events: none;
    text-align: center;
}


/* Responsive */
@media (max-width: 768px) {
    .igf-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .igf-profile-pic {
        width: 100px;
        height: 100px;
    }

    .igf-stats {
        gap: 15px;
        font-size: 12px;
    }

    .igf-search-form {
        flex-direction: column;
    }
}