body {
  font-family: Montserrat, sans-serif;
  background: black;
  color: #eee;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.header {
  text-align: center;
  margin-bottom: 20px;
}

.input-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

input, select, button {
  padding: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
}

input {
  width: 350px;
}

button {
  background-color: #4fc3f7;
  color: black;
  font-weight: bold;
  cursor: pointer;
}

#topBar {
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

#totalValue {
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
}

select {
  background: #222;
  color: #eee;
  border: 1px solid #444;
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 20px;
  justify-items: center;
}

.card {
  background: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  border: 2px solid #333;
  width: 220px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card.cat-Souvenir  { border: 3px solid #d4af37; }
.card.cat-StatTrak  { border: 3px solid #cf6a32; }
.card.cat-★         { border: 3px solid gold; }
.card.cat-★StatTrak { border: 3px solid #6b3fa0; }

.card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card img {
  width: 100px;
  margin-bottom: 8px;
}

.sticker-row {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 5px 0;
  height: 30px;
}

.sticker-row img {
  width: 35px;
  height: 30px;
  object-fit: contain;
  border-radius: 4px;
  transition: transform 0.2s ease-in-out;
}

.sticker-row img:hover {
  transform: scale(1.2);
}

.sticker-row.empty {
  height: 30px;
}

.card h4 {
  margin: 5px 0 3px;
  font-size: 0.95rem;
}

.card .price {
  font-size: 0.9rem;
  color: #ccc;
}

.zoom-on-hover {
  transition: transform 0.2s ease-in-out;
}

.zoom-on-hover:hover {
  transform: scale(1.2);
}

#userInfo {
  display: none;
  align-items: center;
  justify-content: left;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: bold;
}

#userInfo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

nav {
  text-align: center;
  margin-bottom: 30px;
}

.nav-link {
  margin: 0 20px;
  text-decoration: none;
}

.nav-link img {
  vertical-align: middle;
  margin-right: 8px;
}

.nav-link span {
  color: #4fc3f7;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.2s ease-in-out;
}

.nav-link:hover span {
  color: white;
}
