html {
  height: 100%;
  overflow: hidden; 
}

body {
  background-image: url('../bg.gif'); 
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100vh; 
  margin: 0;
  padding-top: 55px; 
  display: flex;
  flex-direction: column; 
  align-items: center;
  font-family: "Roboto", sans-serif;
  color: #f0f0f0;
  overflow: hidden; 
  box-sizing: border-box;
}

#login-status-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(25, 25, 40, 0.95);
  color: #e8e8e8;
  padding: 0 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.35);
  z-index: 1000;
  height: 55px; 
  box-sizing: border-box;
}

#login-status-text {
  font-size: 0.9em;
  font-weight: 300;
  letter-spacing: 0.5px;
}

#login-logout-button {
  background-color: #cc20fc;
  color: white;
  border: none;
  padding: 9px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease-in-out, transform 0.1s ease;
}

#login-logout-button:hover {
  background-color: #a818d0;
  transform: translateY(-1px);
}
#login-logout-button:active {
  transform: translateY(0px);
}

.modal {
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  overflow: hidden; 
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.modal-content {
  background-color: #282a36;
  color: #f0f0f0;
  padding: 25px 35px;
  border: 1px solid #44475a;
  width: 90%;
  max-width: 480px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  position: relative;
  animation: slideDownModal 0.4s ease-out;
  box-sizing: border-box; 
  max-height: 85vh; 
  overflow-y: auto;
}

@keyframes slideDownModal {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close-button {
  color: #bd93f9;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  font-weight: bold;
  transition: color 0.2s ease;
}

.close-button:hover,
.close-button:focus {
  color: #ff79c6;
  text-decoration: none;
  cursor: pointer;
}

.modal-content h3 {
  margin-top: 0;
  color: #cc20fc;
  text-align: center;
  margin-bottom: 10px;
  font-weight: 400;
}
.modal-content p {
  font-size: 0.95em;
  text-align: center;
  margin-bottom: 25px;
  color: #bd93f9;
  line-height: 1.5;
}

#login-form-modal div {
  margin-bottom: 20px;
}

#login-form-modal label {
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
  font-size: 0.9em;
  color: #f8f8f2;
}

#login-form-modal input[type="text"],
#login-form-modal input[type="tel"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #6272a4;
  border-radius: 6px;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  background-color: #44475a;
  color: #f8f8f2;
  transition: border-color 0.2s ease;
}
#login-form-modal input[type="text"]::placeholder,
#login-form-modal input[type="tel"]::placeholder {
  color: #9092a0;
}
#login-form-modal input[type="text"]:focus,
#login-form-modal input[type="tel"]:focus {
  outline: none;
  border-color: #bd93f9;
  box-shadow: 0 0 0 2px rgba(189, 147, 249, 0.3);
}


#login-form-modal button[type="submit"] {
  background-color: #cc20fc;
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.1s ease;
  width: 100%;
  margin-top: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#login-form-modal button[type="submit"]:hover {
  background-color: #a818d0;
  transform: translateY(-2px);
}
#login-form-modal button[type="submit"]:active {
  transform: translateY(0px);
}

#main-content-area {
  display: flex;
  flex: 1; 
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  text-align: center;
  padding: 20px;
  width: 100%;
  max-width: 700px; 
  box-sizing: border-box;
  overflow: hidden; 
}

.roboto-class {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-size: 18px;
}

#main-content-area .sia-font {
  font-family: mystical-woods-rough-script;
  color: #f24be2;
  font-size: 4em;
  margin-bottom: 0.1em;
  font-weight: normal;
}

#main-content-area .ai-text {
  color: #38b1e7;
  font-size: 1.3em;
  font-weight: 600;
  text-align: center;
  animation:
    floatUpDown 3s ease-in-out infinite,
    glowPulse 2.5s ease-in-out infinite;
  transition: transform 0.3s;
  margin-top: 5px;
  margin-bottom: 10px;
}

#main-content-area img {
  margin-bottom: 5px;
}

.roboto-class h2:not(.sia-font) {
    font-weight: 400;
}

@font-face {
  font-family: mystical-woods-rough-script;
  src: url(../mystical-woods-rough-script.ttf);
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow:
      0 0 5px #e787dd,
      0 0 10px #e787dd,
      0 0 20px #e787dd;
  }
  50% {
    text-shadow:
      0 0 8px #e787dd,
      0 0 18px #e787dd,
      0 0 35px #e787dd;
  }
}