*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

body{
background:#f5f5f5;
}

/* ================= NAVBAR ================= */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:12px 15px;
background:white;
box-shadow:0 2px 5px rgba(0,0,0,0.1);
position:sticky;
top:0;
z-index:100;
}

.nav-left{
display:flex;
align-items:center;
gap:10px;
}

.logo{
height:50px;
}

.menu-btn{
font-size:24px;
background:none;
border:none;
cursor:pointer;
margin-left:10px;
}

.nav-center{
display:flex;
gap:30px;
}

.nav-center a{
text-decoration:none;
font-size:15px;
color:#333;
font-weight:600;
}

.nav-center a:hover{
color:#d80000;
}

.nav-right{
display:flex;
align-items:center;
gap:10px;
}

.search{
padding:16px 10px;
border-radius:20px;
border:1px solid #ccc;
}

.location{
padding:6px;
border-radius:5px;
}

.profile{
width:32px;
height:32px;
border-radius:50%;
cursor:pointer;
}

/* ================= SIDEBAR ================= */

.sidebar{
width:220px;
background:white;
height:100vh;
position:fixed;
left:-220px;
top:70px;
transition:0.3s;
box-shadow:2px 0 5px rgba(0,0,0,0.1);
z-index:99;
}

.sidebar ul{
list-style:none;
}

.sidebar li{
padding:15px;
border-bottom:1px solid #eee;
cursor:pointer;
}

.sidebar li:hover{
background:#f0f0f0;
}

/* ================= CONTENT ================= */

.content{
padding:15px;
margin-left:0;
}

/* content layout */

.content-flex{
display:flex;
gap:20px;
}

/* ================= NEWS LIST ================= */

.news-list{
flex:2;
}

/* ================= LIVE UPDATE ================= */

.live-updates{
width:260px;
background:white;
padding:12px;
border-radius:8px;
height:fit-content;
box-shadow:0 2px 5px rgba(0,0,0,0.1);
}

.live-updates h3{
font-size:16px;
margin-bottom:10px;
border-bottom:1px solid #eee;
padding-bottom:5px;
}

.live-item{
font-size:14px;
padding:8px 0;
border-bottom:1px solid #eee;
}

/* ================= NEWS CARD ================= */

.news-card{
display:flex;
justify-content:space-between;
background:white;
padding:12px;
margin-bottom:15px;
border-radius:8px;
box-shadow:0 2px 5px rgba(0,0,0,0.05);
}

.news-text{
width:60%;
}

.news-text h3{
font-size:16px;
color:#d80000;
margin-bottom:5px;
}

.news-text p{
font-size:14px;
color:#444;
}

.tag{
display:inline-block;
margin-top:6px;
background:#eee;
padding:3px 8px;
border-radius:20px;
font-size:12px;
}

/* ================= NEWS VIDEO ================= */

.news-video{
width:15%;
position:relative;
}

.news-video img{
width:100%;
border-radius:6px;
}

.time{
position:absolute;
bottom:5px;
right:5px;
background:black;
color:white;
font-size:12px;
padding:2px 6px;
border-radius:4px;
}

/* ================= DESKTOP ================= */

@media(min-width:900px){

.sidebar{
left:0;
}

.content{
margin-left:220px;
}

.menu-btn{
display:none;
}

.mobile-footer{
display:none;
}

}

/* ================= MOBILE ================= */

@media(max-width:900px){

.nav-center{
display:none;
}

.search{
display:none;
}

.location{
position:absolute;
left:70%;
transform:translateX(-50%);
}

.menu-btn{
position:absolute;
right:15px;
}

.content-flex{
flex-direction:column;
}

/* live updates horizontal scroll */

.live-updates{
display:flex;
overflow-x:auto;
gap:10px;
background:none;
box-shadow:none;
padding:5px 0;
}

.live-item{
min-width:200px;
background:white;
padding:10px;
border-radius:8px;
box-shadow:0 2px 5px rgba(0,0,0,0.1);
border:none;
}

/* space for footer */

.content{
padding-bottom:80px;
}

}
/* ================= SIDEBAR LINK FIX ================= */

.sidebar li a{
    text-decoration:none;   /* remove underline */
    color:#333;             /* normal text color */
    display:block;          /* full clickable area */
    width:100%;
}

/* hover effect */
.sidebar li a:hover{
    color:#d80000;
}

/* remove blue after click */
.sidebar li a:visited{
    color:#333;
}

