body {
  min-height: 180vh;
}

.streamer-card {
  background: linear-gradient(135deg, #333333, #45274d, #2e262f);
  border-radius: 12px;
  border: 1px solid #00000080;
  box-shadow:
    0 0 8px #00ffff,
    0 0 20px #00ffff inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.streamer-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 16px #00ffff,
    0 0 40px #00ffff inset;
}

.streamer-card .card-footer {
  border-top: 1px solid #00ffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 0.9rem;
}

.streamer-card .card-title {
  font-family: 'Orbitron', sans-serif;
  color: #63ffff;
}
.streamer-card .badge {
  background-color: #00ffffcc;
  color: #000;
  font-weight: 700;
}

.card-link {
  text-decoration: none;
}
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.background-grid {
    position: fixed;
    top: 56px; 
    left: 0;
    width: 100vw;
    height: calc(100vh - 56px); 
    z-index: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
    pointer-events: none;
  }
  .background-grid img {
    width: 50vw;
    height: auto;
    object-fit: cover;
    opacity: 0.25;
    filter: blur(4px);
  }
  @media (max-width: 991px) {
    .background-grid {
      grid-template-columns: 1fr;
      grid-template-rows: 1fr 1fr 1fr 1fr;
      top: 56px;
      height: calc(100vh - 56px);
    }
    .background-grid img {
      width: 100vw;
      height: 25vh;
    }
  }
.main-content {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 56px); 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 56px;
    }

    #sort-controls {
      background: linear-gradient(90deg, #3b2d4d 60%, #615d6522 100%);
      border: 1.5px solid #00000000;
      border-radius: 14px;
      box-shadow: 0 2px 18px #37214333, 0 0 12px #62337144 inset;
      padding: 0.7rem 2rem;
      margin-bottom: 2rem;
      font-family: 'Orbitron', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: #b5bdbd;
      transition: box-shadow 0.3s, border-color 0.3s;
      backdrop-filter: blur(2px) brightness(1.1);
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 1.2rem;
      opacity: 1 !important;
      visibility: visible !important;
    }

    #sort-controls label {
      color: #eef5ff;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-shadow: 0 0 6px #58595999;
      margin-bottom: 0;
      font-size: 1.05rem;
      opacity: 1 !important;
      visibility: visible !important;
    }
    #sort-controls label:hover {
      color: #ffffff;
     
    }
    #sort-controls select.form-select {
      background: linear-gradient(90deg, #000000 70%, #454545bf 100%);
      color: #b2bbff;
      border: 1.5px solid #00000099;
      border-radius: 8px;
      font-family: 'Orbitron', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      font-weight: 700;
      box-shadow: 0 0 10px #8f5492;
      transition: border-color 0.2s, box-shadow 0.2s, background 0.3s;
      padding: 0.4rem 1.2rem;
      outline: none;
      font-size: 1rem;
      min-width: 150px;
      opacity: 1 !important;
      visibility: visible !important;
    }

    #sort-controls select.form-select:focus {
      border-color: #8f71da;
      box-shadow: 0 0 16px #00000000;
      background: linear-gradient(90deg, #203a43 80%, #00ffff22 100%);
    }

    #sort-controls option {
      background: #203a43;
      color: #dd84dd;
      font-family: inherit;
      opacity: 1 !important;
      visibility: visible !important;
    }

    #sort-controls select.form-select::-ms-expand {
      display: none;
    }

    #sort-controls select.form-select {
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='cyan' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='cyan' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 0.7em center;
      background-size: 1.2em;
    }

    @media (max-width: 600px) {
      #sort-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 0.7rem;
        padding: 0.7rem 1rem;
      }
      #sort-controls select.form-select {
        min-width: 100px;
        width: 100%;
      }
    }


#sort-controls {
  display: flex;
  flex-wrap: nowrap;      
  align-items: center;
  gap: 0.5rem;           
  overflow-x: auto;       
}

#sort-controls label {
  font-size: 0.85rem;     
  white-space: nowrap;     
  margin: 0;              
}

#sort-controls select {
  font-size: 0.85rem;     
  min-width: auto;         
  max-width: 160px;       
}
