.main-stream-section {
  background:
    radial-gradient(circle at top right, rgba(124,58,237,.25), transparent 45%),
    linear-gradient(135deg, #0b0f14, #141821);
  border: 1px solid rgba(255,255,255,.08);
}

.main-stream-iframe {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #000;
  box-shadow:
    0 25px 60px rgba(0,0,0,.75),
    inset 0 0 0 1px rgba(255,255,255,.08);
}

.main-stream-iframe::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(124,58,237,.35);
}

.main-stream-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.main-stream-desc {
  color: #b6c0d1;
  font-size: 1.05rem;
}

.btn-twitch,
.btn-youtube {
  border-radius: 12px;
  font-weight: 700;
  padding: .7rem 1.4rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.45);
}

.btn-twitch {
  background: linear-gradient(135deg,#7c3aed,#5b21b6);
}

.btn-youtube {
  background: linear-gradient(135deg,#ff0033,#cc0028);
}

.community-streams-main {
  background:
    radial-gradient(circle at bottom left, rgba(124,58,237,.18), transparent 50%),
    linear-gradient(135deg, #0b0f14, #121624);
}

.community-stream-section {
  background:
    linear-gradient(180deg, #141821, #0b0f14);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 15px 40px rgba(0,0,0,.6);
  max-width: 360px;
  margin: auto;
}

.community-stream-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: .25rem;
}

.community-stream-section::before {
  content: "EN DIRECTO";
  display: inline-block;
  font-size: .65rem;
  letter-spacing: .15em;
  background: #7c3aed;
  color: #fff;
  padding: .35rem .6rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.community-stream-iframe iframe {
  border-radius: 14px;
  background: #000;
}

.fecod-offline {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.2rem;
}

.fecod-offline img {
  width: 140px;
  opacity: .9;
}

.fecod-offline h2 {
  font-size: 2rem;
  font-weight: 800;
}

.fecod-offline p {
  color: #b6c0d1;
  max-width: 520px;
}

.offline-actions {
  display: flex;
  gap: 1rem;
  margin-top: .5rem;
}

.community-lives {
  background: linear-gradient(135deg, #0b0f1a, #1a1030);
  border-radius: 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header h2 {
  font-weight: 800;
}

.section-header .viewers {
  color: #b6c0d1;
  font-size: .9rem;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.live-card {
  background: #0f1423;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: white;
  transition: transform .25s ease, box-shadow .25s ease;
}

.live-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}

.live-thumb {
  position: relative;
}

.live-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.live-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #7c3aed;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
}

.live-info {
  padding: 1rem;
}

.live-info h3 {
  font-size: 1.1rem;
  margin-bottom: .3rem;
}

.live-info p {
  font-size: .85rem;
  color: #b6c0d1;
}

.no-lives {
  text-align: center;
  padding: 3rem;
  color: #b6c0d1;
}

/* ===== STREAMS COMUNIDAD ===== */

.community-streams-main {
  margin-top: 4rem;
}

.total-viewers {
  text-align: center;
  color: #bfbfbf;
  font-weight: 600;
  letter-spacing: 1px;
}

.stream-card {
  background: linear-gradient(145deg, #0d0d0f, #16161c);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.stream-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(128, 64, 255, 0.35);
}

.stream-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.stream-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ff004c, #ff3b3b);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.viewer-count {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  padding: 6px 10px;
  border-radius: 14px;
  font-size: 0.75rem;
  color: #fff;
}

.stream-info {
  padding: 1.2rem;
  text-align: center;
}

.stream-info h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.btn-twitch {
  background: linear-gradient(135deg, #9146ff, #772ce8);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  padding: 8px 18px;
  text-decoration: none;
  display: inline-block;
}

.btn-twitch:hover {
  background: linear-gradient(135deg, #a970ff, #9146ff);
  color: #fff;
}

/* ===== NO STREAMS ===== */

.no-streams {
  text-align: center;
  padding: 4rem 1rem;
  color: #bfbfbf;
}

.badge-live-off {
  display: inline-block;
  background: #333;
  color: #aaa;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}
