body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(120deg, #e0eafc, #cfdef3);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
  }
  
  .container {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    padding: 30px;
    text-align: center;
    width: 400px;
    max-width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .container:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  }
  
  h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333333;
  }
  
  .coin-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 30px;
  }
  
  .coin {
    width: 120px;
    height: 120px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }
  
  .coin div {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    font-weight: bold;
    color: #ffffff;
    backface-visibility: hidden;
  }
  
  .front {
    background: radial-gradient(circle at 30% 30%, #333333, #333333);
    transform: rotateY(0deg);
    border: 3px solid #333333;
  }
  
  .back {
    background: radial-gradient(circle at 70% 70%, #a1a1a1, #a1a1a1);
    transform: rotateY(180deg);
    border: 3px solid #a1a1a1;
  }
  
  .flip-button {
    padding: 15px 30px;
    font-size: 1.2em;
    background-color: #383737;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    margin-top: 20px;
  }
  
  .flip-button:hover {
    background-color: #2e2e2e;
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  #result-message {
    font-size: 1.5em;
    color: #444444;
    margin-top: 20px;
  }
  
  .flip-animation {
    animation: flip 1s ease-in-out;
  }
  
  @keyframes flip {
    0% {
      transform: rotateX(0);
    }
    50% {
      transform: rotateX(180deg);
    }
    100% {
      transform: rotateX(360deg);
    }
  }
  
  .heads {
    transform: rotateX(0);
  }
  
  .tails {
    transform: rotateX(180deg);
  }
  
  .copyright{
    color: black;
    margin-top: 50px;

}
  .link {
    color: black;
    text-decoration: none;
  }

  .link:hover {
    color: #444;
    text-decoration: underline;
  }