a {
  color: inherit;
  text-decoration: underline;
}

/* BANNER START */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background-color: #466676;
  color: #ffffff;
  padding: 24px;
  box-sizing: border-box;
  z-index: 1000;
  overflow-y: auto;
}

.banner-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Top section at top, stores at bottom */
  height: 100%;
  width: 200px;
  padding: 25px 20px;
  box-sizing: border-box;
}


.banner-content h1 {
  color: #bd4e17;
  text-align: center;
  margin: 0 0 4px 0;
  font-size: 24px;
}

.banner-content h2 {
  text-align: center;
  margin: 0 0 4px 0;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
}

.banner-links {
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
}

.banner-stores {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  /* Minimum separation */
}

.banner-store-logo {
  display: block;
  width: 100px;
  height: auto;
  margin: 0 auto;
}

.bengodi-logo {
  display: block;
  width: 80px;
  height: auto;
  margin: 0 auto;
}

/* USER START */

.user-image {
  display: block;
  border-radius: 50%;
  border: 1px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  width: 120px;
  height: auto;
  margin: 0 auto;
  /* margin-bottom: 8px; */
}


.user-name {
  text-align: center;
  margin: 0 0 4px 0;
  font-size: 20px;
  font-weight: 400;
  opacity: 0.85;
}

.user-bio {
  text-align: center;
  margin: 0 0 4px 0;
  font-size: 12px;
  max-width: 200px;
  max-height: 30px;
  font-weight: 400;
  opacity: 0.85;
}

.user-country {
  text-align: center;
  margin: 0 0 4px 0;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
}

.user-date {
  text-align: center;
  margin: 0 0 4px 0;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
}

/* USER END */

/* BANNER END */


/* MAIN CONTENT START */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #2f4652;
  margin: 0;
  padding: 20px;
  padding-left: 270px;
  display: flex;
  justify-content: center;
  align-items: center;
}

main {
  max-width: 100%;
  margin: 10px 10px;
  align-content: center;
}

.stream-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* CARD START */
article {
  position: relative;
  display: inline-block;
  line-height: 0;
  /* Prevents gap below image */
  user-select: none;
}

/* Stops ghost image dragging on links & images */
article a,
article img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.card-content-image {
  display: block;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #4E7B31;
  box-sizing: border-box;
}

.card-avatar {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 10;
}

.card-avatar-image {
  width: 63px;
  height: 63px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  display: block;
}

/* CARD END */


/* Loading & Spinner Styling */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 8px;
  color: #6b7280;
}

.spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #e5e7eb;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* MAIN CONTENT END */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  body {
    padding: 20px;
    padding-left: 0px;
  }

  header {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    padding: 12px 16px;
    overflow-y: hidden;
    overflow-x: auto;
  }

  .banner-content {
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 0;
    gap: 16px;
  }
  
  .banner-store-logo {
    display: block;
    width: 80px;
    height: auto;
    margin: 0 auto;
  }
}