/* ============================
   Streaming Buttons Wrapper
   ============================ */
.stream-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1rem 0;
  gap: 10px;
}

/* Unified button base */
.stream-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 30px;
  margin: 5px;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

/* Hover/active */
.stream-btn:hover {
  transform: scale(1.05);
  opacity: 0.9;
}
.stream-btn:active {
  transform: scale(0.95);
}

/* Logo buttons (ignore background colors) */
.stream-btn.has-logo {
  background: none !important;
  padding: 0;
}

.stream-btn.has-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Text fallback buttons */
.stream-btn.no-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: #fff;
}

/* ============================
   Provider Colors (for no-logo)
   ============================ */
.stream-btn.stream-amazon    { background: #FF9900; }
.stream-btn.stream-netflix   { background: #E50914; }
.stream-btn.stream-hulu      { background: #1CE783; color: #000; }
.stream-btn.stream-disney    { background: #113CCF; }
.stream-btn.stream-hbo-max   { background: #5B2C9D; }
.stream-btn.stream-peacock   { background: #000; }
.stream-btn.stream-paramount { background: #0064FF; }
.stream-btn.stream-fullmoon  { background: #004080; }
.stream-btn.stream-troma     { background: #87C440; color: #000; }
.stream-btn.stream-tubi      { background: #5100ff; }
.stream-btn.stream-plex      { background: #E5A00D; color: #000; }
.stream-btn.stream-justwatch { background: #1f1f1f; color: #f5c518; }
.stream-btn.stream-appletv   { background: #000; }

/* ============================
   Responsive
   ============================ */
@media (max-width: 600px) {
  .stream-btn {
    width: 100px;
    height: 40px;
    font-size: 12px;
  }
}

/* Mobile scaling for streaming buttons */
@media (max-width: 768px) {
  .streaming-button {
    max-width: 120px;   /* smaller button width */
    padding: 6px 8px;   /* reduce padding */
  }

  .streaming-button img {
    max-height: 20px;   /* shrink logo size */
  }
}