/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  font-family: sans-serif;
  max-width: 100%;
  overflow-x: hidden;
}

/* Layout Containers */
.stream-container {
  max-width: 1100px;
  margin: 20px auto;
  text-align: center;
  color: white;
  font-family: sans-serif;
  padding: 0 10px;
}

.video-wrapper {
  text-align: center;
}

/* Video Styling */
#stream {
  width: 100%;
  max-height: 80vh;
  border: 2px solid #fff;
  border-radius: 10px;
  display: none;
}

/* Offline Image Styling */
#offline-image {
  display: none;
  height: auto;
  width: 100%;
  max-width: 100%;
}

#offline-image.half-size {
  display: block;
  width: 100%;
  max-width: 50vw;
  margin: 0 auto;
  height: auto;
  border: 2px solid #fff;
  border-radius: 10px;
}

/* Stream Controls */
#stream-controls {
  margin-top: 20px;
  display: none;
}

/* Streaming Links Section */
.streaming-links {
  margin-top: 15px;
  text-align: center;
}

.streaming-title {
  font-size: 16px;
}

.streaming-icons {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
#offline-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 2px solid #fff;
  border-radius: 10px;
  margin: 0 auto;
}


/* Comment Box */
.comment-form {
  border: 2px solid red;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px;
}

.comment-form input[type="text"] {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  border: 2px solid #fff;
  border-radius: 6px;
  background: #111;
  color: white;
}

.comment-form button {
  padding: 10px 18px;
  font-size: 16px;
  background: #222;
  color: white;
  border: 2px solid #fff;
  border-radius: 6px;
  cursor: pointer;
}

.comment-form button:hover {
  background: #333;
}

.widget-container iframe {
  border: 2px solid green;
  width: 100%;
  height: 300px;
  border: none;
  margin: 10px 0;
}

.badges-container {
  border: 2px solid purple;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0;
}

.badges-container iframe {
  border: 2px solid yellow;
  flex: 1;
  height: 60px;
  border: none;
}

.commentbox-container {
  margin-top: 15px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 600px) {
  .comment-form {
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
  }

  .comment-form input[type="text"] {
    width: 100%;
    font-size: 18px;
  }

  .comment-form button {
    width: 100%;
    font-size: 18px;
    margin-top: 8px;
  }
}
