/* bubble-animation.css */
.bubble-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  bottom: -100px;
  transform: translateY(0) translateX(0) rotate(0deg);
  opacity: var(--opacity, 0.7);
  filter: blur(var(--blur-amount, 0px));
  display: flex;
  justify-content: center;
  align-items: center;
}

.bubble img {
  pointer-events: none;
  user-select: none;
}

.bubble.animate {
  animation: float var(--float-duration, 4s) ease-in-out forwards;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: var(--opacity, 0.7);
  }

  100% {
    transform: translateY(calc(-1 * var(--travel-distance, 100vh)))
      translateX(var(--random-x, 0)) rotate(var(--rotation, 360deg));
    opacity: 0;
  }
}

.age-check-page {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, #000000 0%, #1a1a1a 100%);
  overflow: hidden;
}

#age-verification-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.verify-content,
.restricted-notice {
  position: relative;
  z-index: 2;
}

.bubble.front {
  z-index: 3;
}

.bubble.behind {
  z-index: 1;
}

/* ปรับแต่ง choice-circle buttons */
.choice-circle {
    width: 40px;
    height: 40px;
    border: none !important; 
    background: transparent;
    cursor: pointer;
    padding: 0; /* ลบ padding */back-btn
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.choice-circle:hover {
    background: transparent !important;
    
}

.terms-back-btn{
  background:black !important;
}

/* ปรับแต่ง back button */
.back-btn {
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
}



/* ปรับแต่ง back button */
.back-btn-main {
    width: 50px;
    height: 50px;
    background: transparent !important;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
}

/* จัดการกับรูปภาพในปุ่ม */
.button-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* สำหรับ mobile */
@media (max-width: 768px) {
    .choice-circle {
        width: 60px;
        height: 60px;
    }

    .back-btn {
        width: 40px;
        height: 40px;
    }
}