body {
    font-family: Arial, sans-serif;
    background: rgb(18,18,18);
    margin: 0;
    padding: 20px;
    font-family: 'Gilroy-Bold', sans-serif;
}

@font-face {
    font-family: 'Gilroy-Bold';
    src: url('Gilroy-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: rgb(200, 200, 200);
    margin-bottom: 20px;
}

.search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.search-bar input {
    padding: 10px;
    width: 300px;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 8px 0 0 8px;
    font-size: 16px;
    color: rgb(200, 200, 200);
    background-color: rgb(18,18,18);
}

.search-bar button {
    padding: 10px 20px;
    border: none;
    background-color: rgb(0, 93, 193);
    color: white;
    font-size: 16px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-weight: bold;
}

.inventory {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.card {
    background: rgb(18,18,18);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgb(200, 200, 200);
}

.card h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 5px;
    color: rgb(200, 200, 200);
}

.rarity {
    font-size: 20px;
    margin-bottom: 10px;
}

.image-placeholder {
    background-color: transparent;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(136, 136, 136);
    margin-bottom: 10px;
    border-radius: 8px;
}

.image-placeholder img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.stats p {
    margin: 3px 0;
    font-size: 14px;
    color: rgb(200, 200, 200);
}

.stattrak {
    margin-top: 10px;
    font-weight: bold;
}

.stattrak p {
    font-weight: normal;
}

.card.blue {
    background: linear-gradient(135deg, rgb(18,18,18) 0%, rgb(18,18,18) 50%, rgb(52, 152, 219, 0.7) 100%);
}

.card.purple {
    background: linear-gradient(135deg, rgb(18,18,18) 0%, rgb(18,18,18) 50%, rgb(161, 81, 214, 0.7) 100%);
}

.card.pink {
    background: linear-gradient(135deg, rgb(18,18,18) 0%, rgb(18,18,18) 50%, rgb(236, 0, 140, 0.7) 100%);
}

.card.red {
    background: linear-gradient(135deg, rgb(18,18,18) 0%, rgb(18,18,18) 50%, rgb(239, 71, 58, 0.7) 100%);
}

.card.gold {
    background: linear-gradient(135deg, rgb(18,18,18) 0%, rgb(18,18,18) 50%, rgb(255, 210, 0, 0.7)100%);
}

.card.gem-ruby {
    background: linear-gradient(135deg, rgb(18,18,18) 0%, rgb(18,18,18) 50%, rgb(255, 0, 60) 100%);
}

.card.gem-sapphire {
    background: linear-gradient(135deg, rgb(18,18,18) 0%, rgb(18,18,18) 50%, rgb(0, 153, 255) 100%);
}

.card.gem-blackpearl {
    background: linear-gradient(135deg, rgb(18,18,18) 0%, rgb(18,18,18) 50%, rgb(106, 13, 173) 100%);
}

.totals-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    padding: 15px;
    background-color: transparent;
    border-radius: 8px;
}

.total-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 25px;
    background-color: rgb(15, 23, 42);
    /* border: 1px solid rgb(200, 200, 200); */
    border-radius: 6px;
    width: 140px;
}

.total-box span {
    font-size: 14px;
    color: rgb(148, 163, 184);
    margin-bottom: 5px;
}

.total-box strong {
    font-size: 24px;
    color: white;
}