* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: Arial, sans-serif;
  background: black;
}

/* Canvas */

canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

/* Chat */

#chatBox {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);

  width: 92%;
  max-width: 700px;

  padding: 15px;

  border-radius: 25px;

 background: rgba(255, 196, 0, 0.92);

  backdrop-filter: blur(12px);

 border:3px solid #ff9900;

 box-shadow:0 0 20px rgba(255,170,0,.45);

  z-index: 2;
}

/* Messages */

#chatMessages {
  height: 220px;

  overflow-y: auto;

  padding: 10px;

  margin-bottom: 10px;

  border-radius: 15px;

  background: rgba(0,0,0,0.2);

  scrollbar-width: thin;

  color: white;
}

/* Scroll */

#chatMessages::-webkit-scrollbar {
  width: 6px;
}

#chatMessages::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3);
  border-radius: 10px;
}

/* Input */

#userInput {
  width: 100%;

  border: none;

  outline: none;

  padding: 14px 18px;

  border-radius: 999px;

  font-size: 16px;

  background: rgba(255,255,200,0.95);

  color: #333;

  box-shadow:
    0 0 15px rgba(255,255,100,0.3);

  transition: 0.3s;
}

#userInput:focus {

  transform: scale(1.01);

  box-shadow:
    0 0 20px rgba(255,255,120,0.5);
}

/* Messages */

.message {

  margin: 10px 0;

  padding: 10px 14px;

  border-radius: 15px;

  animation: appear 0.3s ease;
}

/* User */

.user-message {

  text-align: right;

  background: rgba(255,255,255,0.15);

  color: white;

  margin-left: auto;

  max-width: 80%;
}

/* Liam */

.liam-message {

  text-align: left;

  background: rgba(255,255,120,0.15);

  color: #fff6a0;

  font-weight: bold;

  max-width: 80%;
}

/* Animation */

@keyframes appear {

  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#inputArea {
  
  display: flex;
  
  gap: 10px;
  
  margin-top: 10px;
}

#userInput {
  
  flex: 1;
}

#sendButton {
  
  background: #ff9800;
  
  color: white;
  
  border: none;
  
  border-radius: 12px;
  
  padding: 0 20px;
  
  font-size: 16px;
  
  font-weight: bold;
  
  cursor: pointer;
  
  transition: .2s;
}

#sendButton:hover {
  
  background: #ff8800;
  
  transform: scale(1.03);
}