body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f0f0;
    font-family: 'Arial', sans-serif;
    position: relative;
  }
  
  .emoji-container {
    display: flex;
    justify-content: space-around;
    width: 50%;
  }
  
  .emoji {
    font-size: 5rem;
    animation: spin 8s cubic-bezier(0.4, 0.2, 0, 0.9) infinite;
  }
  
  .emoji:nth-child(2) {
    animation-delay: 1s;
  }
  
  .emoji:nth-child(3) {
    animation-delay: 2s;
  }
  
  .emoji:nth-child(4) {
    animation-delay: 3s;
  }
  
  @keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  .footer {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(128, 128, 128, 0.5);
    padding: 5px 15px;
    font-size: 1rem;
  }

/* コインアニメーション用のスタイルを追加 */
.coin-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
  }
  
  .coin {
    position: absolute;
    font-size: 50px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-delay: 10s;
  }
  
  .coin:nth-child(odd) {
    animation-name: scatterCoinLeft;
  }
  
  .coin:nth-child(even) {
    animation-name: scatterCoinRight;
  }
  
  @keyframes scatterCoinLeft {
    0% {
      transform: translate(-50%, -50%);
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    100% {
      transform: translate(-200%, -200%) rotate(180deg);
      opacity: 0;
    }
  }
  
  @keyframes scatterCoinRight {
    0% {
      transform: translate(-50%, -50%);
      opacity: 0;
    }
    10% {
      opacity: 1;
    }
    100% {
      transform: translate(100%, -200%) rotate(180deg);
      opacity: 0;
    }
  }
  