/* Featured Client Announcement Bar */
.featured-client-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg,
            rgba(20, 20, 30, 0.98) 0%,
            rgba(30, 20, 40, 0.98) 100%);
    border-bottom: 1px solid rgba(var(--accent-color-rgb), 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-100%);
    animation: slideDown 0.5s ease-out 0.3s forwards;
    overflow: hidden;
    max-width: 100vw;
}

@keyframes slideDown {
    to {
        transform: translateY(0);
    }
}

.featured-client-bar.hidden {
    display: none;
}

.featured-client-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.featured-client-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.featured-badge {
    background: linear-gradient(135deg, var(--accent-color), rgba(var(--accent-color-rgb), 0.7));
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 0 15px rgba(var(--accent-color-rgb), 0.4);
}

.featured-client-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.client-name {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

.client-stats {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
}

.client-stats i {
    color: var(--accent-color);
    margin-right: 5px;
}

.featured-client-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.instagram-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(131, 58, 180, 0.4);
    color: #fff;
}

.instagram-link i {
    font-size: 16px;
}

.close-bar-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.close-bar-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: rotate(90deg);
}

/* Adjust body padding when bar is visible */
body.has-featured-bar {
    padding-top: 60px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .featured-client-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 20px;
    }

    .featured-client-right {
        width: 100%;
        justify-content: space-between;
    }

    body.has-featured-bar {
        padding-top: 90px;
    }
}

@media (max-width: 576px) {
    .featured-client-content {
        padding: 6px 12px;
        gap: 6px;
    }

    .featured-client-left {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        width: 100%;
    }

    .featured-badge {
        font-size: 9px;
        padding: 3px 8px;
        border-radius: 12px;
        font-weight: 600;
        letter-spacing: 0.3px;
    }

    .featured-client-info {
        gap: 6px;
        flex: 1;
        min-width: 0;
    }

    .client-name {
        font-size: 11px;
        font-weight: 600;
        line-height: 1.2;
        margin: 0;
        white-space: normal;
        word-break: break-word;
    }

    .client-stats {
        font-size: 9px;
        line-height: 1.2;
        margin: 0;
        white-space: normal;
        word-break: break-word;
    }

    .client-stats i {
        font-size: 8px;
        margin-right: 3px;
    }

    .featured-client-right {
        width: 100%;
        gap: 6px;
        margin-top: 4px;
    }

    .instagram-link {
        font-size: 10px;
        padding: 5px 10px;
        border-radius: 12px;
        gap: 4px;
        flex: 1;
    }

    .instagram-link i {
        font-size: 10px;
    }

    .close-bar-btn {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    body.has-featured-bar {
        padding-top: 50px;
    }
}