/* @override 
	http://localhost/akalanewman/assets/css/splash.css */

@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&display=swap');
  html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    
  }
  canvas {
    display: block;
    width: 100vw; /* Fallback if JS fails */
    height: 100vh;
  }
	 
	 #ui-container {
  position: fixed;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 100;
}

.action-button {
  font: 1em "Rock Salt", cursive;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  transform: translateY(20px);
  background-color: rgba(35, 12, 56, 0.5);
  color: rgba(185, 1, 199, 0.82);
  border-radius: 50px;
  padding: .5em 1.5em;
  border-color: #21003c;
  box-shadow: 0 0 5px #ba02c6;
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
}

.action-button:hover {
  background: rgba(162, 161, 161, 0.04);
  box-shadow: 0 0 20px;
}

.action-button.show {
  opacity: 1;
  transform: translateY(0px);
}

#intro-text {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 18px;
  font-family: 'Courier New', monospace;
  text-align: center;
  pointer-events: none;
  z-index: 10000;
  white-space: pre-line;
  line-height: 1.6;
  max-width: 80%;
  opacity: 0; /* Controlled by JS later */
  transition: opacity 1s ease;
  overflow: hidden;
  border-right: 2px solid white; /* Typing cursor */
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  backdrop-filter: blur(2px);
	
}

#intro-text.visible {
  opacity: 1;
	visibility: visible;
}

#intro-text.hidden {
  opacity: 0;
}
	 
	 @keyframes typing-cursor {
  from, to { border-color: transparent; }
  50% { border-color: white; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  #intro-text {
    font-size: 16px;
    max-width: 90%;
    padding: 8px;
  }
  .action-button {
    font-size: 0.9em;
    padding: 0.4em 1.2em;
  }
}

@media (max-width: 480px) {
  #intro-text {
    font-size: 14px;
    max-width: 95%;
    padding: 6px;
    line-height: 1.5;
  }
  .action-button {
    font-size: 0.8em;
    padding: 0.3em 1em;
    border-radius: 40px;
  }
}

