@charset "utf-8";
.banner-wrap {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    height: auto;
}
.banner-bg {
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 0;
    display: block;
}
.rotate-ring-box {
    position: absolute;
    width: 320px;
    height: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.ring-out {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    animation: rotateClock 18s linear infinite;
    position: relative;
}
.ring-out img {
    width: 100%;
    height: 100%;
    display: block;
}
.ring-in {
    position: absolute;
    width: 56%;
    height: 56%;
    top: 22%;
    left: 22%;
    animation: rotateAnti 14s linear infinite;
}
.ring-in img {
    width: 100%;
    height: 100%;
    display: block;
}
@keyframes rotateClock {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes rotateAnti {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}
.entrance-item {
    text-align: center;
    z-index: 2;
    position: absolute;
    top: 50%;
    z-index: 5;
}
.entrance-item.left{
  left: 25%;
  transform: translate(-50%,-50%);
}
.entrance-item.right{
  left: 75%;
  transform: translate(-50%,-50%);
}
.entrance-title {
    font-size: 28px;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.entrance-btn {
    padding: 8px 26px;
    background: #ffffff;
    border-radius: 999px;
    border: none;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: 0.3s ease;
}
.entrance-btn:hover {
    background: #0078d7;
    color: #fff;
}

@media (max-width: 767px) {
    .banner-wrap {
        min-height: 100vw;
        display: block;
    }

    .banner-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }
    .rotate-ring-box {
        width: 200px;
        height: 200px;
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
    }
    .entrance-item.left,
    .entrance-item.right {
        top: auto;
        bottom: 10%;
        transform: translate(-50%, 0);
        white-space: nowrap;
    }
    .entrance-item.left {
        left: 25%;
    }
    .entrance-item.right {
        left: 75%; 
    }

    .entrance-title {
        font-size: 20px;
        margin-bottom: 8px;
        letter-spacing: 1px;
    }
    .entrance-btn {
        padding: 6px 18px;
        font-size: 13px;
    }
}
@media (max-width: 400px) {
    .rotate-ring-box {
        width: 150px;
        height: 150px;
        top: 30%;
    }
    .entrance-item.left,
    .entrance-item.right {
        bottom: 8%;
    }
    .entrance-item.left {
        left: 20%;
    }
    .entrance-item.right {
        left: 80%;
    }
    .entrance-title {
        font-size: 16px;
        margin-bottom: 6px;
    }
    .entrance-btn {
        padding: 5px 14px;
        font-size: 12px;
    }
}