* {margin:0;padding:0;box-sizing:border-box;}

body {
    font-family:'Inter', sans-serif;
    background:#0d0f1c;
    color:#f0f0f0;
    line-height:1.6;
    overflow-x:hidden;
}

a {text-decoration:none;}

header{
    position:sticky;
    top:0;
    z-index:1000;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 5%;
    backdrop-filter:blur(10px);
    background:rgba(15,15,40,0.85);
    border-bottom:1px solid rgba(255,255,255,0.05);
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{height:50px;}

.logo h1{
    font-family:'Roboto Mono', monospace;
    font-weight:700;
    font-size:22px;
    color:#fff;
}

.live-badge{
    background:linear-gradient(45deg,#ff4c4c,#ff6b6b);
    padding:8px 18px;
    border-radius:50px;
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    animation:pulse 1.5s infinite;
}

@keyframes pulse{
    0%{box-shadow:0 0 0 0 rgba(255,76,76,0.6);}
    70%{box-shadow:0 0 0 15px rgba(255,76,76,0);}
    100%{box-shadow:0 0 0 0 rgba(255,76,76,0);}
}

.ticker{
    background:#121424;
    color:#f0f0f0;
    font-weight:500;
    padding:10px 5%;
    overflow:hidden;
    white-space:nowrap;
    border-top:1px solid rgba(255,255,255,0.05);
    border-bottom:1px solid rgba(255,255,255,0.05);
}

.ticker span{
    display:inline-block;
    padding-left:100%;
    animation:scroll 20s linear infinite;
}

@keyframes scroll{
    0%{transform:translateX(0);}
    100%{transform:translateX(-100%);}
}

.hero{
    text-align:center;
    padding:80px 5% 50px;
}

.hero h2{
    font-family:'Roboto Mono', monospace;
    font-size:42px;
    font-weight:700;
    color:#fff;
    margin-bottom:15px;
    text-shadow:0 0 20px #ff4c4c,0 0 30px #ff6b6b;
}

.hero p{
    font-size:18px;
    color:#cfd8fc;
    max-width:700px;
    margin:auto;
}

.author{
    margin-top:12px;
    color:#94a3b8;
    font-size:14px;
}

.dashboard{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:30px;
    padding:50px 5%;
}

.card{
    background:rgba(25,25,50,0.6);
    backdrop-filter:blur(10px);
    border-radius:20px;
    padding:25px 20px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    transition:0.3s;
    box-shadow:0 10px 30px rgba(0,0,0,0.5);
    text-align:center;
}

.card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(255,76,76,0.3);
}

.card i{
    font-size:40px;
    color:#ff4c4c;
    margin-bottom:12px;
    transition:0.3s;
}

.card.blink i{
    animation:pulse 1.5s infinite;
}

.card:hover i{
    color:#ff6b6b;
}

.card span{
    margin-top:5px;
    font-weight:600;
    font-size:14px;
    color:#f0f0f0;
}

.app-banner{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:25px;
    padding:30px 5%;
    background:rgba(15,15,40,0.6);
    border-radius:20px;
    margin:50px 5%;
    border:1px solid rgba(255,255,255,0.05);
    backdrop-filter:blur(10px);
    flex-wrap:wrap;
}

.app-banner span{
    color:#f0f0f0;
    font-weight:600;
    margin-right:15px;
    flex-basis:100%;
    text-align:center;
    margin-bottom:10px;
}

.app-banner a img{
    height:50px;
    max-width:100%;
    transition:0.3s;
}

.app-banner a img:hover{
    transform:scale(1.1);
}

footer{
    text-align:center;
    padding:35px 5%;
    font-size:14px;
    color:#94a3b8;
    border-top:1px solid rgba(255,255,255,0.05);
}

.footer-links{
    margin-bottom:15px;
}

.footer-links a{
    color:#cfd8fc;
    margin:0 15px;
    text-decoration:none;
    font-weight:500;
}

.footer-links a i{
    margin-right:6px;
}

.footer-links a:hover{
    color:#ff4c4c;
}

/* --- Collapsible Other List --- */
.other-list {
    position: relative;
    font-size: 14px;
    color: #f0f0f0;
    cursor: pointer;
    user-select: none;
}

.other-list span {
    font-weight: 600;
    color: #ff4c4c;
    padding: 5px 12px;
    background: rgba(25,25,50,0.4);
    border-radius: 8px;
    display: inline-block;
    transition:0.3s;
}

.other-list span:hover {
    background: rgba(255,76,76,0.2);
    color:#ff6b6b;
}

/* Hidden list initially */
.other-list ul {
    display: none;
    position: absolute;
    top: 35px;
    right: 0;
    background: rgba(15,15,40,0.9);
    border-radius: 8px;
    list-style:none;
    padding:10px 0;
    min-width:200px;
    box-shadow:0 10px 20px rgba(0,0,0,0.5);
    z-index:1001;
}

.other-list ul li {
    padding:8px 15px;
    transition:0.3s;
}

.other-list ul li a {
    color:#cfd8fc;
    display:block;
}

.other-list ul li:hover {
    background: rgba(255,76,76,0.2);
    border-radius:6px;
    color:#ff6b6b;
}

@media(max-width:800px){
    .other-list ul {
        right: 0;
        top: 30px;
    }
}

/* Responsive */
@media(max-width:600px){

    .dashboard{
        grid-template-columns:repeat(auto-fit,minmax(100px,1fr));
        gap:20px;
    }

    .hero h2{
        font-size:32px;
    }

    .app-banner{
        gap:15px;
        padding:20px 5%;
    }

    .app-banner a img{
        height:45px;
    }

}