/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* BODY */

body{
    background:
        linear-gradient(
            rgba(17,24,39,.25),
            rgba(17,24,39,.35)
        ),
        url("img/background.png");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;

    color:#ffffff;
    font-family:Arial, Helvetica, sans-serif;

    min-height:100vh;
    padding:20px;

    display:flex;
    flex-direction:column;
}

/* HEADER */

.hero{
    text-align:center;
    margin-bottom:15px;
}

.logo{
    line-height:1;
    text-transform:uppercase;
}

.weekly{
    display:block;
    font-size:clamp(.8rem, 3vw, 1.2rem);
    letter-spacing:8px;
    color:#c9a227;

    text-shadow:
        0 0 10px rgba(201,162,39,.6);
}

.tibia{
    display:block;
    font-size:clamp(2.5rem, 8vw, 4rem);
    font-weight:900;

    color:#ffd700;

    background:linear-gradient(
        180deg,
        #ffd700,
        #ffb700,
        #ff8c00
    );

    background-clip:text;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    text-shadow:
        0 0 20px rgba(255,183,0,.25);
}

.subtitle{
    margin-top:6px;
    color:#d1d5db;
    letter-spacing:2px;
    font-size:.9rem;

    text-shadow:
        0 2px 10px rgba(0,0,0,.6);
}

/* RASHID */

.rashid-card{
    max-width:900px;
    width:100%;

    margin:0 auto 12px;

    display:flex;
    align-items:center;
    gap:12px;

    background:rgba(31,41,55,.80);

    padding:10px 15px;

    border-left:5px solid #fbbf24;
    border-radius:12px;

    backdrop-filter:blur(4px);

    box-shadow:
        0 4px 10px rgba(0,0,0,.25);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.rashid-card:hover{
    transform:translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0,0,0,.35);
}

.rashid-image{
    width:48px;
    height:48px;

    object-fit:contain;
    image-rendering:pixelated;

    flex-shrink:0;
}

.rashid-info h2{
    color:#fbbf24;
    margin-bottom:2px;
    font-size:1rem;
}

.rashid-info p{
    color:#d1d5db;
    line-height:1.3;
    font-size:.9rem;
}

.rashid-info strong{
    color:#fbbf24;
}

/* BOSS RADAR */

.boss-card{
    max-width:900px;
    width:100%;

    margin:0 auto 12px;

    display:flex;
    align-items:center;
    gap:12px;

    background:rgba(31,41,55,.80);

    padding:10px 15px;

    border-left:5px solid #ef4444;
    border-radius:12px;

    backdrop-filter:blur(4px);

    box-shadow:
        0 4px 10px rgba(0,0,0,.25);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.boss-card:hover{
    transform:translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0,0,0,.35);
}

.boss-image{
    width:48px;
    height:48px;

    object-fit:contain;
    image-rendering:pixelated;

    flex-shrink:0;
}

.boss-info h2{
    color:#ef4444;
    margin-bottom:2px;
    font-size:1rem;
}

.boss-info p{
    color:#d1d5db;
    line-height:1.3;
    font-size:.9rem;
}

.boss-info strong{
    color:#ef4444;
}

/* BUSCA */

.search-container{
    max-width:900px;
    width:100%;
    margin:0 auto;
}

input{
    width:100%;
    padding:16px;

    border:none;
    border-radius:12px;

    background:rgba(31,41,55,.85);
    color:#ffffff;

    font-size:16px;
    outline:none;

    backdrop-filter:blur(4px);

    box-shadow:
        0 4px 12px rgba(0,0,0,.20);

    transition:
        box-shadow .2s ease,
        transform .2s ease;
}

input::placeholder{
    color:#9ca3af;
}

input:focus{
    box-shadow:
        0 0 0 2px #fbbf24,
        0 0 15px rgba(251,191,36,.4);
}

/* CONTADOR */

#count{
    max-width:900px;
    width:100%;

    margin:20px auto 0;

    text-align:center;
    color:#d1d5db;
    font-size:14px;
}

/* RESULTADOS */

#out{
    max-width:900px;
    width:100%;

    margin:25px auto 0;

    display:grid;
    grid-template-columns:
        repeat(auto-fit, minmax(320px, 1fr));

    gap:15px;

    flex:1;
}

