*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial;
}

body{
    background:#0f0f0f;
    color:white;
}

.navbar{
    width:100%;
    padding:15px;
    background:#161616;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid #2a2a2a;
}

.navbar a{
    color:#d6882e;
    text-decoration:none;
}

.container{
    padding:20px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
}

.card{
    background:#1a1a1a;
    border-radius:15px;
    overflow:hidden;
    border:1px solid #2b2b2b;
    transition:0.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.video iframe{
    width:100%;
    height:220px;
}

.content{
    padding:15px;
}

.content h3{
    margin-bottom:15px;
}

.download-btn{
    display:block;
    width:100%;
    text-align:center;
    padding:12px;
    border-radius:10px;
    background:#d6882e;
    color:black;
    text-decoration:none;
    font-weight:bold;
}

.admin-box{
    grid-column:1/-1;
    background:#1a1a1a;
    padding:20px;
    border-radius:15px;
}

form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

input{
    padding:14px;
    border:none;
    border-radius:10px;
    background:#2a2a2a;
    color:white;
}

button{
    padding:14px;
    border:none;
    border-radius:10px;
    background:#d6882e;
    color:black;
    font-weight:bold;
    cursor:pointer;
}

.list{
    grid-column:1/-1;
}

.list-item{
    background:#1a1a1a;
    padding:15px;
    border-radius:12px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.delete-btn{
    background:red;
    padding:10px 15px;
    border-radius:10px;
    color:white;
    text-decoration:none;
}

.empty{
    grid-column:1/-1;
    text-align:center;
    padding:50px;
    background:#1a1a1a;
    border-radius:15px;
}

@media(max-width:600px){

    .container{
        grid-template-columns:1fr;
        padding:15px;
    }

    .video iframe{
        height:200px;
    }

}

.category-container{
    padding:20px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.category-box{
    background:#1a1a1a;
    border:1px solid #2b2b2b;
    border-radius:20px;
    padding:40px 20px;
    text-align:center;
    text-decoration:none;
    color:white;
    transition:0.3s;
}

.category-box:hover{
    transform:translateY(-5px);
    border-color:#d6882e;
}

.category-box h2{
    margin-bottom:10px;
    color:#d6882e;
}

.category-stats{
    margin-top:20px;
}

.category-stats p{
    margin:8px 0;
    color:#ccc;
    font-size:15px;
}

select{
    padding:14px;
    border:none;
    border-radius:10px;
    background:#2a2a2a;
    color:white;
}

.download-count{
    margin-top:8px;
    margin-bottom:15px;
    color:#d6882e;
    font-size:14px;
}

.login-wrapper{
    width:100%;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.login-box{
    width:100%;
    max-width:400px;
    background:#1a1a1a;
    padding:40px 30px;
    border-radius:25px;
    border:1px solid #2a2a2a;

    animation:zoomIn 0.4s ease;
}

.login-box h1{
    margin-bottom:10px;
    text-align:center;
    color:#d6882e;
}

.login-box p{
    text-align:center;
    margin-bottom:25px;
    color:#aaa;
}

.error{
    background:#ff2b2b20;
    color:#ff4d4d;
    padding:12px;
    border-radius:10px;
    margin-bottom:15px;
    text-align:center;
}

.logout-btn{
    background:red;
    color:white;
    padding:10px 15px;
    border-radius:10px;
    text-decoration:none;
    font-weight:bold;
}

@keyframes zoomIn{

    from{
        transform:scale(0.7);
        opacity:0;
    }

    to{
        transform:scale(1);
        opacity:1;
    }

}

.download-popup{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    background:rgba(0,0,0,0.7);

    display:none;

    justify-content:center;
    align-items:center;

    z-index:9999;
}

.download-box{
    width:90%;
    max-width:400px;

    background:#1a1a1a;

    padding:30px;

    border-radius:25px;

    text-align:center;

    border:1px solid #2b2b2b;

    animation:zoomIn 0.3s ease;
}

.download-box h2{
    margin-bottom:20px;
    color:#d6882e;
}

.progress-bar{
    width:100%;
    height:18px;

    background:#2a2a2a;

    border-radius:30px;

    overflow:hidden;

    margin-bottom:15px;
}

.progress-fill{
    width:0%;
    height:100%;

    background:#d6882e;

    transition:0.1s;
}

#progressText{
    color:#aaa;
    font-size:14px;
}

.search-container{
    padding:0 20px 20px 20px;
}

.search-container input{
    width:100%;

    padding:16px;

    border:none;

    outline:none;

    border-radius:15px;

    background:#1a1a1a;

    color:white;

    border:1px solid #2b2b2b;

    font-size:15px;
}

.search-container input:focus{
    border-color:#d6882e;
}

.search-wrapper{
    padding:0 20px 20px 20px;
}

.filter-box{
    margin-top:15px;
}

.checkbox-container{
    display:flex;
    align-items:center;
    gap:12px;

    color:white;

    font-size:15px;

    cursor:pointer;

    user-select:none;
}

.checkbox-container input{
    display:none;
}

.checkmark{
    width:22px;
    height:22px;

    border-radius:6px;

    border:2px solid #d6882e;

    display:flex;
    justify-content:center;
    align-items:center;

    transition:0.3s;
}

.checkbox-container input:checked + .checkmark{
    background:#d6882e;
}

.checkbox-container input:checked + .checkmark::after{

    content:'✔';

    color:black;

    font-size:14px;

    font-weight:bold;

}

.upload-date{
    color:#999;

    font-size:13px;

    margin-bottom:15px;
}

.footer-info{
    padding:20px;

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(280px,1fr));

    gap:20px;
}

.footer-card{
    background:#1a1a1a;

    border:1px solid #2b2b2b;

    border-radius:20px;

    padding:25px;

    transition:0.3s;
}

.footer-card:hover{
    transform:translateY(-5px);

    border-color:#d6882e;
}

.footer-card h2{
    color:#d6882e;

    margin-bottom:15px;

    font-size:20px;
}

.footer-card p{
    color:#bbb;

    line-height:1.7;

    font-size:14px;
}