/* Top List Hot Plugin Styles */

.khunggamehome {
    margin: 20px 0;
    overflow: hidden;
}

.hinh__anh1 {
    background: url(images/icon-1.png) no-repeat;
}

.hinh__anh2 {
    background: url(images/icon-2.png) no-repeat;   
}


.hinh__anh3 {
    background: url(images/icon-3.png) no-repeat;   
}

.hinh__anh4 {
    background: url(images/icon-4.png) no-repeat;   
}


.hinh__anh5 {
    background: url(images/icon-5.png) no-repeat;    
}


.khunggamehome .hinhanhgame img {
    width: auto;
    height: auto;
    max-height: 90px;
}

.khunggamehome .taigame_review .taigame a {
    text-decoration: none;
}

.khunggamehome .taigame_review .review a {
    text-decoration: none;
}

/* Ranking Badge Styles */
.khunggamehome .hinhanhgame {
    position: relative;
}

.khunggamehome .ranking-badge {
    position: absolute;
    top: -15px;
    left: -10px;
    width: 30px;
    height: 38px;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    z-index: 10;
    line-height: 1;
}

.no-logo {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: bold;
    font-size: 24px;
    text-transform: uppercase;
    border-radius: 8px;
}

/* Desktop Styles */
@media only screen and (min-width: 992px) {
    .khunggamehome .hinhanhgame img {
        width: auto;
        height: auto;
        max-height: 90px;
    }
    
    .khunggamehome {
        width: 100%;
        border: 0px solid;
        height: 160px;
        box-shadow: 0px 0px 4px 0px #ededed;
        border-radius: 3px 3px 3px 3px;
        display: flex;
        align-items: center;
        background-color: #fff;
    }
    
    .khunggamehome .hinh_hot_moi {
        z-index: 500;
        width: 6%;
        float: left;
        height: 56px;
    }
    
    .khunggamehome .hinhanhgame {
        width: 90px;
        float: left;
        height: 90px;
        z-index: 1;
        text-align: center;
    }
    
    .khunggamehome .noidunggame {
        width: 59%;
        float: left;
    }
    
    .khunggamehome .noidunggame .tieude {
        text-align: center;
        font-size: 18px;
        font-weight: bold;
        width: 100%;
    }
    
    .khunggamehome .noidunggame .noidung_item {
        text-align: center;
        font-size: 14px;
        width: 100%;
        line-height: 1.7;
    }
    
    .khunggamehome .taigame_review {
        width: 20%;
        float: left;
        padding: 0 5px;
    }
    
    .khunggamehome .taigame_review .taigame {
        width: 100%;
        height: 33px;
        background-color: red;
        border-radius: 15px 15px 15px 15px;
        line-height: 33px;
    }
    
    .khunggamehome .taigame_review .review {
        width: 100%;
        height: 33px;
        background-color: blue;
        border-radius: 15px 15px 15px 15px;
        margin-left: auto;
        text-align: center;
        margin-right: auto;
        display: block;
        margin-top: 10px;
        line-height: 33px;
    }
}

/* Tablet Styles */
@media screen and (max-width: 900px) and (min-width: 768px) {
    .khunggamehome {
        width: 100%;
        border: 0px solid;
        height: 230px;
        box-shadow: 0px -1px 4px 10px #e5cfd0;
        border-radius: 3px 3px 3px 3px;
    }
    
    .khunggamehome .hinh_hot_moi {
        z-index: 500;
        width: 6%;
        float: left;
        margin-left: 5px;
        height: 56px;
        width: 34px;
    }
    
    .khunggamehome .hinhanhgame {
        width: 15%;
        float: left;
        margin-left: 8px;
        height: 100px;
        margin-top: 10%;
    }
    
    .khunggamehome .noidunggame {
        width: 33%;
        float: left;
        margin-left: 5px;
        padding-left: 5px;
        padding-right: 5px;
        margin-top: 10px;
    }
    
    .khunggamehome .noidunggame .tieude {
        text-align: center;
        font-size: 18px;
        font-weight: bold;
        width: 100%;
    }
    
    .khunggamehome .noidunggame .noidung_item {
        text-align: center;
        font-size: 13px;
        width: 100%;
        line-height: 1.7;
    }
    
    .khunggamehome .taigame_review {
        width: 20%;
        float: left;
        padding-left: auto;
        padding-right: auto;
    }
    
    .khunggamehome .taigame_review .taigame {
        width: 80%;
        height: 33px;
        background-color: red;
        border-radius: 15px 15px 15px 15px;
        padding-top: 3px;
        margin-top: 52%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    .khunggamehome .taigame_review .review {
        width: 80%;
        height: 33px;
        background-color: blue;
        border-radius: 15px 15px 15px 15px;
        padding-top: 3px;
        margin-top: 5%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

/* Mobile Styles */
@media only screen and (max-width: 767px) {
    .khunggamehome {
        width: 100%;
        border: 0px solid;
        box-shadow: 0px 0px 4px 0px #ededed;
        display: block;
        padding-bottom: 10px;
        background-color: #fff;
    }
    
    .khunggamehome .hinh_hot_moi {
        margin-left: 5px;
        height: 56px;
        width: 34px;
        position: absolute;
        left: 0;
        top: 0;
    }
    
    .khunggamehome .hinhanhgame {
        width: 100%;
        margin-left: 0;
        margin-top: 0px;
        margin-left: 0;
        display: block;
        text-align: center;
    }
    
    .khunggamehome .noidunggame {
        width: 100%;
        float: left;
        margin-left: 0;
        padding-left: 0;
        padding-right: 0;
        margin-top: 20px;
    }
    
    .khunggamehome .noidunggame .tieude {
        text-align: center;
        font-size: 18px;
        font-weight: bold;
        width: 100%;
    }
    
    .khunggamehome .noidunggame .noidung_item {
        text-align: center;
        font-size: 15px;
        width: 100%;
        line-height: 28px;
        padding-right: 0;
    }
    
    .khunggamehome .taigame_review {
        width: 100%;
        float: left;
        padding-left: auto;
        padding-right: auto;
    }
    
    .khunggamehome .taigame_review .taigame {
        width: 40%;
        height: 33px;
        background-color: red;
        border-radius: 15px 15px 15px 15px;
        padding-top: 3px;
        margin-top: 15px;
        margin-left: 7%;
        margin-right: 15px;
        display: block;
        float: left;
    }
    
    .khunggamehome .taigame_review .review {
        width: 40%;
        height: 33px;
        background-color: blue;
        border-radius: 15px 15px 15px 15px;
        padding-top: 3px;
        margin-top: 15px;
        text-align: center;
        display: block;
        float: left;
    }
}

.khunggamehome .taigame_review .taigame span {
    margin: 0 !important;
    display: block;
    text-align: center;
}

/* Animation */
.khunggamehome {
    transition: all 0.3s ease;
}

.khunggamehome:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Button hover effects */
.khunggamehome .taigame_review .taigame a:hover {
    opacity: 0.9;
}

.khunggamehome .taigame_review .review a:hover {
    opacity: 0.9;
} 