html, body {
  margin: 0;
  padding: 0;
  font-family: Verdana, Arial, sans-serif;
  color: #fff;
}

/* Animated star background */
body {
  background-color: #000;
  background-image: url("../../images/stars.png");
  background-repeat: repeat;
  background-size: auto;
  background-position: 0 0;
  animation: starScroll 180s linear infinite;
}

/* Header */
.videos-header {
  max-width: 900px;
  margin: 10px auto 20px;
  text-align: center;
  padding: 0 20px;
}

.page-title {
  font-size: 2.4em;
  margin: 0 0 10px;
}

.page-subtitle {
  font-size: 1em;
  color: #ddd;
  margin: 0;
}

/* Video stage */
.video-stage {
  position: relative;
  max-width: 960px;
  margin: 10px auto 0;
  padding: 0 20px;
}

.video-player iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 4px solid #444;
  background-color: #000;
  box-sizing: border-box;
  z-index: 2;
}

/* Categories box */
.categories-box {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(30, 30, 30, 0.7);
  border-radius: 0px;
  box-sizing: border-box;
}

/* Category tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.category-tab {
  padding: 10px 18px;
  background-color: #555;
  border: 2px solid #888;
  border-radius: 0px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s;
}

.category-tab.active,
.category-tab:hover {
  background-color: #777;
  border-color: #fff;
  box-shadow: 0 0 8px #0ff;
}

/* Category panels */
.category-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Playlist cards */
.playlist-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;
  cursor: pointer;
  border: 2px solid #888;
  border-radius: 0px;
  background-color: #555;
  padding: 8px;
  transition: all 0.3s;
}

.playlist-card img {
  width: 100%;
  height: auto;
  border-radius: 0px;
  margin-bottom: 6px;
}

.playlist-card .playlist-title {
  font-weight: bold;
  color: #fff;
  text-align: center;
  font-size: 0.9em;
}

.playlist-card:hover {
  transform: scale(1.05);
  background-color: #666;
  border-color: #fff;
  box-shadow: 0 0 10px #0ff;
}

/* Return Home */
.return-home {
  text-align: center;
  margin: 40px 0;
}

.return-home a {
  display: inline-block;
  padding: 10px 22px;
  background-color: #333;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border: 3px solid #888;
  border-radius: 0px;
  transition: all 0.15s ease;
}

.return-home a:hover {
  background-color: #444;
  transform: translateY(-1px);
}

/* Star background animation */
@keyframes starScroll {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 2000px 0;
  }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }
}
