/* ============================================================
   ROSTAR ROLEPLAY — Streamers Page Custom Styles
   Featured Main Streamer + 3-4 Grid Row Layout
   ============================================================ */

/* Main Featured Streamer Section */
.main-streamer-hero {
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  margin-bottom: var(--space-10);
  box-shadow: 0 16px 48px rgba(140, 224, 0, 0.12);
}

.main-streamer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}

.main-streamer-title-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.main-streamer-player {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #000;
  border: 1px solid var(--border);
}

.main-streamer-player iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Streamers Responsive Grid (3-4 Cards per Row) */
.streamers-grid-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)) !important;
  gap: var(--space-6) !important;
}

.streamer-card-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.streamer-card-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.streamer-card-item.is-live {
  border-color: rgba(83, 252, 24, 0.4);
  background: linear-gradient(180deg, rgba(83,252,24,0.04) 0%, var(--bg-surface) 100%);
}

.streamer-avatar-head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.streamer-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.streamer-card-item.is-live .streamer-avatar-img {
  border-color: #53FC18;
  box-shadow: 0 0 12px rgba(83, 252, 24, 0.4);
}

.streamer-info-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.streamer-bio-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-5);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .streamers-grid-row {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  }
}
