:root {
    --brand-color: #6366f1;
    --dark-bg: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --radius: 24px;
}

.kol-profile-container {
    padding: 60px 0;
    background: url('images/nen.png') fixed center/cover no-repeat;
    min-height: 100vh;
}

.kol-layout-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    align-items: start;
}

/* Sidebar & Avatar */
.kol-sticky-content { position: sticky; top: 30px; }
.kol-avatar-card {
    background: #fff;
    padding: 10px;
    border-radius: var(--radius);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.avatar-img { width: 100%; height: auto; border-radius: 18px; display: block; }

/* Hiệu ứng bồng bềnh tự động */
@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Nút Booking dưới ảnh */
.kol-booking-wrapper { margin-top: 20px; }
.btn-main-booking {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--dark-bg); color: #fff !important;
    padding: 18px; border-radius: 16px; font-weight: 800;
    text-decoration: none; position: relative; overflow: hidden;
    animation: floating 4s ease-in-out infinite;
}

.shimmer {
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}
@keyframes shine { 0% {left: -100%} 20% {left: 100%} 100% {left: 100%} }

/* Main Content Area */
.kol-glass-card {
    background: var(--glass-bg); backdrop-filter: blur(15px);
    padding: 40px; border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.kol-title { font-size: 2.8rem; font-weight: 900; color: var(--dark-bg); margin: 5px 0 25px; }
.verified-icon { color: #38bdf8; font-size: 1.6rem; margin-left: 8px; }

/* Thẻ Lĩnh vực bồng bềnh */
.cat-pills { display: flex; gap: 8px; margin-bottom: 15px; flex-wrap: wrap; }
.pill {
    background: var(--brand-color); color: #fff;
    padding: 5px 15px; border-radius: 100px;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    animation: floating 3s ease-in-out infinite;
}
.pill:nth-child(even) { animation-delay: 0.5s; }

/* Các ô Followers hình vuông nhỏ gọn */
.kol-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 100px); /* Thu nhỏ kích thước ô */
    gap: 12px;
    margin-bottom: 35px;
}

.stat-item {
    background: #fff; border-radius: 16px; border: 1px solid #f1f5f9;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    aspect-ratio: 1 / 1; padding: 10px;
    animation: floating 3.5s ease-in-out infinite;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.stat-item:nth-child(2) { animation-delay: 0.3s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }

.stat-item i { font-size: 1.3rem; color: var(--brand-color); margin-bottom: 5px; }
.stat-info .v { display: block; font-size: 1.1rem; font-weight: 800; line-height: 1; color: var(--dark-bg); }
.stat-info .l { display: block; font-size: 0.55rem; color: #94a3b8; text-transform: uppercase; margin-top: 3px; }

/* Bio Section */
.section-label { color: var(--brand-color); font-size: 1rem; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
.bio-text { line-height: 1.7; color: #334155; font-size: 1.05rem; }

/* Mobile Optimization */
@media (max-width: 992px) {
    .kol-layout-grid { grid-template-columns: 1fr; }
    .kol-sticky-content { position: static; }
    .kol-avatar-card, .kol-booking-wrapper { max-width: 350px; margin: 0 auto; }
}

/* Swiper cho KOL Avatar Gallery */
.kol-avatar-card {
    position: relative;
    overflow: hidden; /* Quan trọng để bo góc ảnh không bị lỗi khi slide */
    padding: 0 !important; /* Xóa padding cũ để ảnh tràn viền card */
}

.kol-gallery-swiper {
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.kol-gallery-swiper .avatar-img {
    width: 100%;
    aspect-ratio: 3/4; /* Giữ tỷ lệ ảnh KOL chuẩn */
    object-fit: cover;
}

/* Tùy chỉnh nút điều hướng nhỏ gọn hơn */
.kol-gallery-swiper .swiper-button-next,
.kol-gallery-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.3);
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.kol-gallery-swiper .swiper-button-next::after,
.kol-gallery-swiper .swiper-button-prev::after {
    font-size: 14px;
    font-weight: bold;
}

.kol-gallery-swiper .swiper-pagination-bullet-active {
    background: var(--brand-color);
}