* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(120deg, #a1c4fd, #c2e9fb);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    animation: backgroundFade 5s infinite alternate;
  }
  
  #main {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    animation: slideUp 0.8s ease;
    transition: transform 0.3s;
  }
  
  #main:hover {
    transform: translateY(-5px);
  }
  
  h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #34495e;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
  }
  
  form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  label {
    font-weight: 600;
    color: #2c3e50;
  }
  
  input,
  select {
    padding: 0.7rem;
    border: 1.5px solid #dcdde1;
    border-radius: 10px;
    font-size: 1rem;
    background-color: #f7f9fa;
    transition: border 0.3s ease, box-shadow 0.3s ease;
  }
  
  input:focus,
  select:focus {
    border-color: #2980b9;
    box-shadow: 0 0 8px rgba(41, 128, 185, 0.3);
    outline: none;
  }
  
  button {
    margin-top: 1rem;
    padding: 0.9rem;
    background: linear-gradient(135deg, #3498db, #6dd5fa);
    border: none;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: transform 0.2s ease, background 0.3s ease;
  }
  
  button:hover {
    background: linear-gradient(135deg, #2980b9, #57c7f9);
    transform: scale(1.02);
  }
  
  .result,
  .info {
    text-align: center;
    margin-top: 2.2rem;
    animation: fadeIn 1.5s ease;
  }
  
  .result h2 {
    font-size: 2.4rem;
    margin: 0.5rem 0;
    color: #2c3e50;
  }
  
  #category {
    font-size: 1rem;
    font-weight: bold;
    color: #7f8c8d;
  }
  
  .info h4 {
    margin-bottom: 0.8rem;
    color: #34495e;
  }
  
  .info p {
    font-size: 0.95rem;
    color: #555;
  }
  
  .fade-in {
    animation: fadeIn 1.3s ease-in-out;
  }
  
  @keyframes slideUp {
    from {
      transform: translateY(40px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes backgroundFade {
    0% { background: linear-gradient(120deg, #a1c4fd, #c2e9fb); }
    100% { background: linear-gradient(120deg, #d4fc79, #96e6a1); }
  }
  