body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #1c3b49, #284853, #2c5364);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #a3cfe9;
}

.card {
  background: #111827;
  padding: 30px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), 0 6px 6px rgba(0, 0, 0, 0.5),
    inset 0 0 10px rgba(255, 255, 255, 0.05);
  text-align: center;
  width: 100%;
  max-width: 520px;
  transform: perspective(1000px) rotateX(5deg);
  transition: transform 0.4s ease;
}

.card:hover {
  transform: perspective(1000px) rotateX(0deg) scale(1.02);
}

h1 {
  margin-bottom: 20px;
  font-size: 2.2rem;
  font-weight: 700;
  color: #f9fafb;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-shadow: 0 0 12px #4cafef, 0 0 24px #4cafef;
}

h1 i {
  color: #4cafef;
  font-size: 1.6rem;
  text-shadow: 0 0 12px #00e0ff, 0 0 20px #00e0ff;
}

#text-input {
  padding: 12px 15px;
  width: 80%;
  border: 2px solid #4cafef;
  border-radius: 10px;
  font-size: 1rem;
  background: #1f2937;
  color: #f9fafb;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 8px rgba(76, 175, 239, 0.3);
}

#text-input:focus {
  border-color: #00e0ff;
  box-shadow: 0 0 15px #00e0ff, inset 0 0 10px rgba(0, 224, 255, 0.6);
}

#check-btn {
  padding: 14px 30px;
  margin-top: 20px;
  border: none;
  background: linear-gradient(45deg, #4cafef, #2196f3);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 175, 239, 0.6);
}

#check-btn:hover {
  background: linear-gradient(45deg, #2196f3, #00bcd4);
  box-shadow: 0 0 25px #00e0ff, 0 0 40px #00e0ff;
  transform: translateY(-3px);
}

#check-btn:active {
  transform: translateY(2px) scale(0.97);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

#result {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.4s ease, text-shadow 0.4s ease;
}

#result.show {
  opacity: 1;
}

.success {
  color: #4caf50;
  text-shadow: 0 0 15px #4caf50, 0 0 30px #4caf50;
}

.error {
  color: #ff5252;
  text-shadow: 0 0 15px #ff5252, 0 0 30px #ff5252;
}

.definition {
  margin-top: 25px;
  font-size: 0.95rem;
  background: rgba(76, 175, 239, 0.1);
  border-left: 4px solid #4cafef;
  padding: 12px 16px;
  border-radius: 10px;
  line-height: 1.6;
  text-align: left;
  box-shadow: 0 0 8px rgba(76, 175, 239, 0.2);
}

.definition strong {
  color: #4cafef;
  font-weight: 600;
}
