
/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #000;
  color: white;
}
/* Dark/Light Theme */
body.dark {
  background-color: #141414;
  color: white;
}

body.light {
  background-color: #f3f3f3;
  color: #333;
}

/* Main Content */
main {
  padding-top: 70px;
}

/* Footer Styles */
footer {
  background-color: #141414;
  color: #757575;
  padding: 2rem 4%;
  text-align: center;
  margin-top: 2rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.footer-links a {
  color: #757575;
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  main {
    padding-top: 60px;
  }
  
  footer {
    padding: 1.5rem 2%;
  }
  
  .footer-links {
    gap: 0.8rem;
  }
}

/* Stream Quality Selector */
.stream-quality {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(20, 20, 20, 0.9);
  padding: 1rem;
  border-radius: 8px;
  z-index: 1000;
}

.stream-quality h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.server-options {
  display: flex;
  gap: 0.5rem;
}

.server-btn {
  background: #333;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.server-btn:hover {
  background: #555;
}

.server-btn.active {
  background: #e50914;
}
/* Video Player Styles */
.video-player {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.player-content {
  width: 90%;
  max-width: 1000px;
  position: relative;
  background: #000;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.close-player {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.stream-options {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.quality-btn {
  padding: 0.5rem 1rem;
  background: #333;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.quality-btn.active {
  background: #e50914;
}

/* Loading Animation */
.loading-spinner {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  margin: 2rem auto;
}

.loading-spinner div {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e50914;
  animation: loading 1.2s linear infinite;
}

.loading-spinner div:nth-child(1) {
  top: 8px;
  left: 8px;
  animation-delay: 0s;
}
.loading-spinner div:nth-child(2) {
  top: 8px;
  left: 32px;
  animation-delay: -0.4s;
}
.loading-spinner div:nth-child(3) {
  top: 8px;
  left: 56px;
  animation-delay: -0.8s;
}
.loading-spinner div:nth-child(4) {
  top: 32px;
  left: 8px;
  animation-delay: -0.4s;
}

@keyframes loading {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading-text {
  text-align: center;
  margin-top: 1rem;
  color: #aaa;
}

/* Animation for upcoming movies */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.upcoming-highlight {
  animation: pulse 2s infinite;
}