/* CARD */

.card{
    background:rgba(31,41,55,.80);

    padding:18px;

    border-left:5px solid #fbbf24;
    border-radius:12px;

    backdrop-filter:blur(4px);

    box-shadow:
        0 4px 10px rgba(0,0,0,.25);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.card:hover{
    transform:translateY(-3px);

    box-shadow:
        0 8px 20px rgba(0,0,0,.35);
}

.card h3{
    color:#fbbf24;
    margin-bottom:10px;
    font-size:1.2rem;
}

.card p{
    margin:6px 0;
    line-height:1.5;
    word-break:break-word;
}

/* ITEM NÃO ENCONTRADO */

.empty{
    text-align:center;
    color:#ef4444;
    padding:30px;
    font-size:18px;
}

/* FOOTER */

.footer{
    margin-top:60px;
    padding-top:20px;

    text-align:center;

    color:#d1d5db;

    border-top:1px solid rgba(255,255,255,.15);

    font-size:14px;

    text-shadow:
        0 1px 5px rgba(0,0,0,.5);
}

.footer strong{
    color:#fbbf24;
}

/* SCROLLBAR */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#111827;
}

::-webkit-scrollbar-thumb{
    background:#374151;
    border-radius:10px;
}

::-webkit-scrollbar-thumb:hover{
    background:#4b5563;
}

/* RESPONSIVO */

@media (max-width:600px){

    body{
        padding:15px;
    }

    .weekly{
        letter-spacing:4px;
    }

    .subtitle{
        font-size:.8rem;
        letter-spacing:1px;
    }

    input{
        padding:14px;
    }

    #out{
        grid-template-columns:1fr;
    }

    .rashid-card{
        gap:10px;
    }

    .rashid-image{
        width:40px;
        height:40px;
    }

    .rashid-info h2{
        font-size:.95rem;
    }

    .rashid-info p{
        font-size:.8rem;
    }

    .boss-card{
        gap:10px;
    }

    .boss-image{
        width:40px;
        height:40px;
    }

    .boss-info h2{
        font-size:.95rem;
    }

    .boss-info p{
        font-size:.8rem;
    }
}


/* ==========================
   BOTÃO COMPARADOR
========================== */


.comparator-button{

    display:block;

    max-width:900px;

    width:100%;

    margin:20px auto;

    padding:15px;

    text-align:center;

    text-decoration:none;

    background:
    linear-gradient(
        180deg,
        #ffd700,
        #c9a227
    );


    color:#111827;

    font-weight:bold;

    font-size:18px;


    border-radius:12px;


    box-shadow:
    0 4px 15px rgba(0,0,0,.35);


    transition:
    transform .2s ease,
    box-shadow .2s ease;

}


.comparator-button:hover{


    transform:translateY(-3px);


    box-shadow:
    0 8px 25px rgba(251,191,36,.45);


    background:
    linear-gradient(
        180deg,
        #ffe66d,
        #fbbf24
    );

}

/* ==========================
   COMPARADOR DE EQUIPAMENTOS
========================== */


.comparator-section{

    max-width:900px;

    width:100%;

    margin:0 auto 12px;

}



.comparator-card{

    background:rgba(31,41,55,.80);

    padding:18px;

    border-left:5px solid #ffd700;

    border-radius:12px;

    backdrop-filter:blur(4px);

    box-shadow:
    0 4px 10px rgba(0,0,0,.25);

    text-align:center;

}



.comparator-card h2{

    color:#ffd700;

    text-align:center;

    margin:0 0 8px 0;

    font-size:1.3rem;

    font-weight:bold;

}



.comparator-card p{

    text-align:center;

    color:#d1d5db;

    margin-bottom:15px;

}



.comparator-button{

    display:flex;

    justify-content:center;

    align-items:center;

    width:100%;

    min-height:50px;

    padding:14px;


    background:
    linear-gradient(
        180deg,
        #ffd700,
        #c9a227
    );


    color:#111827;

    text-decoration:none;

    font-weight:bold;

    font-size:18px;

    border-radius:12px;


    transition:.2s;


}



.comparator-button:hover{

    transform:translateY(-3px);


    background:
    linear-gradient(
        180deg,
        #ffe66d,
        #fbbf24
    );

}