body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #121212;
  color: #fff;
}

/* ====== HEADER ====== */
header {
  width: 100%;
  background: #1e1e1e;
  padding: 15px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 1.5rem;
  color: #ffcc00;
}

header nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

header nav ul li {
  display: inline;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #ff4500;
}

/* ====== MAIN CONTENT ====== */
.main-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3px;
}

.video-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 1000px;
}

.video-placeholder {
  width: 100%;
  border-radius: 10px;
  position: relative;
  aspect-ratio: 16/9;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: #fff;
  background: url("../img/nationa-2025.jpg") center center / cover no-repeat;
}

.top-left-info {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.top-left-info .live-badge {
  background: red;
  color: #fff;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.7rem;
}

.top-left-info .live-viewers {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.6rem;
}

#playIcon {
  font-size: 2rem;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.6);
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.spinner {
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-top: 5px solid #ff4500;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  position: absolute;
  z-index: 3;
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  text-align: center;
  padding: 15px;
  box-sizing: border-box;
  z-index: 9999;
  display: none;
}

.overlay h2 {
  margin-bottom: 15px;
  font-size: 1rem;
}

.overlay button {
  padding: 10px 20px;
  border: none;
  background: #ff4500;
  color: #fff;
  font-size: 0.9rem;
  border-radius: 5px;
  cursor: pointer;
}

.overlay button:hover {
  background: #e03e00;
}

.video-player {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 10px;
  display: none;
}

.controls {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
}

.progress-container {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
}

.progress {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
}

.progress-filled {
  height: 100%;
  width: 0%;
  background: #ff4500;
  border-radius: 3px;
}

.time {
  font-size: 0.5rem;
  color: #ccc;
  min-width: 5px;
  text-align: center;
}

.video-info {
  width: 100%;
  max-width: 1000px;
  text-align: center;
  margin: 10px 0 10px 0;
}

.video-info h2 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffcc00;
}

.video-info p {
  margin: 5px 0 0 0;
  font-size: 1.2rem;
  color: #ccc;
}

.watch-now {
  margin-top: 20px;
  padding: 16px 40px;
  background: #ff4500;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.watch-now:hover {
  background: #e03e00;
}

.comments-container {
  width: 100%;
  max-width: 1000px;
  background: #1e1e1e;
  border-radius: 10px;
  padding: 15px;
  margin-top: 25px;
}

.comments-container h2 {
  margin-top: 0;
}

.comment-list {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 10px;
}

.comment {
  padding: 8px;
  border-bottom: 1px solid #333;
  display: flex;
  justify-content: space-between;
}

.comment:last-child {
  border-bottom: none;
}

.comment-input {
  display: flex;
}

.comment-input input {
  flex: 1;
  padding: 8px;
  border-radius: 5px 0 0 5px;
  border: none;
}

.comment-input button {
  padding: 8px 14px;
  border: none;
  background: #ff4500;
  color: #fff;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.comment-input button:hover {
  background: #e03e00;
}

footer {
  width: 100%;
  text-align: center;
  padding: 15px;
  background: #1e1e1e;
  margin-top: 30px;
  border-top: 1px solid #333;
}

footer a {
  color: #ffcc00;
  text-decoration: none;
  margin: 0 8px;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .video-container {
    width: 95%;
  }

  .video-info h2 {
    font-size: 1.4rem;
  }

  .video-info p {
    font-size: 1rem;
  }

  .overlay h2 {
    font-size: 0.9rem;
  }

  .overlay button {
    font-size: 0.7rem;
    padding: 8px 18px;
  }

  .watch-now {
    font-size: 1rem;
    padding: 12px 28px;
  }

  .time {
    font-size: 0.6rem;
  }
}

.timestamp {
  color: #ccc;
  font-size: 0.65rem;
  margin-left: 8px;
}
