body{margin:0;font-family:'Segoe UI';background:#f4f7f4;}

/* HEADER */
.header{
display:flex;justify-content:space-between;align-items:center;
padding:20px 40px;background:white;border-bottom:1px solid #ddd;
}

.logo img{height:40px;}

.user-box{display:flex;gap:15px;align-items:center;}

.username{
color:#6bbf3a;font-weight:600;text-decoration:none;
}

.btn{
padding:8px 16px;background:#6bbf3a;color:white;
border-radius:6px;text-decoration:none;
}

/* AUTH */
.auth-wrapper{
height:100vh;
display:flex;
justify-content:center;
align-items:center;
}

.auth-box{
width:380px;
padding:35px;
background:white;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.auth-box h2{
margin-bottom:20px;
color:#6bbf3a;
}

input{
width:100%;
padding:12px;
margin:8px 0;
border-radius:8px;
border:1px solid #ddd;
}

button{
width:100%;
padding:12px;
background:#6bbf3a;
color:white;
border:none;
border-radius:8px;
cursor:pointer;
}

a{
color:#6bbf3a;
}

.link{
display:block;
margin-top:10px;
color:#6bbf3a;
text-align:center;
}

/* MAIN */
.main{padding:40px;}

.games{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
gap:20px;
}

.game-card{
background:white;border-radius:10px;
overflow:hidden;box-shadow:0 4px 12px rgba(0,0,0,0.08);
text-decoration:none;color:black;
}

.game-img{height:150px;background:#ccc;}

.game-img img{
    width:100%;
    height:150px;
    object-fit:cover;

    border-top-left-radius:10px;
    border-top-right-radius:10px;

    border-bottom-left-radius:0;
    border-bottom-right-radius:0;
}

.game-info{padding:15px;}

/* PROFILE FULL */
.game{
padding:40px;
max-width:400px;
margin:auto;
}

.game-box{
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 4px 12px rgba(0,0,0,0.08);
}


/* PROFILE FULL */
.profile{
padding:40px;
max-width:900px;
margin:auto;
}

.profile-box{
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

/* AGREEMENT CHECKBOX */
.auth-box label{
display:block;
font-size:13px;
color:#555;
line-height:1.5;
margin:10px 0;
}

.auth-box label input[type="checkbox"]{
width:auto;        /* zruší 100% šírku */
margin-right:8px;
transform:scale(1.1);
cursor:pointer;
}

.auth-box label a{
color:#6bbf3a;
text-decoration:none;
}

.auth-box label a:hover{
text-decoration:underline;
}

.error{
text-align:center;
color:red;
margin-bottom:10px;
font-size:14px;
}