/* Base tweaks layered on top of Tailwind CDN */
html { scroll-behavior: smooth; }

body {
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  background: #0a0710;
}

/* Ad slots kept subtle */
.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed rgba(148, 163, 184, 0.22);
  border-radius: 0.75rem;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(148, 163, 184, 0.03),
      rgba(148, 163, 184, 0.03) 10px,
      rgba(148, 163, 184, 0.06) 10px,
      rgba(148, 163, 184, 0.06) 20px
    );
  color: rgba(148, 163, 184, 0.65);
  letter-spacing: 0.02em;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Live pulse */
@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.live-dot { animation: pulse-live 1.4s ease-in-out infinite; }

/* Score ticker (marquee) */
.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Match card hover */
/* Hero fades */
.hero-fade-bottom {
  background: linear-gradient(to top, #0a0710 5%, rgba(10,7,16,0.5) 45%, rgba(10,7,16,0) 100%);
}

/* Tab underline */
.tab-active {
  color: #fff;
  position: relative;
}
.tab-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #d946ef, #c026d3);
}

/* Fade-in */
.fade-in { animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Custom player fullscreen: make video fill the whole screen */
#player:fullscreen,
#player:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
}
#player:fullscreen .player-stage,
#player:-webkit-full-screen .player-stage {
  max-height: none;
  height: 100vh;
  aspect-ratio: auto;
}
#player:fullscreen video,
#player:-webkit-full-screen video {
  object-fit: contain;
}

/* Hide player UI while a VAST ad is playing */
#player.ad-playing #topActions,
#player.ad-playing #controlBar,
#player.ad-playing #bigPlay {
  opacity: 0 !important;
  pointer-events: none !important;
}
