

/*footer*/
.main-footer {
    background-color: #050505; /* Đen sâu hơn header để tạo khối */
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.hover-cyan:hover {
    color: var(--brand-cyan) !important;
    transition: 0.3s;
}

/* Hiệu ứng cho Logo đối tác */
.gray-scale-logos img {
    filter: grayscale(100%);
    transition: all 0.5s ease;
    cursor: pointer;
}

.gray-scale-logos img:hover {
    filter: grayscale(0%);
    opacity: 1 !important;
    transform: scale(1.1);
}

.border-secondary {
    border-color: rgba(255, 255, 255, 0.05) !important;
}



/* Tùy chỉnh ô Search Desktop để hiện đầy đủ Border */
#search-desktop-container .input-group {
    border: 1px solid #444; /* Màu border mặc định khi chưa focus */
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

#search-desktop-container .form-control {
    border: none !important; /* Bỏ border mặc định của input để dùng border của group */
    background-color: transparent !important;
    box-shadow: none !important;
}

#search-desktop-container .btn {
    border: none !important;
    background-color: transparent !important;
    color: #888;
}

/* Hiệu ứng khi người dùng click vào ô tìm kiếm - Đổi sang màu Cyan của Logo */
#search-desktop-container:focus-within .input-group {
    border-color: var(--brand-cyan, #00c0f0);
    box-shadow: 0 0 8px rgba(0, 192, 240, 0.3);
}

#search-desktop-container:focus-within .btn {
    color: var(--brand-cyan, #00c0f0);
}

/* Style chung cho tất cả custom search box */
.custom-search-box .input-group {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    padding: 2px 5px;
}

.custom-search-box .form-control {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    box-shadow: none !important;
    padding-left: 20px;
}

.custom-search-box .btn {
    border: none !important;
    color: #888;
    transition: color 0.3s;
}

/* Hiệu ứng Focus đặc trưng của Lossless 8K */
.custom-search-box:focus-within .input-group {
    border-color: #00c0f0; /* Màu Cyan từ logo */
    box-shadow: 0 0 15px rgba(0, 192, 240, 0.2);
    background: rgba(0, 192, 240, 0.05);
}

.custom-search-box:focus-within .btn {
    color: #00c0f0;
}




.text-cyan {
    color: #00c0f0 !important;
}

.hover-cyan:hover {
    color: #00c0f0 !important;
    transition: 0.3s;
}

/* Tạo một dấu gạch đứng nhỏ giữa các ngôn ngữ (tùy chọn) */
.list-inline-item:not(:last-child):after {
    content: "|";
    margin-left: 15px;
    color: rgba(255, 255, 255, 0.2); /* Giảm độ mờ của gạch dọc */
}


@media (max-width: 768px) {
    .list-inline-item {
        margin-left: 5px !important;
        margin-right: 5px !important;
        font-size: 10px; /* Nhỏ lại một chút để vừa một hàng */
    }
    
    .list-inline-item:not(:last-child):after {
        margin-left: 8px; /* Thu hẹp khoảng cách vạch đứng */
    }
}

@media (max-width: 576px) {
    header .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Chỉnh cỡ chữ tiêu đề 8K Experience nhỏ lại một chút để không bị thô */
    .hero-section h1 {
        font-size: 1.8rem !important;
    }
}

/* Màu Cyan chủ đạo */
.text-cyan { color: #00c0f0 !important; }
.bg-cyan { background-color: #00c0f0 !important; }
.btn-outline-cyan {
    color: #00c0f0;
    border-color: #00c0f0;
}
.btn-outline-cyan:hover {
    background-color: #00c0f0;
    color: #000;
}

/* Background tối pha nhẹ xanh */
.bg-dark-soft {
    background: rgba(10, 15, 20, 0.6);
}

/* Card hiệu ứng hover */
.l8k-card {
    transition: all 0.3s ease;
    cursor: pointer;
}
.l8k-card:hover {
    transform: translateY(-10px);
    border-color: #00c0f0 !important;
    box-shadow: 0 10px 30px rgba(0, 192, 240, 0.2);
}
.l8k-card img {
    transition: all 0.5s ease;
    filter: grayscale(30%);
}
.l8k-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Badge neon */
.badge.bg-cyan {
    box-shadow: 0 0 10px rgba(0, 192, 240, 0.5);
    font-size: 0.7rem;
    letter-spacing: 1px;
}



.hover-zoom {
    transition: transform 0.3s ease;
}
.hover-zoom:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px #00c0f0);
}


#player-container {
    width: 100%;
    aspect-ratio: 16 / 9; /* Giữ khung hình chuẩn YouTube */
    background: #000;
    position: relative;
    overflow: hidden;
}

#main-player {
    width: 100%;
    height: 100%;
}

    .active-video {
        background-color: #004a60 !important; /* Màu xanh nổi bật */
        border-left: 5px solid #00c0f0 !important;
    }
.ratio {
    position: relative; /* Giúp overlay định vị chuẩn xác */
}

#sync-status {
    padding: 5px 10px;
    border-radius: 4px;
    background: rgba(0, 255, 0, 0.05);
    display: inline-block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}








/* XÓA HẾT CÁC ĐỊNH NGHĨA CŨ CỦA #l8k-image-overlay, #l8k-clock, #l8k-control-bar VÀ DÁN ĐOẠN NÀY VÀO */

#l8k-image-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 20; display: none;
    background-size: cover; background-position: center;
    background-repeat: no-repeat;
    /* Làm sáng ảnh overlay hơn bằng cách giảm độ tối của lớp phủ */
    background-color: rgba(0, 0, 0, 0.2); 
}

/* Đồng hồ - Center */
#l8k-clock {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem; color: rgba(255, 255, 255, 0.8); /* Làm đồng hồ sáng rõ hơn */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    z-index: 21; pointer-events: none;
}

/* Cụm 6 nút - Đẩy về BOTTOM-RIGHT */
/* Thanh điều khiển - Nằm sát mép dưới */
/* Đảm bảo xóa bỏ các khai báo cũ của #l8k-control-bar để tránh xung đột */
/* Thanh điều khiển - Giữ cố định, không bị kéo dãn */
#l8k-control-bar {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: row; /* Đảm bảo nằm ngang */
    align-items: center;  /* Quan trọng: Căn giữa theo chiều dọc */
    justify-content: center;
    gap: 10px;
    z-index: 22;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px; /* Bo góc nhẹ cho đẹp */
    height: auto !important; /* Quan trọng: Không để chiều cao cố định hoặc 100% */
}

/* Đảm bảo các nút bên trong không bị biến dạng */
#l8k-control-bar button {
    height: 40px; /* Hoặc kích thước bạn mong muốn */
    white-space: nowrap;
    padding: 0 15px;
}
/* Các lớp định vị cho Đồng hồ và Cụm nút */
.pos-center { top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; }
.pos-top-left { top: 20px !important; left: 20px !important; bottom: auto !important; right: auto !important; transform: none !important; }
.pos-top-right { top: 20px !important; right: 20px !important; bottom: auto !important; left: auto !important; transform: none !important; }
.pos-bottom-left { bottom: 20px !important; left: 20px !important; top: auto !important; right: auto !important; transform: none !important; }
.pos-bottom-right { bottom: 0 !important; right: 0 !important; top: auto !important; left: auto !important; transform: none !important; }

/* Kích thước đặc biệt cho đồng hồ khi ở giữa */
#l8k-clock.pos-center { font-size: 5rem !important; }
#l8k-clock:not(.pos-center) { font-size: 1.5rem !important; }
