
    body {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 100vh;
      text-align: center;
      background-color: #c9e4ff
    }

    h1 {
      font-size: 2em;
    }

    .coin-container {
      perspective: 1000px;
      width: 100px;
      height: 100px;
    }

    .coin {
      width: 100px;
      height: 100px;
      position: relative;
      transform-style: preserve-3d;
      transition: transform 1s ease-in-out;
    }

    .side {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2em;
      font-weight: bold;
      border-radius: 50%;
      background-color: gold;
      box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    }

    .front {
      transform: rotateY(0deg);
    }

    .back {
      transform: rotateY(180deg);
    }

    button {
      margin-top: 20px;
      padding: 15px 25px;
      font-size: 1.2em;
      border: none;
      background-color: royalblue;
      color: #c9e4ff
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    button:active {
      background-color: navy;
    }

    #result {
      margin-top: 15px;
      font-size: 1.5em;
      font-weight: bold;
    }
