
body {
  background-color: #000 !important;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: white;
}

canvas {
  background-color: transparent !important;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  z-index: 9999;
  overflow-y: auto;
  font-family: sans-serif;
  padding: 1em;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  box-sizing: border-box;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay.closing {
  animation: modalFadeOut 0.3s ease-out;
}

#html-modal-close {
  opacity: 0.6 !important;
  transition: opacity 0.3s ease;
}

#html-modal-close:hover {
  opacity: 1 !important;
}

@keyframes modalFadeIn {
  0% { transform: translateY(60px) scale(0.95); opacity: 0; }
  60% { transform: translateY(-10px) scale(1.02); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes modalFadeOut {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(40px); opacity: 0; }
}

#html-trailer-button {
  padding: 1em 2em;
  font-size: 1em;
  background: #e91e63;
  color: white;
  border: none;
  cursor: pointer;
  display: block;
  margin: 1em 0 0 0;
  text-align: left;
}

#html-trailer-button:hover {
  background: #c2185b;
  transition: background 0.3s ease;
}

@media (max-width: 768px) {
  #html-trailer-button {
    margin: 1em auto 0 auto !important;
    text-align: center !important;
  }
}
