body {
    background:#0b0b0b;
    color:white;
    font-family:Arial,sans-serif;
    margin:0;
    padding:20px;
}


h1 {
    text-align:center;
    font-size:38px;
}


.section {

    margin-top:40px;

}


.section h2 {

    margin-left:10px;

}



.row {

    display:flex;
    overflow-x:auto;
    gap:20px;
    padding:10px;

}



.card {

    min-width:180px;
    background:#181818;
    border-radius:12px;
    overflow:hidden;
    transition:.25s;

}


.card:hover {

    transform:scale(1.08);

}



.poster {

    width:180px;
    height:270px;
    object-fit:cover;

}



.info {

    padding:10px;

}



.title {

    font-weight:bold;
    font-size:15px;

}



.meta {

    color:#aaa;
    margin-top:5px;
    font-size:13px;

}



.progress {

    height:5px;
    background:#333;

}



.progress span {

    display:block;
    height:100%;
    background:#e50914;

}



a {

    color:white;
    text-decoration:none;

}



.grid {

    display:grid;
    grid-template-columns:
    repeat(auto-fill,minmax(180px,1fr));

    gap:20px;

}

.collection-card {

    min-width:180px;
    background:#181818;
    border-radius:12px;
    overflow:hidden;
    transition:.25s;

}


.collection-card:hover {

    transform:scale(1.08);

}


.collection-poster {

    width:180px;
    height:270px;
    object-fit:cover;

}


.collection-info {

    padding:10px;

}


.collection-title {

    font-weight:bold;
    font-size:15px;

}


.collection-count {

    color:#aaa;
    margin-top:5px;
    font-size:13px;

}


.search-box {

    text-align:center;
    margin-bottom:30px;

}


.search-box input {

    width:60%;
    max-width:500px;

    padding:15px;

    border-radius:25px;

    border:none;

    background:#222;

    color:white;

    font-size:18px;

}


.search-box input:focus {

    outline:none;
    background:#333;

}


#loadMore {
    display:block;
    margin:30px auto 50px;
    padding:12px 35px;
    background:#e50914;
    color:white;
    border:0;
    border-radius:25px;
    font-size:16px;
}

.nav {

    text-align:center;
    margin-bottom:30px;

}


.nav a {

    display:inline-block;
    background:#222;
    padding:10px 20px;
    margin:5px;
    border-radius:10px;
    font-size:18px;

}


.nav a:hover {

    background:#333;

}

.section-header {

    display:flex;
    align-items:center;
    justify-content:space-between;

}


.clear-history {

    background:#222;
    color:white;
    border:1px solid #555;

    padding:8px 18px;

    border-radius:20px;

    cursor:pointer;

    margin-right:20px;

}


.clear-history:hover {

    background:#e50914;

}

#scanButton {

    background:#e50914;
    color:white;

    border:none;

    padding:10px 20px;

    border-radius:20px;

    cursor:pointer;

    margin:20px;

}


#scanButton:hover {

    background:#f40612;

}