/* ==========================
   NovaPlay Main Style
========================== */


* {

    box-sizing:border-box;

    font-family:Arial, Helvetica, sans-serif;

}



body {

    margin:0;

    background:#0b0b14;

    color:white;

}



/* ==========================
   Navbar
========================== */


nav {

    height:75px;

    width:100%;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 35px;

    background:#151526;

    position:sticky;

    top:0;

    z-index:10;

}



.logo {

    font-size:32px;

    font-weight:900;

}



.navlinks {

    display:flex;

    align-items:center;

    gap:20px;

}



.navlinks a {

    color:white;

    text-decoration:none;

    padding:12px 18px;

    border-radius:25px;

    transition:.3s;

}



.navlinks a:hover {

    background:#30304d;

    transform:translateY(-2px);

}




button {

    border:none;

    background:#5865f2;

    color:white;

    padding:12px 22px;

    border-radius:25px;

    cursor:pointer;

    font-size:16px;

    transition:.3s;

}



button:hover {

    transform:scale(1.05);

    background:#7289ff;

}






/* ==========================
   Hero
========================== */


.hero {

    padding:80px 40px;

    text-align:center;

}



.hero h1 {

    font-size:55px;

}



.hero p {

    font-size:22px;

    color:#aaa;

}






/* ==========================
   Game Library
========================== */


.library {

    padding:30px;

}



#search {

    width:100%;

    padding:18px;

    border-radius:30px;

    border:none;

    background:#151526;

    color:white;

    font-size:18px;

    margin-bottom:30px;

}




.games {

    display:grid;

    grid-template-columns:

    repeat(auto-fill,minmax(230px,1fr));

    gap:25px;

}





.game-card {

    background:#151526;

    padding:20px;

    border-radius:25px;

    cursor:pointer;

    transition:.3s;

}



.game-card:hover {

    transform:translateY(-8px);

    background:#20203a;

}




.game-image {

    width:100%;

    height:160px;

    object-fit:cover;

    border-radius:20px;

}







/* ==========================
   Featured
========================== */


.featured {

    padding:40px;

}



.featured-card {

    background:#151526;

    padding:25px;

    border-radius:30px;

    display:flex;

    gap:25px;

    cursor:pointer;

}



.featured-card img {

    width:250px;

    border-radius:20px;

}






/* ==========================
   Login
========================== */


.login-box {

    width:400px;

    max-width:90%;

    margin:100px auto;

    background:#151526;

    padding:40px;

    border-radius:30px;

    text-align:center;

}



.login-box input {

    width:100%;

    padding:15px;

    margin:10px 0;

    border:none;

    border-radius:25px;

    background:#0b0b14;

    color:white;

}








/* ==========================
   Game Player
========================== */


.player-page {

    padding:30px;

}



.game-info {

    display:flex;

    gap:30px;

    align-items:center;

    margin-bottom:30px;

}



.game-cover {

    width:200px;

    border-radius:25px;

}



.game-container {

    width:100%;

    height:80vh;

    background:black;

    border-radius:30px;

    overflow:hidden;

}



.game-container iframe {

    width:100%;

    height:100%;

    border:none;

}







/* ==========================
   Browser Page
========================== */


.browser-page {

    width:100%;

    min-height:calc(100vh - 80px);

    padding:20px;

    text-align:center;

}



.browser-window {

    width:100%;

    height:calc(100vh - 150px);

    background:#111;

    border-radius:30px;

    overflow:hidden;

}



.browser-top {

    height:55px;

    background:#20203a;

    display:flex;

    align-items:center;

    padding-left:25px;

    font-size:20px;

}



#browserFrame {

    width:100%;

    height:calc(100% - 55px);

    border:none;

}






/* ==========================
   Favorites
========================== */


.link-box {

    background:#151526;

    padding:40px;

    border-radius:30px;

}





/* ==========================
   Mobile
========================== */


@media(max-width:700px){


nav {

    flex-direction:column;

    height:auto;

    padding:20px;

}



.navlinks {

    flex-wrap:wrap;

    justify-content:center;

}



.game-info {

    flex-direction:column;

}



.hero h1 {

    font-size:35px;

}



}