body {
    background: #fcf0ae;
}

.main-background {
    min-height: 100vh;
    background-image: url(https://event.set-edu.com/wp-content/uploads/2026/09/background-vong-xoay-may-man.webp);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    max-width: 1920px;
    width: 100%;
    margin: auto;
}

.lucky-wheel-page {
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
    padding: 40px 20px;
    overflow: hidden;
}

.lucky-wheel-section {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.lucky-wheel-section>.row {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 0;
}

.lucky-wheel-left {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
}

.lucky-wheel-left-title img {
    display: block;
    width: 460px;
    max-width: 80%;
    height: auto;
    margin: 0 auto 15px;
    margin: 0 auto 18px;
    animation: zoomPulse 1.5s ease-in-out infinite;
    transform-origin: center;
}

@keyframes zoomPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.lucky-wheel-img {
    position: relative;
}

.lucky-wheel-img .lucky-wheel-img-vq-main {
    display: block;
    height: auto;
    transform-origin: center;
    animation: lucky-wheel-sway 20s ease-in-out infinite;
    cursor: pointer;
}

.lucky-wheel-img .lucky-wheel-img-nut {
    pointer-events: none;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
}

.lucky-wheel-img.is-spinning .lucky-wheel-img-vq-main,
.lucky-wheel-img.is-finished .lucky-wheel-img-vq-main {
    animation: none;
}

.lucky-wheel-img:focus-visible {
    outline: 3px solid #d92a2e;
    outline-offset: 6px;
    border-radius: 50%;
}

.lucky-wheel-img[aria-disabled="true"] .lucky-wheel-img-vq-main {
    cursor: pointer;
}

.lucky-wheel-page [hidden] {
    display: none !important;
}

.lucky-wheel-result {
    text-align: center;
    margin-bottom: 22px;
}

.lucky-wheel-status {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
    background: #faf2e2;
    padding: 5px 0;
    color: #fb1e19;
    font-weight: 500;
    border-bottom: 4px solid #ac0301;
}

.lucky-wheel-form p {
    margin-bottom: 0;
}

.lucky-wheel-prize {
    display: block;
    padding: 8px 5px;
    border: 1px dashed #f4cd67;
    border-radius: 12px;
    background: #fff8df;
    color: #d92a2e;
    font-size: 16px;
    line-height: 1.4;
}

.lucky-wheel-img .lucky-wheel-img-nut-chill {
    max-width: 60px;
}

.lucky-wheel-img:hover img,
.lucky-wheel-img:active img,
.lucky-wheel-img.is-paused img {
    animation-play-state: paused;
}

@keyframes lucky-wheel-sway {
    0% {
        transform: rotate(0deg);
    }

    12% {
        transform: rotate(5deg);
    }

    28% {
        transform: rotate(-4deg);
    }

    45% {
        transform: rotate(2deg);
    }

    60%,
    100% {
        transform: rotate(0deg);
    }
}

.lucky-wheel-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 400px;
    margin: 60px auto 0;
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 8px 14px rgb(98 66 0 / 12%);
    background: #fff;
    color: #111;
    font-family: Arial, sans-serif;
}

.lucky-wheel-card-title {
    display: block;
    width: 100%;
    max-width: 290px;
    height: auto;
    margin: 0 auto 20px;
    object-fit: cover;
}

.lucky-wheel-field+.lucky-wheel-field {
    margin-top: 13px;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0 0.5em 1em !important;
}

.wpcf7-not-valid-tip {
    font-size: 14px !important;
    padding-top: 5px !important;
}

.lucky-wheel-field label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: capitalize;
}

.lucky-wheel-field input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 50px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 12px;
    background: #fff;
    box-shadow: inset 0 1px 3px rgb(0 0 0 / 10%);
    color: #111;
    font: inherit;
    font-size: 14px;
}

.lucky-wheel-field input::placeholder {
    color: #808080;
    opacity: 1;
}

.lucky-wheel-field input:focus-visible,
.lucky-wheel-submit:focus-visible {
    outline: 3px solid #e8ab29;
    outline-offset: 3px;
}

.lucky-wheel-privacy {
    margin: 0;
    padding-bottom: 18px;
    color: #999;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.lucky-wheel-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-height: 50px;
    padding: 10px 16px;
    border: 0;
    border-radius: 12px;
    background: #d92a2e;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s ease;
    margin-top: 20px;
    ;
}

.lucky-wheel-submit:hover {
    background: #bf2024;
}

.lucky-wheel-submit span {
    font-size: 19px;
    line-height: 1;
}

.lucky-wheel-popup {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 20px 10px;
    border: 0;
    background: transparent;
    overflow: hidden;
}

.lucky-wheel-popup[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lucky-wheel-popup::backdrop {
    background: rgb(0 0 0 / 60%);
}

.lucky-wheel-popup .lucky-wheel-card {
    position: relative;
    max-width: 440px;
    max-height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    padding-top: 48px;
    box-shadow: 0 20px 70px rgb(0 0 0 / 30%);
}

.lucky-wheel-popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f4f4f4;
    color: #333;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.lucky-wheel-popup-close:hover {
    background: #ffe8e8;
    color: #d92a2e;
}

body.lucky-wheel-popup-open {
    overflow: hidden;
}

.lucky-wheel-popup [hidden] {
    display: none !important;
}

.lucky-wheel-success {
    padding: 10px 0 20px;
    text-align: center;
}

.lucky-wheel-success-icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #e9f7ed;
    color: #22863a;
    font-size: 36px;
}

.lucky-wheel-success h2 {
    margin: 0 0 12px;
    font-size: 24px;
}

.lucky-wheel-success p {
    color: #555;
    line-height: 1.6;
}

.lucky-wheel-continue:focus-visible {
    outline: 3px solid #e8ab29;
    outline-offset: 3px;
}

#fireworks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    pointer-events: none;
}

@media (max-width:1090px) {
    .lucky-wheel-img .lucky-wheel-img-nut {
        top: 10px;
    }
}

@media (max-width: 767px) {
    .lucky-wheel-img .lucky-wheel-img-nut {
        top: 3px;
    }

    .lucky-wheel-page {
        padding: 25px 20px;
    }

    .lucky-wheel-left {
        max-width: 360px;
    }

    .lucky-wheel-card {
        margin-top: 0;
        padding: 30px 20px;
        border-radius: 25px;
    }

    .lucky-wheel-field input {
        font-size: 16px;
    }

    .main-background {
        background-image: url(https://event.set-edu.com/wp-content/uploads/2026/09/background-vong-xoay-may-man-940x1600px.webp);
        background-position: center top;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lucky-wheel-img .lucky-wheel-img-vq-main {
        animation: none;
    }
}

.lucky-wheel-section {
    max-width: 1100px;
}

.lucky-wheel-section>.row {
    align-items: center;
}

.lucky-wheel-entry-card {
    margin: 20px auto;
}

.lucky-wheel-entry-card h2 {
    font-size: 24px;
    text-align: center;
}

.lucky-wheel-entry-status,
.lucky-wheel-confirm-status {
    margin-top: 12px;
    text-align: center;
}

.lucky-wheel-submit:disabled {
    opacity: .65;
    cursor: default;
}

.lucky-wheel-entry-status:not(:empty) {
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff3d6;
    color: #9b271b;
    font-size: 14px;
    line-height: 1.5;
}

.lucky-wheel-entry-card:focus-within {
    outline: 3px solid #e8ab29;
    outline-offset: 4px;
}