.asset-reel {
  overflow: hidden;
  padding: 40px 0;
  background: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.asset-reel-title {
  margin: 0 0 20px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #141a33;
  letter-spacing: -0.02em;
}

.asset-reel-title a {
  color: inherit;
  text-decoration: none;
}

.asset-reel-title a:hover {
  text-decoration: underline;
}

.asset-reel-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: asset-reel-scroll var(--reel-duration, 50s) linear infinite;
}

.asset-reel:hover .asset-reel-track {
  animation-play-state: paused;
}

.asset-reel-card {
  position: relative;
  flex: 0 0 auto;
  width: 280px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0f1220;
  box-shadow: 0 8px 24px rgba(15, 18, 32, 0.12);
}

.asset-reel-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.asset-reel-prompt,
.asset-reel-ai {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.asset-reel-prompt {
  top: 8px;
  right: 8px;
  border: 0;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.94);
  color: #141a33;
  cursor: pointer;
  transform: scale(0.5);
  transform-origin: top right;
}

.asset-reel-ai {
  right: 8px;
  bottom: 8px;
  padding: 5px 8px;
  background: rgba(20, 26, 51, 0.82);
  color: #fff;
  transform: scale(0.5);
  transform-origin: bottom right;
}

.asset-reel-prompt-panel {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 36px 12px 12px;
  overflow: auto;
  background: rgba(10, 14, 28, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.asset-reel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 12px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes asset-reel-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 720px) {
  .asset-reel { padding: 24px 0; }
  .asset-reel-card { width: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  .asset-reel-track { animation: none; }
}
