/* Add !important to ensure these override the default */
.bg-white {background: linear-gradient(135deg, #ffffff, #e6e6e6);}
.bg-yellow { background: linear-gradient(145deg, #ffff00, #b2b200) !important; color: #000 !important; }
.bg-orange { background: linear-gradient(145deg, #ff8c00, #cc7000) !important; color: #000 !important; }
.bg-green  { background: linear-gradient(145deg, #008000, #004d00) !important; color: #000 !important; }
.bg-cyan   { background: linear-gradient(145deg, #00ffff, #00b2b2) !important; color: #000 !important; }
.bg-blue   { background: linear-gradient(145deg, #0000ff, #0000b2) !important; color: #000 !important; }
.bg-purple { background: linear-gradient(145deg, #800080, #4d004d) !important; color: #000 !important; }
.bg-red    { background: linear-gradient(145deg, #ff0000, #b20000) !important; color: #000 !important; }
.bg-pink   { background: linear-gradient(145deg, #ffc0cb, #ff69b4) !important; color: #000 !important; }
.bg-bronze { background: linear-gradient(145deg, #cd7f32 0%, #e0a96d 25%, #a97142 50%, #8c6239 75%, #cd7f32 100%); !important; color: #000 !important; }
.bg-silver { background: linear-gradient(145deg, #c0c0c0 0%, #e8e8e8 25%, #a9a9a9 50%, #7d7d7d 75%, #c0c0c0 100%) !important; color: #000 !important; }
.bg-gold   { background: linear-gradient(145deg, #d4af37 0%, #f9e29c 25%, #b8860b 50%, #8b6b23 75%, #d4af37 100%) !important; color: #000 !important; }

body {
  margin: 0;
  height: 100vh;
  font-family: 'Oswald', sans-serif;
  position: relative;
  overflow: hidden;
  background: #000; /* fallback */
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://cdn.forza.net/strapi-uploads/assets/large_F_News_Poster_167032a88b.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  z-index: -1;
}

/* Card container */
.card {
  display: flex;
  align-items: center;
  gap: 0px;
  width: max-content;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
}

/* Stats block: unified bronze block, proper height */
.stats {
  display: flex;
  align-items: center;
  /*background: linear-gradient(
    145deg,
    #cd7f32 0%,
    #e0a96d 25%,
    #a97142 50%,
    #8c6239 75%,
    #cd7f32 100%
  );*/
  color: #111;
  font-weight: 700;
  font-family: 'Oswald', sans-serif;
  border-radius: 8px 0 0 8px;
  overflow: hidden;
  gap: 0;               /* remove horizontal gap */
  height: 50px;         /* same as avatar for proper vertical alignment */
  padding: 0 4px;       /* small horizontal padding for content */
}

/* Prestige block */
.prestige {
  border-right: none;   /* remove dividing line */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 4px;       /* horizontal padding for star + number */
  height: 100%;         /* fill stats block height */
}

/* Level block */
.level {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  padding: 0 4px;       /* horizontal padding */
  height: 100%;         /* fill stats block height */
}


.prestige div:first-child {
  font-size: 18px;
  line-height: 1;
}

.prestige div:last-child {
  font-size: 18px;
  line-height: 1;
}

/* Avatar */
.avatar {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

/* Name block */
.name {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 15px;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: hsl(50, 81%, 59%);
  background-color: rgba(0,0,0,0.5); /* darker and mostly transparent */
  backdrop-filter: blur(4px);
  border-radius: 0 8px 8px 0;
}

/* Tag before name */
.tag {
  color: white;
  font-weight: 400;         /* normal weight */
  font-family: 'Roboto', sans-serif; /* different font for tag */
  font-size: 18px;          /* same height as name */
  margin-right: 5px;
}

/* Container for table and h1 */
.content-container {
  position: absolute;
  top: 100px;      /* 250px from top of page */
  left: 40px;      /* offset from left */
  max-width: 90%;
}

/* h1 styling */
.content-container h1 {
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 10px 0;  /* space below heading */
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* Table styles */
#table-container table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

#table-container th {
  border-bottom: 2px solid #fff;
  padding: 6px;
  color: #fff;
  background-color: rgba(0,0,0,0.5);
}

#table-container td {
  padding: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  background-color: rgba(0,0,0,0.3);
}
