.mainVideoContainer {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mainVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 300ms ease-in-out;
}

/* Loading state */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  color: #fff;
  gap: 16px;
}

.loading p {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}

/* Loading spinner */
.loadingSpinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Debug info (development only) */
.debugInfo {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #0f0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-family: monospace;
  z-index: 100;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mainVideoContainer {
    border-radius: 8px;
  }

  .loading p {
    font-size: 16px;
  }

  .loadingSpinner {
    width: 32px;
    height: 32px;
  }
}
