.bottom {
    display: flex;
    height: 10rem;
    padding: 4rem 0px 6rem 0px;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
    align-self: stretch;    
}

.bottom .h-box {
    display: flex;
    padding: 1rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
}

.bottom .h-box .title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;

    font-size: 1rem;
    font-weight: 700;
}

.bottom .h-box .buttons {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
}

.bottom .h-box .button-scroll, .button-email {
    display: flex;
    min-width: 3rem;
    padding: 0.25rem 0.5rem;
    justify-content: center;
    align-items: center;

    cursor: pointer;

    transition: all ease-in 300ms;
}

.bottom .h-box .button-email {
    transition: all ease-in 300ms;
    gap: 1rem;
}

.button-email span {
    opacity: 0.5;
    transition: all ease-in 300ms;
}

.copy-toast {
    position: fixed;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.5rem;
    max-width: 70%;
    background-color: #333333;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    word-break: keep-all;
  }
  
  .copy-toast.show {
    opacity: 0.85;
    transform: translateX(-50%) translateY(0);
  }


  @media (max-width: 768px) {
    .bottom {
      flex-direction: column;
      align-items: center;
      height: auto;
      padding: 2rem 3rem;
      gap: 2rem;
    }
  
    .bottom .h-box {
      width: 100%;
      max-width: 28rem;
      align-items: flex-start;
      padding: 0.5rem 2rem;
      gap: 1.5rem;
    }
  
    .bottom .h-box .title {
      font-size: 1rem;
      text-align: center;
      justify-content: center;
    }
  
    .bottom .h-box .buttons {
      flex-direction: row; /* ✅ 가로 정렬 유지 */
      flex-wrap: wrap;     /* ✅ 너무 길면 줄바꿈 */
      justify-content: start;
      align-items: flex-start;
      gap: 1.25rem;
    }
  
    .bottom .h-box .button-scroll,
    .bottom .h-box .button-email {
      font-size: 0.95rem;
      padding: 0.5rem 1rem;
      white-space: nowrap;
    }
  
    .bottom .h-box .button-email {
      flex-direction: row; /* ✅ span + 주소 가로 유지 */
      gap: 0.5rem;
    }
  
    .button-email span {
      opacity: 0.6;
      font-size: 0.85rem;
    }
  }

