/* BREAKING NEWS POPUP */
#breakingNewsPopup{
    position:fixed;
    right:20px;
    bottom:100px;
    width:320px;
    background:#fff;
    border-radius:10px;
    overflow:hidden;
    z-index:999999;
    box-shadow:0 5px 20px rgba(0,0,0,0.25);
    display:none;
}

.breaking-header{
    background:red;
    color:#fff;
    padding:10px;
    font-size:14px;
    font-weight:bold;
}

/*.breaking-item{
    display:flex;
    gap:10px;
    padding:10px;
    text-decoration:none;
    color:#000;
    align-items:center;
}*/
.breaking-item{
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:10px;
    text-decoration:none;
    color:#000;
    align-items:flex-start;
}

/* YOUTUBE VIDEO TOP */
.breaking-video-wrap{
    width:100%;
    height:200px;
    background:#000;
    border-radius:6px;
    overflow:hidden;
    position:relative;
}

#youtubePlayer{
    width:100%;
    height:100%;
}

/* Hide Breaking News Popup on Mobile */
/*@media screen and (max-width: 768px) {
    #breakingNewsPopup {
        display: none !important;
    }
    #youtubePlayer{
        display:none !important;
    }
}*/
/* =========================
   MOBILE BREAKING CLOSE
========================= */

#breakingMobileClose{

    display:flex;

    align-items:center;
    justify-content:center;

    position:absolute;

    top:10px;
    right:10px;

    width:34px;
    height:34px;

    border:none;

    background:transparent;

    color:#fff;

    font-size:30px;

    font-weight:bold;

    cursor:pointer;

    z-index:999999;

    padding:0;

    line-height:1;

    text-shadow:0 2px 6px rgba(0,0,0,0.7);
}

#breakingMobileClose:hover,
#breakingMobileClose:focus,
#breakingMobileClose:active{

    background:transparent !important;

    outline:none;

    box-shadow:none;
}

/* MOBILE ONLY */

@media screen and (max-width:768px){

    .breaking-video-wrap{

        position:relative;
    }
}
/* =========================
   MOBILE RESPONSIVE
========================= */

@media screen and (max-width: 480px) {

    /* BREAKING NEWS POPUP */

    #breakingNewsPopup{

        width:55%;
        /*left:2.5%;*/
        right:2.5%;
        bottom:80px;

        border-radius:12px;

        max-height:85vh;

        overflow:hidden;
    }

    /* VIDEO WRAP */

    .breaking-video-wrap{

        width:100%;
        height:220px;

        background:#000;
    }

    #youtubePlayer{

        width:100% !important;
        height:100% !important;
    }

    /* BREAKING CONTENT */

    .breaking-news-content{

        width:100%;
    }

    .breaking-header{

        font-size:13px;

        padding:10px 12px;
    }

    .breaking-item{

        padding:12px;
    }

    .breaking-item h4{

        font-size:14px;

        line-height:1.5;

        word-break:break-word;
    }
}
/* MOBILE ONLY */
@media screen and (max-width:480px){

    .breaking-video-wrap{
        width: 100%;      /* reduce width */
        height: 120px;
        background:#000;

        margin-right:auto; /* keep left */
        margin-left:0;
    }

    #youtubePlayer{
        width:100% !important;
        height:100% !important;
    }

}

.breaking-item img{
    width:90px;
    height:65px;
    object-fit:cover;
    border-radius:5px;
}

.breaking-item h4{
    margin:0;
    font-size:14px;
    line-height:1.4;
}
/* BELL RING ANIMATION */
#notifyBell{
    animation: bellRing 1.5s infinite;
    transform-origin: top center;
}

@keyframes bellRing{

    0%{
        transform: rotate(0deg);
    }

    10%{
        transform: rotate(15deg);
    }

    20%{
        transform: rotate(-15deg);
    }

    30%{
        transform: rotate(12deg);
    }

    40%{
        transform: rotate(-12deg);
    }

    50%{
        transform: rotate(8deg);
    }

    60%{
        transform: rotate(-8deg);
    }

    70%{
        transform: rotate(4deg);
    }

    80%{
        transform: rotate(-4deg);
    }

    100%{
        transform: rotate(0deg);
    }
}

/* Bell Button */
#notifyBell {
    position: fixed;
    bottom: 30px;
    left: 20px;
    width: 52px;
    height: 52px;
    background: #e88408;
    color: #fff;
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99999;
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

/* Panel */
#notifyPanel {
    position: fixed;
    bottom: 100px;
    left: 20px;
    width: 320px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,.3);
    z-index: 99999;
    display: none;
    overflow: hidden;
}

/* Header */
.notify-header {
    background: #e88408;
    color: #fff;
    padding: 12px 14px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}



/* List */
.notify-list {
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: thin;
}

/* Optional nice scrollbar (Chrome) */
.notify-list::-webkit-scrollbar {
    width: 6px;
}
.notify-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.notify-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #000;
}

.notify-item img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}

.notify-item h4 {
    font-size: 13px;
    margin: 0;
    line-height: 1.3;
}

.notify-item span {
    font-size: 11px;
    color: #777;
}
.notify-header button {
    background: transparent !important;
    border: none;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

/* Remove hover background */
.notify-header button:hover,
.notify-header button:focus,
.notify-header button:active {
    background: transparent !important;
    outline: none;
    box-shadow: none;
}
/* NEW badge on bell */
#notifyNew {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff7a18;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    display: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
