/* Additional CSS for StreamerU */

/* Trial watermark */
.trial-watermark {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 0, 0, 0.3);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: bold;
  pointer-events: none;
  z-index: 100;
}

/* Recording time limit indicator */
.recording-time-limit {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: bold;
  z-index: 100;
}

/* Upgrade button styling */
.upgrade-button {
  background-color: #9146FF;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 16px;
  cursor: pointer;
  margin-left: 10px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.upgrade-button:hover {
  background-color: #7a2bff;
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(145, 70, 255, 0.5);
}

/* Modal styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: #18181b;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  position: relative;
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover {
  color: white;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}

#buy-code-btn {
  background-color: #00b5ad;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}

#buy-code-btn:hover {
  background-color: #009c95;
}

.enter-code-section {
  display: flex;
  gap: 10px;
}

#upgrade-code-input {
  flex: 1;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #333;
  background-color: #2c2c2e;
  color: white;
}

#submit-code-btn {
  background-color: #9146FF;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}

#submit-code-btn:hover {
  background-color: #7a2bff;
}

#code-status {
  margin-top: 10px;
  font-weight: bold;
}

/* Pro badge styling */
.pro-badge {
  background-color: #9146FF;
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  margin-left: 10px;
}

/* Pro feature indicator */
.pro-feature-indicator {
  background-color: rgba(145, 70, 255, 0.2);
  color: #9146FF;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  margin-left: 5px;
}

/* Tutorial text */
.tutorial-text {
  background-color: rgba(0, 181, 173, 0.1);
  border-left: 3px solid #00b5ad;
  padding: 10px;
  margin-top: 15px;
  border-radius: 0 4px 4px 0;
}

.tutorial-text p {
  margin: 0;
  color: #e0e0e0;
}

/* Additional CSS for fullscreen gift animations */
.fullscreen-gift-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 600px;
  z-index: 1000;
  pointer-events: none;
}

.fullscreen-gift-event {
  font-size: 1.5em;
  transform: scale(1.2);
}

/* Ensure gift animations are visible in fullscreen mode */
.fullscreen-layout {
  position: relative;
}

/* Enhanced styling for gift animations */
.gift-event {
  animation: giftPop 0.5s ease-out, giftFade 4.5s ease-in 0.5s;
  transform-origin: center;
}

@keyframes giftPop {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes giftFade {
  0% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}
