
/* =================================== */
/* === STYLES FOR CREATOR PAGE    === */
/* =================================== */

.creator-page-header {
    background: linear-gradient(rgba(10, 10, 26, 0.8), rgba(10, 10, 26, 0.8)), url('https://i.imgur.com/uIYXJb1.jpg') no-repeat center center;
    background-size: cover;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
}
.creator-page-header h1 {
    color: #fff;
    font-weight: bold;
}
.btn-create-post {
    background: linear-gradient(45deg, #e0a836, #ffc966);
    color: #111;
    border: none;
    font-weight: bold;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.featured-video-container {
    position: relative;
}
.featured-video-container .ratio {
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid #e0a836;
    box-shadow: 0 0 20px rgba(224, 168, 54, 0.4);
}
.featured-video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.featured-video-info h4 {
    color: #fff;
    font-weight: bold;
}

/* Video Feed */
.creator-tabs .nav-link {
    color: #aaa;
    font-weight: 500;
}
.creator-tabs .nav-link.active {
    background-color: #e0a836;
    color: #111;
}

.video-post-card {
    background-color: #1a1a2a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s ease;
}
.video-post-card:hover {
    transform: translateY(-5px);
}
.video-embed-wrapper {
    background-color: #000;
}
.video-post-details {
    padding: 1rem;
    display: flex;
    gap: 1rem;
}
.post-author-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.post-title {
    color: #fff;
    font-weight: 500;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.post-meta {
    font-size: 0.8rem;
    color: #aaa;
}
.post-author-name {
    color: #ccc;
    font-weight: 500;
}
.kol-badge {
    background-color: #6f42c1;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    vertical-align: middle;
}
.kol-badge i { font-size: 0.6rem; }

/* Dark Modal */
.dark-modal-content {
    background-color: #1a1a2a;
    border: 1px solid #444;
}
.dark-modal-content .modal-header, .dark-modal-content .modal-footer {
    border-color: #333;
}
.dark-modal-content .form-control {
     background-color: #121221;
    border-color: #444;
    color: #fff;
}
/* =================================== */
/* === STYLES FOR LIVE HUB        === */
/* =================================== */
.live-hub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
.live-hub-header h4 {
    color: #fff;
    font-weight: 500;
}
.live-hub-header h4 i {
    color: #dc3545;
}
.view-all-link {
    color: #aaa;
    text-decoration: none;
}

.live-stream-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.live-stream-card {
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.live-stream-card:hover {
    transform: translateY(-5px);
}
.stream-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.stream-thumbnail img {
    width: 100%;
    display: block;
}
.live-badge {
    position: absolute;
    top: 10px; left: 10px;
    background-color: #dc3545;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
    animation: pulse 1.5s infinite;
}
.viewer-count {
    position: absolute;
    bottom: 10px; left: 10px;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.stream-info {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.streamer-avatar {
    width: 40px; height: 40px; border-radius: 50%;
}
.streamer-name {
    color: #fff;
    font-weight: 500;
}
.stream-title {
    color: #aaa;
    font-size: 0.9rem;
    margin: 0;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}
/* ================================================== */
/* === CSS CẬP NHẬT CHO TRANG KÊNH SÁNG TẠO      === */
/* Thêm vào cuối file style.css của bạn            === */
/* ================================================== */

/* ĐỊNH DẠNG CHO THẺ <a> BỌC NGOÀI THẺ VIDEO */
.video-card-link {
    text-decoration: none; /* Bỏ gạch chân của link */
    color: inherit; /* Chữ bên trong sẽ có màu bình thường */
    display: block; /* Để thẻ <a> chiếm toàn bộ không gian của cột */
    height: 100%;
}
.video-card-link:hover {
    color: inherit; /* Giữ màu chữ khi di chuột qua */
}
