/* ===========================
   RESET
=========================== */
.hidden {
	display: none;
}
.spaceA {
	padding:20px 0 70px;
}

.nicelink { text-decoration: none; color: white; transition: .25s; font-weight: 500; display: inline-block; }
.nicelink:hover{

    color:#3b82f6;

}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
	scrollbar-gutter: stable;

}

body{

    font-family:'Inter',sans-serif;

    background:#111827;
    color:#F9FAFB;

}

/* ===========================
   CONTAINER
=========================== */

.container{

    width:min(1300px,90%);
    margin:auto;

}

/* ===========================
   HEADER
=========================== */

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    background:#111827ee;

    backdrop-filter:blur(12px);

    border-bottom:1px solid #1f2937;

    z-index:1000;

}
.steam-login {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 9px 15px;

    background: #171a21;
    color: #e5e7eb;

    border: 1px solid #2a2f3a;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.steam-login:hover {
    background: #20242d;
    border-color: #3b82f6;

    color: white;

    transform: translateY(-1px);
}
.navbar{

    height:80px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}
.nav-right{
    display:flex;
    align-items:center;
    gap:35px;
}
.logo-title {
    font-size: 24px;
    font-weight: 700;
    color: #3b82f6;
}

.logo-tagline {
    margin-top: 3px;
    margin-left: 12px;
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
    letter-spacing: 0.5px;
}


nav{

    display:flex;

    gap:35px;

}

/* ===========================
   HERO
=========================== */

.hero{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

}

.hero h1{

    font-size:58px;

    margin-bottom:20px;

}

.hero p{

    color:#9ca3af;

    font-size:18px;

    margin-bottom:35px;

}

/* ===========================
   BUTTON
=========================== */

.button,
button{

    background:#2563eb;

    color:white;

    border:none;

    padding:15px 30px;

    border-radius:10px;

    cursor:pointer;

    text-decoration:none;

    font-size:16px;

    transition:.25s;

}

.button:hover,
button:hover{

    background:#3b82f6;

    transform:translateY(-3px);

}

/* ===========================
   SECTIONS
=========================== */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    max-width: 1200px;
    margin: 0 auto 18px;

    padding: 10px 14px;

    background: rgba(255, 255, 255, 0.025);
    border-radius: 8px;
}

.section-header h2 {
    margin: 0;
    font-size: 21px;
    font-weight: 600;
}

.refresh-btn {
    padding: 6px 12px;
    border: 0;
    border-radius: 6px;

    background: rgba(255, 255, 255, 0.07);
    color: #fff;

    cursor: pointer;
}

.refresh-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

section{

    padding:120px 0;

}

section h2{

    font-size:34px;

    margin-bottom:45px;

}



/* ===========================
   MOBILE
=========================== */

@media(max-width:900px){

    .navbar{

        flex-direction:column;

        height:auto;

        padding:20px 0;

        gap:20px;

    }

    nav{

        flex-wrap:wrap;

        justify-content:center;

        gap:18px;

    }

    .hero h1{

        font-size:42px;

    }

    .service-grid{

        grid-template-columns:repeat(2,1fr);

    }

}
/*
@media(max-width:600px){

    .games-grid{

        grid-template-columns:1fr;

    }

    .service-grid{

        grid-template-columns:1fr;

    }

    .footer{

        flex-direction:column;

        text-align:center;

    }

    .socials{

        flex-wrap:wrap;

        justify-content:center;

    }

}

*/

/*Keycards animation */

@keyframes showCard {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.skeleton {
    height: 220px;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        #222 25%,
        #333 50%,
        #222 75%
    );
    background-size: 200% 100%;
    animation: loading 1s infinite linear;
}

@keyframes loading {
    to {
        background-position: -200% 0;
    }
}


/* login and panel */
.user-box{
    display:flex;
    align-items:center;
    gap:10px;
    margin-left:auto;
}

.user-info{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.username{
    font-weight:bold;
    line-height:1.2;
}

.logout{
    font-size:13px;
    color:#d55;
    text-decoration:none;
}

.logout:hover{
    color:#f33;
}

.steam-login{
    margin-left:auto;
}