*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:
    linear-gradient(rgba(0,0,0,.85), rgba(0,0,0,.92)),
    #120505;

    color:white;
    min-height:100vh;
    overflow-x:hidden;
}

header{
    text-align:center;
    padding:40px 20px;
}

.logo{
    width:220px;
    max-width:90%;
    margin-bottom:20px;
    filter:drop-shadow(0 0 20px rgba(255,215,0,.4));
}

h1{
    font-size:3rem;
    color:#d4af37;
    text-shadow:0 0 20px rgba(212,175,55,.5);
}

header p{
    color:#c7a96b;
    margin-top:10px;
    font-size:1.1rem;
}

.upload-section,
.search-section{
    width:90%;
    max-width:900px;
    margin:20px auto;
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    justify-content:center;
}

input{
    padding:14px;
    border:none;
    border-radius:12px;
    background:#1d1d1d;
    color:white;
    min-width:250px;
    border:1px solid #5a1b1b;
}

input:focus{
    outline:none;
    border-color:#d4af37;
    box-shadow:0 0 10px #d4af37;
}

button{
    padding:14px 24px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    background:linear-gradient(45deg,#d4af37,#8b0000);
    color:white;
    font-weight:bold;
    transition:.3s;
}

button:hover{
    transform:scale(1.05);
    box-shadow:0 0 20px rgba(212,175,55,.5);
}

.audio-list{
    width:90%;
    max-width:1100px;
    margin:40px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:25px;
}

.audio-card{
    background:rgba(40,10,10,.9);
    border:1px solid rgba(212,175,55,.3);
    border-radius:20px;
    padding:20px;
    box-shadow:0 0 20px rgba(0,0,0,.4);
    transition:.3s;
}

.audio-card:hover{
    transform:translateY(-5px);
    box-shadow:0 0 25px rgba(212,175,55,.3);
}

.audio-card h3{
    color:#d4af37;
    margin-bottom:15px;
}

audio{
    width:100%;
    margin-bottom:15px;
}

.delete-btn{
    background:#8b0000;
    width:100%;
}

.delete-btn:hover{
    background:#c40000;
}

@media(max-width:768px){

    h1{
        font-size:2rem;
    }

    .upload-section,
    .search-section{
        flex-direction:column;
        align-items:center;
    }

    input,
    button{
        width:100%;
    }

}


.pagination{
    width:90%;
    max-width:1100px;
    margin:20px auto 50px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.page-btn{
    width:38px;
    height:38px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    background:linear-gradient(145deg,#f5f5f5,#cfcfcf);
    color:#111;
    font-weight:bold;
    transition:.3s;
    box-shadow:0 0 10px rgba(0,0,0,.4);
}

.page-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 0 18px rgba(212,175,55,.6);
}

.page-btn.active{
    background:linear-gradient(145deg,#ffd45a,#b8871b);
    color:#111;
    box-shadow:0 0 18px rgba(212,175,55,.8);
}