*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:sans-serif;
}

body{
display:flex;
background:#090d18;
color:white;
height:100vh;
overflow:hidden;
}

/* SIDEBAR */

.sidebar{
width:90px;
background:#111627;
border-right:2px solid #5865F2;
transition:.4s;
overflow:hidden;
padding-top:20px;
}

.sidebar.active{
width:250px;
}

.top-side{
display:flex;
flex-direction:column;
align-items:center;
gap:20px;
}

.menu-btn{
width:40px;
cursor:pointer;
}

.menu-btn span{
display:block;
height:5px;
margin:6px 0;
background:white;
border-radius:20px;
transition:.3s;
}

.logo{
width:60px;
height:60px;
border-radius:50%;
background:linear-gradient(45deg,#5865F2,#FFD700);
display:flex;
align-items:center;
justify-content:center;
font-size:25px;
}

.menu{
list-style:none;
margin-top:50px;
}

.menu li{
display:flex;
align-items:center;
gap:15px;
padding:18px 25px;
cursor:pointer;
transition:.3s;
white-space:nowrap;
}

.menu li:hover{
background:#5865F2;
box-shadow:0 0 20px #5865F2;
}

.menu li i{
font-size:22px;
min-width:30px;
}

.menu li span{
font-size:18px;
opacity:0;
transition:.3s;
}

.sidebar.active .menu li span{
opacity:1;
}

/* MAIN */

.main{
flex:1;
padding:25px;
overflow:auto;
}

/* TOPBAR */

.topbar{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:30px;
}

.topbar h1{
font-size:40px;
color:#FFD700;
text-shadow:0 0 15px #FFD700;
}

.profile{
width:60px;
height:60px;
border-radius:50%;
background:linear-gradient(45deg,#5865F2,#FFD700);
}

/* CARDS */

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
margin-bottom:30px;
}

.card{
background:rgba(255,255,255,.05);
border:1px solid rgba(255,255,255,.1);
padding:25px;
border-radius:20px;
backdrop-filter:blur(15px);
transition:.3s;
}

.card:hover{
transform:translateY(-5px);
box-shadow:0 0 25px #5865F2;
}

.glow{
box-shadow:0 0 25px #FFD700;
}

.card h2{
color:#5865F2;
margin-bottom:10px;
}

.action-btn{
margin-top:15px;
padding:12px 20px;
border:none;
border-radius:12px;
background:#5865F2;
color:white;
cursor:pointer;
font-size:16px;
transition:.3s;
}

.action-btn:hover{
background:#FFD700;
color:black;
transform:scale(1.05);
}

/* SERVER BOX */

.server-box{
background:rgba(255,255,255,.05);
padding:30px;
border-radius:20px;
margin-bottom:30px;
border:1px solid rgba(255,255,255,.1);
}

.server-box h2{
margin-bottom:20px;
color:#FFD700;
}

.server-box input,
.server-box select{
width:100%;
padding:15px;
margin:10px 0;
border:none;
border-radius:12px;
background:#151b35;
color:white;
font-size:16px;
}

.big-btn{
width:100%;
padding:15px;
margin-top:15px;
border:none;
border-radius:15px;
background:linear-gradient(45deg,#5865F2,#FFD700);
font-size:18px;
font-weight:bold;
cursor:pointer;
transition:.3s;
}

.big-btn:hover{
transform:scale(1.02);
box-shadow:0 0 20px #FFD700;
}

/* CONSOLE */

.console-box{
background:#0f1425;
padding:20px;
border-radius:20px;
border:1px solid #5865F2;
}

.console-top{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
}

.console-top h2{
color:#FFD700;
}

.console-actions{
display:flex;
gap:10px;
}

.console-actions button{
padding:10px 15px;
border:none;
border-radius:10px;
background:#5865F2;
color:white;
cursor:pointer;
transition:.3s;
}

.console-actions button:hover{
background:#FFD700;
color:black;
}

.console{
height:400px;
overflow:auto;
background:black;
padding:20px;
border-radius:15px;
font-family:monospace;
color:#00ff66;
line-height:30px;
font-size:15px;
box-shadow:inset 0 0 20px #000;
}

/* MOBILE */

@media(max-width:800px){

.cards{
grid-template-columns:1fr;
}

.topbar h1{
font-size:28px;
}

.console{
height:300px;
}

}