@charset "utf-8";
/* Fortune Wheel Modal Styles */

/* Modal Container */
.spin-modal-dialog {
    max-width: 100%;
    /* width: 100%; */
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Modal Backdrop */
#spin_modal.show~.modal-backdrop,
.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
}

.spin-modal-content {
    background: transparent;
    border: none;
    border-radius: 0;
    height: 100%;
    position: relative;
    justify-content: center;
    overflow: hidden;
}

.spin-modal-body {
    padding: 0;
    /* height: 100vh; */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Close Button */
.spin-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: #ffa86c;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.spin-modal-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.spin-modal-close span {
    line-height: 1;
}

/* Wheel Container */
.wheel-container {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}

/* Wheel Wrapper */
.wheel-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 500px;
    margin: 0 auto;
}

/* Wheel Pointer */
.wheel-pointer {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: 80px;
    height: 80px;
    animation: pointerPulse 2s ease-in-out infinite;
}

@keyframes pointerPulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.05);
    }
}

.wheel-pointer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Wheel Frame */
.wheel-frame {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel-frame-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Rotating Wheel */
.wheel-rotating {
    position: relative;
    width: 95%;
    height: 95%;
    border-radius: 50%;
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    z-index: 5;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.wheel-rotating.spinning {
    animation: spin 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Wheel Prize Image */
.wheel-prize-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

/* Wheel Center Logo */
.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
    height: 20%;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.wheel-center-img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}


/* Wheel Controls */
.wheel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    margin-top: 15px;
}

/* Wheel Buttons */
.wheel-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.wheel-btn:focus {
    outline: none;
}

.wheel-btn:hover {
    transform: scale(1.05);
}

.wheel-btn:active {
    transform: scale(0.95);
}

/* Play Button */
.wheel-btn-play {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: url(../images/fortune/btn-point.png) no-repeat center center;
    position: relative;
    overflow: visible;
    background-size: 100%;
    margin-top: 15px;
}

.wheel-btn-play::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.5;
}

.play-count {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 2px;
}

.play-label {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Spin Button */
.wheel-btn-spin {
    max-width: 170px;
    /* height: 80px; */
    position: relative;
}

.wheel-btn-spin img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.spin-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: 700;
    color: #ffd700;
    text-shadow:
        0 0 10px rgba(255, 215, 0, 0.8),
        0 0 20px rgba(255, 215, 0, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.8),
        -1px -1px 2px rgba(0, 0, 0, 0.6);
    letter-spacing: 2px;
    z-index: 1;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.wheel-btn-spin:hover .spin-text {
    text-shadow:
        0 0 15px rgba(255, 215, 0, 1),
        0 0 25px rgba(255, 215, 0, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.8),
        -1px -1px 2px rgba(0, 0, 0, 0.6);
    transform: translate(-50%, -50%) scale(1.05);
}

/* Info Button */
.wheel-btn-info {
    width: 90px;
    height: 90px;
    background: url(../images/fortune/btn-info.png) no-repeat center center;
    border-radius: 50%;
    position: relative;
    overflow: visible;
    margin-top: 15px;
}

.wheel-btn-info::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.5;
}

.wheel-btn-info img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.info-text {
    position: absolute;
    bottom: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wheel-wrapper {
        max-width: 90vw;
        margin-bottom: 30px;
    }

    .wheel-pointer {
        width: 60px;
        height: 60px;
        top: 0px;
    }

    .wheel-controls {
        /* flex-direction: column; */
        gap: 15px;
    }

    .wheel-btn-play,
    .wheel-btn-info {
        /* width: 70px; */
        /* height: 70px; */
    }

    .play-count {
        font-size: 20px;
    }

    .play-label,
    .info-text {
        font-size: 10px;
    }

    .wheel-btn-spin {
        width: 200px;
        /* height: 65px; */
    }

    .spin-text {
        font-size: 22px;
    }

    .spin-modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .wheel-wrapper {
        max-width: 95vw;
    }

    .wheel-btn-spin {
        width: 180px;
        /* height: 60px; */
    }

    .spin-text {
        font-size: 18px;
        letter-spacing: 1px;
    }
}

/* Disabled State */
.wheel-btn-spin:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wheel-btn-spin:disabled:hover {
    transform: scale(1);
}

/* Loading/Spinning State */
.wheel-rotating.spinning {
    pointer-events: none;
}

.wheel-btn-spin.spinning {
    pointer-events: none;
    opacity: 0.7;
}
.token_wrap{
    background: url(../images/fortune/btn-point.png) no-repeat center center;
    background-size: 100%;
    width: 70px;
    height: 70px;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    padding: 13px;
    font-weight: 700;
    box-shadow: 0px 0px 3px 2px #00000017;
}
.fortune_btn_info{
    background: url(../images/fortune/btn-info.png) no-repeat center center;
    background-size: 100%;
    width: 70px;
    height: 70px;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    padding: 13px;
    font-weight: 700;
}                                                                                                                                              