body {
  font-family: Arial, sans-serif;
  background: #000;
  color: #ff0000;
  margin: 0;
  padding: 0;
  text-align: center;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #111;
  color: white;
  padding: 15px 20px;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

.signup-btn {
  background: #ff0000;
  color: white;
  padding: 10px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
}

.signup-btn:hover {
  background: #cc0000;
}

.container {
  padding: 30px 20px;
}

.title-wrapper {
  text-align: center;
  margin-bottom: 20px;
}

.title-text {
  font-size: 28px; /* atau sesuaikan */
  font-weight: bold;
  color: white;     /* pastikan warnanya putih */
}

.live-4k-text {
  font-size: 28px; /* sedikit lebih besar */
  font-weight: bold;
  color: red;
  margin-top: 4px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.player-wrapper {
  position: relative;
  max-width: 800px;
  margin: 20px auto 10px;
  cursor: pointer;
}

.fake-player {
  width: 100%;
  border-radius: 10px;
  opacity: 0.5; /* transparansi 50% */
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  padding: 20px;
  z-index: 2;
}

.play-button::before {
  content: '▶';
  font-size: 40px;
  color: white;
}

.live-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: red;
  color: white;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 14px;
  border-radius: 5px;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

.buffering {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: white;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInOut 1s infinite;
}

.spinner {
  border: 4px solid rgba(255,255,255,0.2);
  border-top: 4px solid white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin-bottom: 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

@keyframes fadeInOut {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.viewer-count {
  text-align: left;
  font-size: 13px;
  color: #aaa;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
  padding-left: 10px;
}

.watch-btn-wrapper {
  max-width: 800px;
  margin: 10px auto 20px;
  text-align: right;
  padding-right: 10px;
}

.cta-btn {
  background: #ff0000;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

.cta-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.spinner-inline {
  border: 2px solid rgba(255,255,255,0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  display: inline-block;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal {
  background: #111;
  color: white;
  padding: 30px 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.modal h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.modal p {
  font-size: 15px;
  margin-bottom: 20px;
}

.modal button {
  background: #ff0000;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  border: none;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}

.modal button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 30px auto 10px;
  max-width: 800px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  font-size: 15px;
  max-width: 120px;
}

.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

footer {
  background: #111;
  color: #aaa;
  font-size: 13px;
  padding: 30px 20px;
  text-align: center;
}

footer a {
  color: #aaa;
  text-decoration: underline;
  margin: 0 10px;
}

@media screen and (max-width: 480px) {
  .title-text, .live-4k-text {
    font-size: 20px;
  }

  .signup-btn {
    display: none !important;
  }

  .play-button::before {
    font-size: 30px;
  }

  .cta-btn {
    font-size: 13px;
    padding: 9px 16px;
  }

  .viewer-count {
    font-size: 12px;
    padding-left: 5px;
  }

  .watch-btn-wrapper {
    text-align: right;
    padding-right: 10px;
  }

  .features {
    gap: 20px;
    padding: 0 10px;
  }

  .feature {
    font-size: 13px;
    max-width: 100px;
  }

  .feature img {
    width: 40px;
    height: 40px;
  }

  .modal {
    padding: 20px 15px;
  }

  .modal h2 {
    font-size: 18px;
  }

  .modal p {
    font-size: 14px;
  }

  .modal button {
    font-size: 14px;
    padding: 10px 20px;
  }
  
}
.live-4k-text {
  color: red;
  font-weight: bold;
  font-size: 16px;
}

