body {
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
}

.xtv-bg-wrapper {
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 30%, #dbeafe 70%, #e0e7ff 100%);
}

.xtv-grid-patterns {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 20s linear infinite;
}

.xtv-floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.xtv-floating-elements::before,
.xtv-floating-elements::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: elementFloat 18s infinite linear;
}

.xtv-floating-elements::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.xtv-floating-elements::after {
  top: 60%;
  right: 10%;
  animation-delay: -9s;
}

@keyframes elementFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(120deg); }
  66% { transform: translateY(30px) rotate(240deg); }
  100% { transform: translateY(0px) rotate(360deg); }
}

.xtv-light-streams {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.xtv-light-streams::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
  animation: streamMove 8s infinite linear;
}

@keyframes streamMove {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

.xtv-video-card {
  transition: all 0.3s ease;
}

.xtv-video-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2);
}

.xtv-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.xtv-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
  border-radius: 10px;
  width: var(--progress, 0%);
  transition: width 1s ease;
}