.ts-scroller-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.ts-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ts-controls button {
  background: #222;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 6px;
  padding: 5px 12px;
  cursor: pointer;
  font-size: 18px;
}

.ts-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  display: block;
  scroll-behavior: smooth;
}

.ts-track {
  display: inline-flex;
  gap: 20px;
}

.ts-item {
  display: inline-block;
  vertical-align: top;
  min-width: 400px;
  margin-right: 20px;
  border: 20px solid transparent;
  border-image: url("../assets/film-border.png") 30 round;
  border-radius: 12px;
  background: black;
  position: relative;
}

.ts-frame iframe {
  width: 100%;
  height: 250px;
  border-radius: 8px;
}

.ts-title {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  background: rgba(0,0,0,0.7);
  color: white;
  font-weight: bold;
  padding: 5px;
}
