.tg-video-area .main-wheel {
    position: relative;
    /* width: calc(var(--size) * 1.1);
    height: calc(var(--size) * 1.1); */
    border-radius: 50%;
    /* background-image: linear-gradient(45deg, var(--tg-primary-color), var(--tg-secondary-color)); */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 500px;
    height: 500px;
    margin: 30px auto 0;
}

@media (max-width: 767px) {
    .tg-video-area .main-wheel {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 414px) {
    /* Bao luôn iPhone 7 Plus và nhiều dòng điện thoại khác */
    .tg-video-area .main-wheel {
        width: 350px;
        height: 350px;
    }
  }

.tg-video-area .main-wheel::after {
    content: '';
    position: absolute;
    /* width: calc(var(--size) * 1.05);
    height: calc(var(--size) * 1.05); */
    border-radius: 50%;
    /* background-image: linear-gradient(45deg, var(--tg-secondary-color), var(--tg-primary-color));  */
    /* align-items: center;
    justify-content: center; */
}

.tg-video-area .icon-arrow {
    width: 80px; /* Giảm kích thước mũi tên */
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    object-fit: cover;
}

.tg-video-area .wheel {
    position: relative;
    /* width: var(--size);
    height: var(--size); */
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 1;
    transition: transform 7s cubic-bezier(0.075, 0.82, 0.165, 1); /* Thời gian 7s khớp với JS */
    will-change: transform; /* Tối ưu hóa hiệu suất */
    list-style: none;
    overflow: hidden;
}

.tg-video-area li {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 50%;
    transform-origin: 0% 100%;
    overflow: hidden;
}

.tg-video-area .text-item {
    position: absolute;
    left: -100%;
    height: 200%;
    width: 200%;
    padding-top: 1.4rem;
    text-align: center;
    display: block;
    color: #fff;
    font-size: 1rem; /* Điều chỉnh kích thước chữ */
}

.tg-video-area .text-item b{
    display: inline-block;
    width: 200px;
    word-wrap: break-word;
    text-wrap: auto;
    line-height: 1.4;
}

.tg-video-area .wheel-img {
    position: absolute;
    width: 30%;
    height: 30%;
    z-index: 100;
    overflow: hidden;
}

.tg-video-area .msg {
    margin-top: 2rem;
    color: #fff;
    text-align: center;
}

/* Điều chỉnh thêm để cân đối với giao diện tổng thể */
.tg-video-area {
    padding: 50px 0; /* Giảm padding để không quá trống */
}

.tg-video-area .tg-video-content {
    margin-bottom: 20px;
}

.tg-video-area .input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.tg-video-area .input-group label {
    color: #fff;
    margin-right: 10px;
    font-size: 1.2rem;
}

.tg-video-area .input-group input {
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: none;
}

/* nút btn */
.btn.btn-primary.spin-btn {
    text-align: center;    /* Căn giữa chữ */
    padding-left: 0;       /* Loại bỏ padding mặc định (nếu có) */
    padding-right: 0;
    width: 150px;          /* Đặt chiều rộng cố định để đẹp hơn */
}

#codeInput {
    border: 2px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 15px;
    text-align: center;
}
  
#codeInput::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Ẩn slideshow ở giao diện điện thoại */
@media (max-width: 980px) {
    .slideshow {
      display: none !important;
    }
  }
