.escort-gallery-tabs {
    background: var(--color-white);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 15px;
}

.egt-head {
    display: flex;
    gap: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    margin-bottom: 20px;
}

.egt-tab {
    background: none;
    border: 0;
    color: #bbb;
    font-size: 15px;
    padding: 0 0 5px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    margin-right: 0;
}

.egt-tab.active {
    color: var(--color-black);
}

.egt-tab.active:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: var(--color-phu);
}

.egt-pane {
    display: none;
}

.egt-pane.active {
    display: block;
}

.egt-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.egt-item {
    background: #141414;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .05);
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s;
    position: relative;
}

.egt-item:hover {
    transform: translateY(-4px);
    border-color: var(--color-main);
}

.egt-item img, 
.egt-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Nút play hiển thị trên thumbnail video */
.egt-play-btn {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--color-white);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.egt-item:hover .egt-play-btn {
    background: var(--color-main);
}

.egt-empty {
    padding: 40px;
    text-align: center;
    color: #888;
}

/* Popup / Lightbox */
.egt-lightbox {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .92);
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.egt-lightbox-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.egt-lightbox img,
.egt-lightbox video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.egt-close {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 42px;
    color: var(--color-white);
    cursor: pointer;
}

.egt-prev, .egt-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    cursor: pointer;
    color: var(--color-white);
    padding: 15px;
    user-select: none;
    z-index: 10;
}

.egt-prev {
    left: 20px;
}

.egt-next {
    right: 20px;
}

/* Tablet */
@media(max-width:991px) {
    .egt-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media(max-width:768px) {
    .egt-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .egt-head {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        margin-bottom: 0;
    }

    .escort-gallery-tabs {
        padding: 15px;
    }

    .egt-tab {
        font-size: 14px;
        text-align: center;
    }

    .egt-prev, .egt-next {
        font-size: 35px;
    }
    
    .egt-play-btn {
        width: 36px;
        height: 36px;
        bottom: 10px;
        left: 10px;
    }
}