/* ==========================
   QUESTVERSE
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#050816;

    color:#ffffff;

    overflow-x:hidden;

}
/* ==========================
ANIMAÇÕES
========================== */

.hidden{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

/* Fundo */

.bg-animation{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:
    radial-gradient(circle at top,#355CFF 0%,transparent 45%),
    radial-gradient(circle at bottom,#6A00FF 0%,transparent 40%),
    #050816;

    z-index:-1;

}

/* Cabeçalho */

header{

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:25px 8%;

    position:fixed;

    top:0;

    left:0;

    backdrop-filter:blur(12px);

    background:rgba(0,0,0,.25);

}

.logo{

    font-size:32px;

    font-weight:700;

    color:#5ea4ff;

    letter-spacing:2px;

}

nav{

    display:flex;

    gap:35px;

}

nav a{

    color:white;

    text-decoration:none;

    transition:.3s;

}

nav a:hover{

    color:#4dffdf;

}

/* Hero */

.hero{

    height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:100px 20px;

}

.hero-content{

    max-width:850px;

}

.hero h1{

    font-size:60px;

    margin-bottom:20px;

}

.hero p{

    font-size:22px;

    opacity:.8;

    line-height:1.7;

}

/* Botão */

.btn{

    display:inline-block;

    margin-top:45px;

    padding:18px 55px;

    border-radius:50px;

    text-decoration:none;

    color:white;

    background:linear-gradient(90deg,#355cff,#7c3cff);

    transition:.4s;

}

.btn:hover{

    transform:translateY(-5px);

    box-shadow:0 0 35px #355cff;

}

/* Cards */

.features{

    width:90%;

    max-width:1300px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:35px;

    padding-bottom:120px;

}

.card{

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.1);

    border-radius:20px;

    padding:40px;

    transition:.4s;

}

.card:hover{

    transform:translateY(-10px);

    box-shadow:0 0 30px rgba(53,92,255,.4);

}

.card h2{

    margin-bottom:20px;

    color:#5ea4ff;

}

.card p{

    opacity:.8;

    line-height:1.8;

}

/* Rodapé */

footer{

    padding:40px;

    text-align:center;

    opacity:.7;

}

/* Responsivo */

@media(max-width:900px){

.hero h1{

font-size:42px;

}

.hero p{

font-size:18px;

}

header{

flex-direction:column;

gap:20px;

}

nav{

flex-wrap:wrap;

justify-content:center;

}

}

.light{

background:#f7f7f7;

color:#111;

}

.light .card{

background:white;

color:black;

}
#avatarPreview,
#avatarShow{

font-size:80px;

text-align:center;

padding:20px;

animation:float 3s infinite;

}


@keyframes float{


0%{

transform:translateY(0);

}


50%{

transform:translateY(-10px);

}


100%{

transform:translateY(0);

}


}
#ranking{

display:grid;

gap:20px;

margin-top:40px;

}


#ranking .card{

position:relative;

overflow:hidden;

}


#ranking .card:first-child{

border:2px solid gold;

box-shadow:
0 0 25px rgba(255,215,0,.5);

}
.game-container {

    width:95%;
    max-width:1400px;
    margin:30px auto;
    background:#111827;
    padding:15px;
    border-radius:20px;
    text-align:center;

}


.game-container h2 {

    color:white;
    font-size:24px;
    margin-bottom:15px;

}


.game-container iframe {

    width:100%;
    height:75vh;
    min-height:450px;
    border:none;
    border-radius:15px;

}


/* Celular */

@media(max-width:768px){

.game-container{

    width:100%;
    padding:10px;
    border-radius:0;

}


.game-container h2{

    font-size:18px;

}


.game-container iframe{

    height:70vh;
    min-height:350px;

}

}