/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#090b10;
    color:#fff;
    font-family:Arial,Helvetica,sans-serif;
}

/* LAYOUT */

.layout{
    display:flex;
    min-height:100vh;
}

/* MENU */

.sidebar{
    width:260px;
    background:#111722;
    border-right:1px solid #00e5ff22;
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    padding:25px;
    overflow-y:auto;
}

.logo{
    text-align:center;
    margin-bottom:30px;
}

.logo h2{
    margin-top:10px;
    color:#00e5ff;
    font-size:30px;
    text-shadow:0 0 15px #00e5ff;
}

.search{
    width:100%;
    height:45px;
    border:none;
    outline:none;
    border-radius:12px;
    background:#1b2330;
    color:white;
    padding:0 15px;
    margin-bottom:25px;
}

.search:focus{
    box-shadow:0 0 15px #00e5ff88;
}

.sidebar nav{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.category-btn{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#1b2330;
    color:white;
    cursor:pointer;
    transition:.25s;
    text-align:left;
}

.category-btn:hover,
.category-btn.active{
    background:linear-gradient(90deg,#00cfff,#ff00d4);
}

/* CONTEÚDO */

.content{
    flex:1;
    margin-left:260px;
    padding:35px;
}

.featured{
    width:100%;
}

/* GRID DOS JOGOS */

.games{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(190px,1fr));
    gap:22px;
}

/* CARD */

.game{
    background:#171d28;
    border-radius:18px;
    overflow:hidden;
    cursor:pointer;
    transition:.25s;
    border:1px solid #00e5ff22;
}

.game:hover{
    transform:translateY(-8px);
    box-shadow:0 0 18px #00e5ff55;
}

.game img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.game-content{
    padding:15px;
}

.game-content h3{
    text-align:center;
    font-size:18px;
}

.games-message{
    text-align:center;
    padding:80px;
    color:#888;
    grid-column:1/-1;
}

/* ===== PÁGINA DO JOGO ===== */

#gameTitle{
    margin-bottom:20px;
}

.game-layout{
    display:flex;
    align-items:flex-start;
    gap:30px;
}

.game-player{
    flex:1;
}

.game-player iframe{
    width:100%;
    height:620px;
    border:none;
    border-radius:18px;
    background:#000;
}

.game-ad{
    width:300px;
    flex-shrink:0;
}

.ad-box{
    width:100%;
    height:620px;
    border:2px dashed #00e5ff;
    border-radius:16px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#171d28;
    color:#888;
    font-size:24px;
}

.bottom-ad{
    margin-top:25px;
    display:flex;
    justify-content:center;
}

.horizontal{
    width:728px;
    max-width:100%;
    height:90px;
}

/* FOOTER */

footer{
    margin-top:50px;
    padding:30px;
    text-align:center;
    border-top:1px solid #00e5ff22;
    color:#888;
}

/* SCROLL */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:#00cfff;
    border-radius:20px;
}

::-webkit-scrollbar-track{
    background:#10141d;
}

/* RESPONSIVO */

@media(max-width:1200px){

.game-layout{
    flex-direction:column;
}

.game-ad{
    width:100%;
}

.ad-box{
    height:120px;
}

}

@media(max-width:900px){

.sidebar{
    position:relative;
    width:100%;
    height:auto;
}

.content{
    margin-left:0;
}

.games{
    grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
}

}/* ============================= */
/*       JOGOS POPULARES         */
/* ============================= */

.popular-games{
    margin-top:15px;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.popular-card{

    display:flex;
    align-items:center;
    gap:12px;

    padding:8px;

    background:#171d28;
    border:1px solid #00e5ff22;
    border-radius:12px;

    cursor:pointer;

    transition:.25s;

}

.popular-card:hover{

    transform:translateX(5px) scale(1.03);

    border-color:#00e5ff;

    box-shadow:
    0 0 12px rgba(0,229,255,.35);

}

.popular-card img{

    width:85px;
    height:55px;

    object-fit:cover;

    border-radius:8px;

    flex-shrink:0;

}

.popular-card span{

    font-size:14px;
    font-weight:bold;

    color:white;

    line-height:1.3;

}

.sidebar h3{

    color:#00e5ff;

    text-align:center;

    margin-bottom:15px;

    text-shadow:0 0 10px rgba(0,229,255,.4);

}