/**
 * Inovelead LinkinBio - Premium Frontend Styles
 */

:root {
    --ilb-max-width: 680px;
    --ilb-radius: 12px;
}

.ilb-bio-page {
    min-height: 100vh;
    padding: 40px 20px 80px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ilb-container {
    max-width: var(--ilb-max-width);
    margin: 0 auto;
}

/* Profile Section */
.ilb-profile {
    text-align: center;
    margin-bottom: 16px;
    animation: ilbFadeDown 0.6s ease-out;
}

.ilb-profile-img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.ilb-profile-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
}

/* Social Links */
.ilb-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
    animation: ilbFadeUp 0.6s ease-out 0.2s backwards;
}

.ilb-social-item {
    width: 22px;
    height: 22px;
    opacity: 0.7;
    transition: all 0.2s ease;
    color: inherit;
}

.ilb-social-item:hover {
    opacity: 1;
    color: #ffffff !important;
}

/* Quick Buttons (Hybrid Layout) */
.ilb-buttons-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    animation: ilbFadeUp 0.6s ease-out 0.3s backwards;
}

.ilb-btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    text-align: center;
    text-decoration: none;
    border-radius: var(--ilb-radius);
    font-weight: 700;
    font-size: 16px;
    transition: transform 0.2s, filter 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.ilb-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Instagram Grid */
.ilb-grid {
    display: grid;
    gap: 4px;
    animation: ilbFadeUp 0.6s ease-out 0.4s backwards;
}

.ilb-grid-item {
    display: block;
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 2px;
    background: #2a2a2a;
}

.ilb-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ilb-grid-item:hover img {
    transform: scale(1.08);
}

.ilb-item-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 10px;
}

/* Animations */
@keyframes ilbFadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ilbFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .ilb-bio-page {
        padding: 30px 16px;
    }

    .ilb-profile-img {
        width: 80px;
        height: 80px;
    }
}