/**
 * Sticky Banner TA28 - CSS Styles
 * Version: 1.0.0
 */

 #banners {
    top: 1rem;
    width: 280px;
    position: fixed;
    left: 1%;
    z-index: 9;
}

.notis_slogan {
    width: 98%;
    margin: 0 auto;
}

.notis_slogan img,
.notis_ttl img {
    max-width: 100%;
    height: auto;
    display: block;
}

.banners_info {
    border: 2px solid #c3ad61;
    border-radius: 1rem;
    background: linear-gradient(180deg, #7d5105 0, #382303 15%, #140c02 40%, #1c1202 70%, #261901 100%);
    margin-top: -.7rem;
    position: relative;
    z-index: 1;
}

.notis_ttl {
    width: 80%;
    margin: 0 auto;
    padding: 1.5rem 0;
}

.banner-lst {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #2c220e;
    counter-reset: counter;
}

.banner-lst li {
    border-bottom: 1px solid #2c220e;
    counter-increment: counter;
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 700;
    padding: 1rem 2rem;
    position: relative;
}

.icondlapp {
    width: 40px;
    height: 45px;
    background: url(../images/icon-dlapp.png) center no-repeat;
    background-size: contain;
    display: inline-block;
    animation: icondlNoti .5s linear infinite;
}

.icondlapp a {
    display: block;
    height: 100%;
}

.banner-lst-box {
    margin: 0 1rem;
}

.banner-lst-lbl {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4px;
    color: #fff;
}

.banner-lst-txt,
.banner-lst-txt a {
    text-align: left;
    font-size: 20px;
    color: #ffe9a4;
    font-weight: 900;
    text-decoration: none;
}

#banners .banner-lst-txt span {
    background: linear-gradient(to bottom, #e60000 0, #911d1d 100%);
    border-radius: 5px;
    color: #fff;
    padding: 2px 8px;
}

.banner-lst-txt img {
    width: 90%;
}

.banner-lst li::before {
    content: counter(counter);
    width: 25px;
    height: 25px;
    border-radius: 100%;
    background: #fff;
    color: #281701;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.notis_note {
    color: #fff;
    text-align: center;
    padding: 1rem 2rem;
    margin-bottom: 0;
    font-weight: 300;
}

.notis_note span,
.notis_note span>a {
    color: #ffe9a4;
    font-weight: 700;
}

.text-unlines {
    text-decoration: underline;
}

/* Social Icons */
.ta28-social-icons {
    display: none;
    position: fixed;
    top: 20px; /* Thay đổi từ 50% thành 20px để sticky ở top */
    left: 10px;
    transform: none; /* Bỏ transform translateY */
    z-index: 9998;
    flex-direction: column;
    gap: 10px;
}

.ta28-social-icons a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #000;
    border: 2px solid #c3ad61;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 99;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: top center;
    background-size: 100% auto;
    margin-bottom: 10px !important;
}

.ta28-social-icons a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.ta28-social-icons img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Right Social List */
.ta28-right-social-list {
    position: fixed;
    right: 1rem;
    top: 1%;
    z-index: 9;
    display: none; /* Ẩn mặc định, chỉ hiển thị trên PC */
}

.ta28-right-social-list a {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 99;
    margin-bottom: 10px;
}

/* Style cho ảnh trong right social icons */
.ta28-right-social-list a img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.ta28-right-social-list .playonweb-pc {
    width: 280px;
    height: auto;
    margin-bottom: 10px;
}

.ta28-right-social-list .playonweb-pc img {
    width: 80%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
}

@media screen and (max-width: 991px) {
    .ta28-social-icons a {
        width: 50px;
        height: 50px;
    }
}

/* Animation for download icon */
@keyframes icondlNoti {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Desktop only - Right banner chỉ hiển thị trên PC */
@media (min-width: 1024px) {
    .ta28-right-social-list {
        display: block !important; /* Chỉ hiển thị trên desktop */
    }
}

/* Responsive Design */
@media (max-width: 850px) {
    #banners {
        display: none !important; /* Force ẩn banners */
    }
    
    .notis_slogan {
        width: 100%;
    }
    
    .notis_ttl {
        width: 90%;
        padding: 1rem 0;
    }
    
    .banner-lst li {
        padding: 0.8rem 1rem;
    }
    
    .banner-lst-txt,
    .banner-lst-txt a {
        font-size: 16px;
    }
    
    .notis_note {
        padding: 0.8rem 1rem;
        font-size: 12px;
    }
    
    /* Show social icons on tablet */
    .ta28-social-icons {
        display: flex !important; /* Force hiển thị social icons */
        top: 20px; /* Giữ nguyên top 20px */
        left: 15px;
    }
    
    /* Ẩn right social list trên tablet/mobile - chỉ hiển thị trên PC */
    .ta28-right-social-list {
        display: none !important; /* Force ẩn right banner */
    }
}

@media (max-width: 480px) {
    #banners {
        width: 98%;
        left: 1%;
        top: 0.3rem;
    }
    
    .banner-lst li {
        padding: 0.6rem 0.8rem;
    }
    
    .banner-lst-txt,
    .banner-lst-txt a {
        font-size: 14px;
    }
    
    .banner-lst li::before {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    
    .icondlapp {
        width: 30px;
        height: 35px;
    }
    
    .notis_note {
        padding: 0.6rem 0.8rem;
        font-size: 11px;
    }
    
    /* Show social icons on mobile */
    .ta28-social-icons {
        display: flex !important; /* Force hiển thị */
        top: 10px; /* Giảm khoảng cách top cho mobile */
        left: 5px;
    }
    
    .ta28-social-icons a {
        width: 45px;
        height: 45px;
    }
    
    .ta28-social-icons img {
        width: 25px;
        height: 25px;
    }
    
    /* Ẩn right social list trên mobile - chỉ hiển thị trên PC */
    .ta28-right-social-list {
        display: none !important; /* Force ẩn right banner */
    }
} 