body{
background:#0a0f1c;
font-family:'Poppins',sans-serif;
color:#edf2f7;
}

.match-tile{
background:#131d2f;
border-radius:32px;
border:1px solid #253247;
overflow:hidden;
display:flex;
flex-direction:column;
box-shadow:0 15px 30px -10px rgba(0,0,0,0.8);
transition:.25s;
}

.match-tile:hover{
background:#17253b;
border-color:#3b82f6;
transform:scale(1.02) translateY(-4px);
box-shadow:0 25px 40px -8px #1e3a8a40;
}

.img-wrapper{
overflow:hidden;
height:210px;
position:relative;
}

.match-img{
width:100%;
height:100%;
object-fit:cover;
}

.live-badge{
background:#b91c1c;
color:white;
font-size:12px;
padding:4px 10px;
border-radius:20px;
position:absolute;
top:12px;
left:12px;

animation:liveBlink 1s infinite;
}

@keyframes liveBlink{
0%{opacity:1;}
50%{opacity:0.3;}
100%{opacity:1;}
}
.scheduled-badge{
background:rgba(0,0,0,.6);
color:white;
font-size:12px;
padding:4px 10px;
border-radius:20px;
position:absolute;
top:12px;
left:12px;
}

.watch-btn{
background:#2563eb;
border-radius:50px;
padding:12px;
font-weight:600;
display:flex;
align-items:center;
justify-content:center;
gap:6px;
margin-top:12px;
}

.watch-btn:hover{
background:#1d4ed8;
}

.not-live{
background:#334155;
cursor:not-allowed;
pointer-events:none;
}

/* TELEGRAM POPUP */

.modal{
position:fixed;
top:0;
left:0;
width:100vw;
height:100vh;
backdrop-filter:blur(6px);
background:rgba(0,0,0,0.4);
display:flex;
justify-content:center;
align-items:center;
z-index:9999;
}

.modal.hidden{
display:none!important;
}

.modal-content{
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,255,255,0.1);
border-radius:20px;

padding:30px 25px;

/* FIX SIDE SPACE */
width:calc(100% - 40px);
max-width:420px;
margin-left:20px;
margin-right:20px;

text-align:center;
color:#f3f4f6;

box-shadow:0 8px 32px rgba(0,0,0,0.4);
backdrop-filter:blur(12px);
}

.modal-content h2{
font-size:24px;
font-weight:700;
color:#facc15;
margin-bottom:16px;
}

.modal-content p{
font-size:16px;
color:#d1d5db;
margin-bottom:24px;
}

.modal-content .btn{
width:100%;
padding:14px;
font-size:16px;
font-weight:600;
border:none;
border-radius:14px;
margin-bottom:12px;
cursor:pointer;
}

#joinButton{
background:linear-gradient(90deg,#3b82f6,#06b6d4);
color:#fff;
}

#closeButton{
background:rgba(255,255,255,0.1);
color:#f3f4f6;
}