/* active click */
.sidebar li a:active{
    color:#d80000;
}
/* ================= MOBILE FOOTER ================= */

/* MOBILE FOOTER */

.mobile-footer{
display:none;   /* hide by default */

position:fixed;
bottom:0;
left:0;
width:100%;
background:white;
justify-content:space-around;
align-items:center;
padding:8px 0;
box-shadow:0 -2px 6px rgba(0,0,0,0.15);
z-index:200;
}

.footer-item{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
text-decoration:none;
color:#333;
font-size:11px;
}

.footer-item img{
width:22px;
height:22px;
margin-bottom:3px;
}

/* SHOW FOOTER ONLY IN MOBILE */

@media(max-width:900px){

.mobile-footer{
display:flex;
}

}
/* ================= RIGHT PANEL ================= */

.right-panel{
flex:1;
display:flex;
flex-direction:column;
gap:15px;
}

/* Live Cricket box */
.live-cricket{
background:white;
padding:12px;
border-radius:8px;
box-shadow:0 2px 5px rgba(0,0,0,0.1);
}

.live-cricket h3{
font-size:16px;
margin-bottom:10px;
border-bottom:1px solid #eee;
padding-bottom:5px;
}

/* Desktop 3 column layout fix */
@media(min-width:900px){

.content-flex{
display:flex;
gap:20px;
align-items:flex-start;
}

.news-list{
flex:2;
}

.right-panel{
flex:1;
}

}

/* Mobile adjustments */
@media(max-width:900px){

.right-panel{
width:100%;
}

/* stack cricket below updates */
.live-cricket{
margin-top:10px;
}

}
.live-cricket{
border-left:4px solid red;
}
/* ================= REELS PAGE (FINAL UI) ================= */

/* CONTAINER */
.reels-container{
margin-top:70px;
padding:15px;
}

/* ================= DESKTOP GRID ================= */

@media(min-width:900px){

.reels-container{
display:grid;
grid-template-columns:repeat(4, 1fr);
gap:20px;
}

/* CARD */
.reel{
position:relative;
height:420px;
border-radius:10px;
overflow:hidden;
background:black;
cursor:pointer;
}

/* VIDEO */
.reel video{
width:100%;
height:100%;
object-fit:cover;
}

/* DARK GRADIENT */
.reel::after{
content:'';
position:absolute;
bottom:0;
left:0;
width:100%;
height:60%;
background:linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

/* PLAY BUTTON */
.reel::before{
content:'\f04b';
font-family:"Font Awesome 6 Free";
font-weight:900;
position:absolute;
top:50%;
left:50%;
transform:translate(-50%, -50%);
background:rgba(0,0,0,0.6);
color:white;
width:60px;
height:60px;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
font-size:20px;
z-index:2;
}

/* TEXT */
.reel-content{
position:absolute;
bottom:10px;
left:10px;
right:10px;
color:white;
z-index:2;
}

.reel-content h3{
font-size:18px;
margin-bottom:5px;
}

.reel-content p{
font-size:14px;
color:#ccc;
}

/* HOVER */
.reel:hover{
transform:scale(1.03);
transition:0.2s;
}

}

/* ================= MOBILE REELS ================= */

@media(max-width:900px){

.reels-container{
height:calc(100vh - 70px);
overflow-y:scroll;
scroll-snap-type:y mandatory;
padding:0;
background:black;
}

/* FULL SCREEN REEL */
.reel{
position:relative;
height:100%;
width:100%;
scroll-snap-align:start;
display:flex;
justify-content:center;
align-items:center;
}

/* VIDEO */
.reel video{
height:100%;
width:100%;
object-fit:cover;
}

/* GRADIENT */
.reel::after{
content:'';
position:absolute;
bottom:0;
left:0;
width:100%;
height:40%;
background:linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

/* TEXT */
.reel-content{
position:absolute;
bottom:20px;
left:15px;
color:white;
z-index:2;
max-width:90%;
}

.reel-content h3{
font-size:18px;
}

.reel-content p{
font-size:14px;
}

/* SMALL PLAY BUTTON */
.reel::before{
content:'\f04b';
font-family:"Font Awesome 6 Free";
font-weight:900;
position:absolute;
top:50%;
left:50%;
transform:translate(-50%, -50%);
background:rgba(0,0,0,0.5);
color:white;
width:50px;
height:50px;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
font-size:16px;
z-index:2;
}

}