/* Resetting default margin and padding for smooth rendering */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styling for full-screen height */
body {
  height: 100vh;
  font-family: 'Arial', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1f1f1f; /* Dark gray background to emphasize the content */
  overflow: hidden;
  position: relative;
}

/* Unique animated background with smooth gradient */
.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #812AFB, #1fa2ff); /* Subtle gradient between purple and blue */
  background-size: 400% 400%;
  animation: gradientMove 5s ease infinite;
  z-index: -1;
}

/* Keyframe for animated background */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Main container with glassy effect */
.container {
  text-align: center;
  max-width: 500px;
  padding: 40px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.15); /* Glass-like effect */
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px); /* Adding a strong blur effect for glassy appearance */
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

/* Hover effect for container */
.container:hover {
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
  transform: translateY(-5px);
}

/* Loader styling */
.loader {
  width: 60px;
  height: 60px;
  border: 5px solid transparent;
  border-radius: 50%;
  border-top: 5px solid #7a1cfc; /* Purple loader */
  border-right: 5px solid #f1c40f;
  border-bottom: 5px solid #e67e22;
  animation: spin 2s linear infinite;
  margin: 0 auto 20px;
}

/* Rotation animation for loader */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Text styling with better contrast */
.text h1 {
  font-size: 40px;
  color: #ffffff; /* White color for better contrast */
  font-weight: 900;
  margin-bottom: 15px;
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: fadeIn 2s ease-out;
}

.text p {
  font-size: 18px;
  color: #ecf0f1;
  font-family: 'Roboto', sans-serif;
  animation: fadeIn 3s ease-out;
}

/* Link styles for caard-link */
a.caard-link {
  color: #2d2a2a; /* Purple */
  text-decoration: none;
  font-size: 36px;
  font-weight: 700;
  transition: color 0.3s ease;
}

a.caard-link:hover {
  color: #413eff; /* Goldish orange hover */
  text-decoration: underline;
}

/* Link styles for TST Technology */
a.tst-link {
  color: #155618; /* Orange accent */
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

a.tst-link:hover {
  color: #413eff; /* Gold */
  text-decoration: underline;
}

/* Fade-in text animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
