* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    body {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      background: linear-gradient(135deg, #ff6ec4, #7873f5);
      color: #fff;
    }
    

    header {
      margin-top: 30px;
      background: transparent;
      padding: 15px 30px;
      text-align: center;
      top: 30px;
      display: flex;
      justify-content: center;
      
    }
    footer {
      bottom: 0;
      background: transparent;
      padding: 15px 30px;
      text-align: center;
    }
    footer a{
        text-decoration: none;

    }
    nav a {
      color: #ffd;
      margin: 0 15px;
      text-decoration: none;
      font-weight: 500;
      gap: 50px;
    }
    
    h1 {
      text-align: center;
      padding: 10px;
      font-size: 3rem;
      color: #fff8dc;
      margin-top: 20px;
    }
    .calculator-container {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px;
    }
    .calculator {
      background: rgba(255, 255, 255, 0.15);
      border-radius: 16px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(10px);
      padding: 20px;
      width: 350px;
      animation: fadeIn 0.8s ease-in-out;
    }
    .display {
      width: 100%;
      padding: 15px;
      font-size: 1.4rem;
      text-align: right;
      border: none;
      border-radius: 10px;
      margin-bottom: 15px;
      background: #f8f8f8;
      color: #333;
    }
    
    .buttons {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
    }
    button {
      padding: 15px;
      font-size: 1rem;
      border: none;
      border-radius: 10px;
      background: linear-gradient(145deg, #ffcbf2, #f3c4fb);
      color: #333;
      font-weight: bold;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
      transition: transform 0.2s ease, background 0.3s;
    }
    button:hover {
      transform: scale(1.1);
      background: linear-gradient(145deg, #f3c4fb, #ffcbf2);
    }
    button:active {
      transform: scale(0.95);
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: scale(0.9); }
      to { opacity: 1; transform: scale(1); }
    }