/* Fap Hero Canvas Styles */
.fap-hero-canvas {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  height: 300px;
  z-index: 50;
  background-color: rgba(20, 20, 30, 0.75);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 0, 0, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 1rem;
  overflow: hidden;
}

.fap-hero-canvas:hover {
  transform: translateY(-50%) scale(1.03);
  box-shadow: 0 12px 40px rgba(139, 0, 0, 0.4);
}

/* Dialogue Box Styling */
.dialogue-box {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: #EAEAEA;
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  text-align: center;
  border: 1px solid rgba(139, 0, 0, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fap-hero-canvas:hover .dialogue-box {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .fap-hero-canvas {
    width: 220px;
    height: 260px;
    right: 15px;
  }
}

@media (max-width: 768px) {
  .fap-hero-canvas {
    width: 180px;
    height: 220px;
    right: 10px;
    bottom: 10px;
    top: auto;
    transform: none;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .fap-hero-canvas {
    width: 160px;
    height: 200px;
    right: 15px;
    top: auto;
    bottom: 15px;
    transform: none;
  }
}

/* Fullscreen mode visibility */
.fullscreen-media-mode .fap-hero-canvas {
  z-index: 100;
}
/* Immersive Fap Hero Canvas */
.immersive-fap-hero-canvas {
  background-color: transparent !important;
  backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}