* {
    margin:0;
    padding:0;
    box-sizing:border-box;
}


body {

    background:#111;

    color:white;

    font-family:Arial, sans-serif;

}


/* =========================
   HOMEPAGE
========================= */


header {

    text-align:center;

    padding:40px 20px;

    position:relative;

}


.logo {

    position:absolute;

    right:40px;

    top:30px;

    width:100px;

    height:100px;

    object-fit:contain;

}



header h1 {

    font-size:45px;

}


header h3 {

    margin-top:15px;

    color:#aaa;

}




.games {

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:25px;

    padding:40px;

}



.game-card {

    background:#222;

    border-radius:12px;

    overflow:hidden;

    text-decoration:none;

    color:white;

}



.game-card img {

    width:100%;

    height:180px;

    object-fit:contain;

    background:#000;

}



.game-card p {

    padding:15px;

    text-align:center;

}





/* =========================
   JBI PAGE HEADER
========================= */


.mod-header {

    height:160px;

    display:flex;

    align-items:center;

    justify-content:center;

    position:relative;

}



.game-logo {

    position:absolute;

    left:30px;

    width:180px;

    height:120px;

    object-fit:contain;

}



.mod-header h1 {

    font-size:35px;

    text-align:center;

}



.mod-header h3 {

    position:absolute;

    right:30px;

    top:45px;

    color:#aaa;

    font-size:18px;

}





/* =========================
   SEARCH BAR
========================= */


.search-area {

    width:100%;

    text-align:center;

    margin-top:20px;

    margin-bottom:40px;

    position:relative;

    z-index:10;

}



#search {

    width:350px;

    height:45px;

    padding:10px 15px;

    font-size:18px;

    border-radius:8px;

    border:1px solid #555;

    background:white;

    color:black;

    cursor:text;

}





/* =========================
   MOD DISPLAY
========================= */


.mods {

    width:90%;

    margin:auto;

}



.mod-item {

    background:#1d1d1d;

    padding:20px;

    margin-bottom:40px;

    border-radius:15px;

}



.mod-top {

    display:flex;

    justify-content:space-between;

    align-items:center;

}



.mod-top button {

    padding:12px 30px;

    cursor:pointer;

}



.preview {

    width:100%;

    max-height:600px;

    object-fit:contain;

    margin-top:20px;

    cursor:pointer;

}





/* =========================
   IMAGE ZOOM
========================= */


#imageViewer {

    display:none;

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,0.9);

    justify-content:center;

    align-items:center;

    z-index:999;

}



#imageViewer img {

    max-width:90%;

    max-height:90%;

}
