/* ==========================================================
   Dojo NodachiLab — Streamers BR
   Página isolada: estilos limitados a .streamers-page.
   ========================================================== */

.streamers-page .dojo-header { background: rgba(8, 7, 6, .9); }
.streamers-page .main-nav a[href="/#tools"] { color: var(--gold); }

.streamers-hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 48px;
  border-bottom: 1px solid var(--line);
}

.streamers-hero::before,
.streamers-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(12px);
}

.streamers-hero::before {
  width: 30rem;
  height: 30rem;
  top: -22rem;
  left: 8%;
  background: radial-gradient(circle, rgba(145, 70, 255, .22), transparent 68%);
}

.streamers-hero::after {
  width: 29rem;
  height: 29rem;
  right: 2%;
  bottom: -22rem;
  background: radial-gradient(circle, rgba(255, 112, 23, .18), transparent 68%);
}

.streamers-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 850px;
  text-align: center;
}

.streamers-hero h1 {
  max-width: 800px;
  margin: 11px auto 13px;
  font-size: clamp(2.15rem, 5vw, 4.15rem);
  line-height: .99;
  letter-spacing: -.052em;
}

.streamers-hero p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(.98rem, 1.7vw, 1.1rem);
}

.streamers-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 25px;
}

.streamers-directory { padding-top: 52px; }
.streamers-section-head { max-width: 760px; margin-inline: auto; text-align: center; }
.streamers-section-head h2 { font-size: clamp(1.9rem, 4vw, 3.15rem); }

.streamers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.streamer-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 159, 26, .24);
  border-radius: 19px;
  background:
    radial-gradient(circle at 92% -20%, var(--streamer-glow, rgba(122, 60, 255, .18)), transparent 46%),
    linear-gradient(150deg, rgba(35, 31, 29, .97), rgba(17, 15, 15, .98));
  box-shadow: 0 17px 34px rgba(0, 0, 0, .2);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.streamer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 177, 58, .58);
  box-shadow: 0 22px 42px rgba(0, 0, 0, .3);
}

.streamer-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--streamer-a, #9146ff), var(--streamer-b, #ff8f1f));
}

.streamer-card-body { padding: 17px; }

.streamer-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.streamer-avatar {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 183, 75, .4);
  background: linear-gradient(145deg, rgba(122, 60, 255, .31), rgba(255, 133, 18, .22));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 9px 20px rgba(0,0,0,.24);
}

.streamer-avatar-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff2db;
  font-size: .92rem;
  font-weight: 1000;
  letter-spacing: -.02em;
}

.streamer-avatar img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .2s ease;
}

.streamer-avatar img.is-loaded { opacity: 1; }

.streamer-title-wrap { min-width: 0; }
.streamer-title-wrap h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.04rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.streamer-platform-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.platform-mini,
.streamer-focus-list li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 900;
  line-height: 1;
}

.platform-mini.twitch { color: #e5d4ff; background: rgba(145, 70, 255, .16); border: 1px solid rgba(145, 70, 255, .32); }
.platform-mini.youtube { color: #ffd6d6; background: rgba(255, 40, 40, .13); border: 1px solid rgba(255, 60, 60, .28); }

.streamer-description {
  min-height: 42px;
  margin: 13px 0 11px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.55;
}

.streamer-focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.streamer-focus-list li {
  color: #eadfce;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.09);
}

.streamer-actions {
  display: grid;
  grid-template-columns: repeat(var(--action-count, 1), minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.streamer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 39px;
  padding: 9px 11px;
  border-radius: 11px;
  font-size: .75rem;
  font-weight: 1000;
  text-decoration: none;
  transition: transform .16s ease, filter .16s ease, border-color .16s ease;
}

.streamer-link:hover { transform: translateY(-2px); filter: brightness(1.08); }
.streamer-link.twitch { color: #fff; background: linear-gradient(135deg, #6f34d8, #9146ff); border: 1px solid rgba(189, 144, 255, .52); }
.streamer-link.youtube { color: #fff; background: linear-gradient(135deg, #a81919, #e22a2a); border: 1px solid rgba(255, 113, 113, .46); }
.streamer-link svg { width: 15px; height: 15px; fill: currentColor; flex: 0 0 auto; }

.streamers-note {
  max-width: 760px;
  margin: 25px auto 0;
  color: var(--muted);
  font-size: .78rem;
  text-align: center;
}

@media (max-width: 980px) {
  .streamers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .streamers-hero { padding: 52px 0 40px; }
  .streamers-grid { grid-template-columns: 1fr; gap: 12px; }
  .streamer-card-body { padding: 15px; }
  .streamer-description { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .streamer-card, .streamer-link, .streamer-avatar img { transition: none; }
}
