body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom right, #2f2f2f, #383838);
  margin: 0;
  padding: 0;
  animation: backgroundAnimation 10s ease-in-out infinite alternate;
  color: #ffffff; /* Making all text white */
}

@keyframes backgroundAnimation {
  0% { background: linear-gradient(to bottom right, #504f4f, #2b2b2b); }
  100% { background: linear-gradient(to bottom right, #383838, #383838); }
}

.top-buttons {
  display: flex;
  justify-content: center;
  margin: 10px;
  gap: 10px;
}

.switch-view-btn {
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
  transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.switch-view-btn:hover {
  background: #0056b3;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.8);
  transform: scale(1.05);
}

.container {
  width: 90%;
  margin: auto;
  padding: 20px;
  background: rgba(56, 56, 56, 0.9); /* Changed to grey */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  animation: containerFadeIn 2s ease-in-out;
}

@keyframes containerFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.title {
  text-align: center;
  margin-bottom: 20px;
  animation: titleFadeIn 2s ease-in-out;
}

@keyframes titleFadeIn {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

.title h1 {
  font-size: 36px;
  color: #ffffff; /* Making text white */
  text-shadow: 0 0 5px rgba(0, 0, 0), 0 0 10px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 0, 0);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  0% {
      text-shadow: 0 0 5px rgba(147, 147, 147, 0.5), 0 0 10px rgb(255, 255, 255), 0 0 15px rgba(0, 0, 0, 0.5);
  }
  100% {
      text-shadow: 0 0 15px rgba(145, 145, 145), 0 0 20px rgb(145, 145, 145), 0 0 25px rgb(0, 0, 0);
  }
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  animation: headerSlideIn 1s ease-in-out;
}

@keyframes headerSlideIn {
  from { transform: translateY(-50px); }
  to { transform: translateY(0); }
}

.header img {
  width: 200px;
  border-radius: 10px;
  animation: imgFadeIn 2s ease-in-out;
}

@keyframes imgFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.header-info {
  padding-left: 20px;
  animation: infoFadeIn 2s ease-in-out;
  text-align: center;
  color: #ffffff; /* Making text white */
}

@keyframes infoFadeIn {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

.header h1, .header p {
  margin: 10px 0;
  color: #ffffff; /* Making text white */
  animation: textFadeIn 2s ease-in-out;
}

@keyframes textFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.iframe-container {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  margin-top: 20px;
  animation: iframeFadeIn 2s ease-in-out;
}

@keyframes iframeFadeIn {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

.iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}

.stream-buttons, .season-buttons, .episodes-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  gap: 10px;
  animation: buttonsFadeIn 2s ease-in-out;
}

@keyframes buttonsFadeIn {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

.stream-button, .season-button, .watch-btn {
  display: inline-block;
  padding: 8px 12px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
  transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.stream-button:hover, .season-button:hover, .watch-btn:hover {
  background: #0056b3;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.8);
  transform: scale(1.05);
}

.episodes-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  animation: episodesFadeIn 2s ease-in-out;
}

@keyframes episodesFadeIn {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

.episodes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.episode {
  background: #383838; /* Changed to grey */
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  animation: episodeFadeIn 2s ease-in-out;
}

@keyframes episodeFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.episode:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.episode img {
  width: 100%;
  border-radius: 8px;
}

.episode h3 {
  font-size: 16px;
  margin: 10px 0;
  color: #ffffff; /* Making text white */
  animation: textFadeIn 2s ease-in-out;
}

.episode p {
  font-size: 14px;
  color: #ffffff; /* Making text white */
  animation: textFadeIn 2s ease-in-out;
}

footer {
  text-align: center;
  padding: 10px 0;
  background: rgba(56, 56, 56, 0.9); /* Changed to grey */
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  animation: footerFadeIn 2s ease-in-out;
}

@keyframes footerFadeIn {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

footer p {
  font-size: 14px;
  color: #ffffff; /* Making text white */
  margin: 0;
  animation: textFadeIn 2s ease-in-out;
}

.admin-panel {
  display: none; /* Initially hidden */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.admin-panel h2, .admin-panel h3 {
  color: #ffffff;
}

.admin-panel input, .admin-panel button {
  display: block;
  margin: 10px auto;
  padding: 10px;
  width: 80%;
}

.admin-panel input {
  background: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
}

.admin-panel button {
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

.admin-panel button:hover {
  background: #0056b3;
}

.notification-banner {
  background-color: #1e1e1e; /* Light grey background */
  color: #333; /* Dark grey text */
  padding: 10px 15px; /* Reduced padding for thinner size */
  display: none; /* Initially hidden */
  position: fixed; /* Stay in place */
  top: 0; /* Position at the top */
  left: 0; /* Position at the left */
  width: 100%; /* Full width */
  z-index: 1000; /* Ensure it's on top */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
  display: flex; /* Use flexbox for layout */
  justify-content: center; /* Center text horizontally */
  align-items: center; /* Center vertically */
  animation: bannerSlideDown 0.5s ease-in-out; /* Add animation */
  opacity: 0.8; /* Semi-transparent */
}

.notification-text {
  font-size: 16px; /* Adjust font size as needed */
  margin-right: 15px; /* Space between text and button */
  font-weight: bold; /* Make text bold */
  color: white; /* White text */
}

.watch-button {
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
  transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.watch-button:hover {
  background: #0056b3;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.8);
  transform: scale(1.05);
}

@keyframes bannerSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

