/* body {
    background: #1c1c1e;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  } */
  body {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
    background: linear-gradient(135deg, 
   
    #b57edc,   /* Lavender Purple */

    #9370db,   /* Medium Purple */

    #c0c0c0 ,   /* Silver */
    #a9a9a9,   /* Dark Grey */
    #6a0dad,   /* Strong Purple */
    #d147d1,   /* Deep Purple-Pink */
    #e0b3ff,   /* Bright Lavender */
    #d8bfd8,   /* Thistle */
    
    #d8bacf,
    #e6e6fa,   /* Lavender */
    #e6e6fa   /* Lavender */
  
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    font-family: 'Segoe UI', sans-serif;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  
  
  
  .calculator {
    background-color: #2c2c2e;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    width: 320px;
  }
  
  #display {
    width: 100%;
    height: 60px;
    font-size: 2em;
    background-color: silver;
    border: none;
    border-radius: 10px;
    /*padding: 10px;*/
    text-align: right;
    margin-bottom: 20px;
    color: black;
  }
  
  .buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }
  
  .btn {
    padding: 20px;
    font-size: 1.2em;
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: 0.2s ease;
  }
  
  .btn:hover {
    opacity: 0.85;
  }
  
  .silver {
    background-color: silver;
    color: black;
  }
  
  .grey {
    background-color: #8e8e93;
  }
  
  .black {
    background-color: black;
  }
  
  .purple {
    background-color: purple;
  }
  
  .lavender {
    background-color: #b57edc;
  }
  
  .wide {
    grid-column: span 2;
  }
  
  .app-header {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    display: none;
  }
  
  .main-title {
    color: #000000; 
    font-size: 2.5rem;
    font-weight: 600;
    background: linear-gradient(90deg, #e0b3ff, #9370db, #c0c0c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: thistle;
    animation: shine 5s infinite linear;
    background-size: 200%;
    padding: 2px 0;
    line-height: 1.2;
  }
  
  
  .sub-title {
    font-size: 1.1rem;
    color: #d8bfd8;
    letter-spacing: 1px;
    font-style: italic;
  }
  
  /* Show only on medium or large screens */
  @media (min-width: 768px) {
    .app-header {
      display: block;
      padding-right: 20px;
    }
  }
  
  /* Title animation */
  @keyframes shine {
    0% { background-position: 0% }
    100% { background-position: 100% }
  }
  