body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #71b7e6, #9b59b6);
  min-height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  color: #333;
}

.container {
  background: white;
  max-width: 520px;
  width: 100%;
  padding: 30px 40px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  text-align: center;
}

h1 {
  font-weight: 700;
  margin-bottom: 25px;
  color: #4a148c;
  text-transform: uppercase;
  letter-spacing: 2px;
}

label {
  display: block;
  margin-top: 20px;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: #555;
  text-align: left;
}

input[type="file"] {
  width: 100%;
  padding: 8px;
  border: 2px solid #9b59b6;
  border-radius: 8px;
  background-color: #fafafa;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

input[type="file"]:hover,
input[type="file"]:focus {
  border-color: #4a148c;
  outline: none;
}

button {
  margin-top: 30px;
  padding: 12px 0;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 700;
  background: #6a1b9a;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 6px 15px rgba(106, 27, 154, 0.4);
}

button:hover {
  background: #4a148c;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(74, 20, 140, 0.5);
}

button:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(74, 20, 140, 0.3);
}

#result {
  margin-top: 30px;
  padding: 20px;
  background: #e1bee7;
  border-radius: 12px;
  font-size: 1.1rem;
  color: #4a148c;
  min-height: 50px;
  word-wrap: break-word;
  text-align: left;
  box-shadow: inset 0 0 10px #ce93d8;
}
