* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: #1a1a2e;
  color: #eee;
}

h1 {
  color: #4CAF50;
  border-bottom: 2px solid #4CAF50;
  padding-bottom: 10px;
}

h2 {
  color: #81c784;
  margin-top: 40px;
}

section {
  background: #16213e;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

p {
  color: #aaa;
}

code {
  background: #0f0f23;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

/* Custom Video Player Styles */
.video-container {
  max-width: 640px;
  margin: 20px auto;
}

.video-container video {
  width: 100%;
  display: block;
  border-radius: 8px 8px 0 0;
}

.controls {
  display: flex;
  gap: 10px;
  padding: 12px;
  background: #222;
  align-items: center;
  border-radius: 0 0 8px 8px;
}

.controls button {
  padding: 8px 16px;
  cursor: pointer;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.2s;
}

.controls button:hover {
  background: #45a049;
}

.progress-bar {
  flex-grow: 1;
  height: 8px;
  background: #555;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: #4CAF50;
  width: 0%;
  transition: width 0.1s linear;
}

.time {
  color: white;
  font-family: monospace;
  font-size: 14px;
  min-width: 100px;
  text-align: right;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 5px;
}

.volume-control input[type="range"] {
  width: 60px;
  cursor: pointer;
}

/* Basic examples */
.demo-video {
  max-width: 100%;
  border-radius: 8px;
}

/* Video.js container */
.videojs-container {
  max-width: 640px;
  margin: 20px auto;
}

.video-js {
  border-radius: 8px;
  overflow: hidden;
}
