/* ============================================================
   Fortune Wheel — NeoNXT Cloud Campaign
   ============================================================ */

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    /* font-family: system-ui, -apple-system, sans-serif; */
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ----- Screen System ----- */
.screen {
    display: none;
    min-height: 89vh;
    background: url('../images/Mask group.jpg') center / cover no-repeat;
    position: relative;
}

.screen--active {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ----- Landing Section ----- */
.landing {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    /* padding: 2rem; */
}

.landing__content {
    flex: 1;
    max-width: 31.25rem;
}

.landing__title {
    /* font-size: clamp(1.75rem, 4vw, 3rem); */
    /* font-weight: 700; */
    line-height: 1.2;
    margin-bottom: 1rem;
}

.landing__text {
    /* font-size: clamp(0.9rem, 2vw, 1.125rem);
    opacity: 0.85;
    margin-bottom: 2rem;
    line-height: 1.6; */
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
    padding-bottom: 50px;
}

@media (min-width: 1660px) {
    .landing__text {
        font-size: 2.3rem;
        line-height: 1.3;
        padding-bottom: 70px;
    }
}

@media (max-width: 991px) {
    .landing__text {
        font-size: 1.1rem;
        padding-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .landing__text {
        font-size: 1rem;
        padding-bottom: 25px;
    }

    .popup {
        max-width: 90vw !important;
        width: 90vw !important;
    }

    .popup__container {
        padding: 1.5rem 1.5rem;
    }

    .wheel__container {
        width: min(85vw, 65vh) !important;
    }

    .wheel__container--large {
        width: min(90vw, 75vh);
    }
}

.landing__wheel {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ----- Button ----- */
/* .btn {
    padding: 0.875rem 2.5rem;
    border: none;
    border-radius: 3.125rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
} */

.btn--gradient {
    background: linear-gradient(to right, #6B2FA0, #E83A4E);
    color: #fff;
    box-shadow: 0 0.25rem 1.25rem rgba(232, 58, 78, 0.3);
}

.btn--gradient:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 0.375rem 1.5625rem rgba(232, 58, 78, 0.4);
}

/* ----- Wheel ----- */
.wheel__container {
    position: relative;
    width: clamp(25rem, 65vw, calc(100vh - 200px));
    aspect-ratio: 1;
}

.wheel__container--large {
    width: clamp(37rem, 100vw, calc(100vh - 150px));
}

.wheel {
    width: 90%;
    height: 90%;
    margin: auto;
    position: absolute;
    inset: 0;
}

.wheel__svg {
    width: 100%;
    height: 100%;
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}


.wheel__pointer {
    position: absolute;
    top: 9%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 3rem;
    height: auto;
    filter: drop-shadow(0 0.125rem 0.375rem rgba(0, 0, 0, 0.5));
}

/* ----- Spin Screen ----- */
.spin {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ----- Winner Screen ----- */
.winner {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.winner__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
}

.winner__badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 3rem;
    border-radius: 1rem;
    background: linear-gradient(to right, #6B2FA0, #E83A4E);
    margin-bottom: 2rem;
}

.winner__badge-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.winner__badge-value {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
}

.winner__text {
    font-size: 1rem;
    opacity: 0.85;
    max-width: 31.25rem;
    line-height: 1.6;
}

/* ----- T&C ----- */
.tandc {
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    font-size: 0.75rem;
    color: #fff;
}

/* ----- Popup (dialog) — centered on screen ----- */
.popup {
    border: none;
    border-radius: 1rem;
    padding: 0;
    max-width: 90vw;
    /* width: fit-content; */
    width: 60vw;
    background: #fff;
    color: #333;
    box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.popup::backdrop {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(0.25rem);
}

.popup__container {
    padding: 2rem 2.5rem;
    position: relative;
    text-align: center;
}

.popup__container .contact-form {
    padding: 0;
}

.popup__container--wide {
    text-align: left;
}

.popup__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    outline: none;
}

.popup__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #222;
}

/* ----- Cloud Options (Choose Cloud popup) ----- */
.popup__cloud-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.cloud-option {
    flex: 1;
    border: 0.125rem solid #e0e0e0;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    min-height: 5rem;
}

.cloud-option:hover {
    /* border-color: #aaa; */
    border-color: transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, #3759a5, #cd3945);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.cloud-option--selected {
    border-color: transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, #3759a5, #cd3945);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.cloud-option img {
    max-width: 7.5rem;
    height: 60px;
}

.popup a.btn-primary:not(.loading):hover {
    color: #000 !important;
}

/* ----- Form Styles (Enter Details popup) ----- */
.form__row {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.form__row--3col {
    grid-template-columns: 1fr;
}

.form__row--2col {
    grid-template-columns: 1fr;
}

.form__field {
    margin-bottom: 0.75rem;
}

.form__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
    color: #333;
}

.required {
    color: #E83A4E;
}

.form__input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 0.0625rem solid #ddd;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: border-color 0.2s;
    color: #333;
}

.form__input:focus {
    outline: none;
    border-color: #6B2FA0;
}

.form__input.is-invalid {
    border-color: #E83A4E;
}

/* ----- Chip Group ----- */
.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.chip-group.is-invalid {
    outline: 0.125rem solid #E83A4E;
    outline-offset: 0.25rem;
    border-radius: 0.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.chip__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.chip__label {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    border: 0.0625rem solid #ddd;
    border-radius: 3.125rem;
    font-size: 0.8125rem;
    color: #555;
    transition: all 0.2s;
    background: #fff;
}

.chip__label:hover {
    border-color: #999;
}

.chip__input:checked+.chip__label {
    border-color: #6B2FA0;
    color: #6B2FA0;
    background: rgba(107, 47, 160, 0.05);
}

.chip__check {
    width: 0.875rem;
    height: 0.875rem;
    opacity: 0.4;
}

.chip__input:checked+.chip__label .chip__check {
    opacity: 1;
    color: #6B2FA0;
}

.chip--other {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.chip__other-input {
    width: 6.25rem;
    padding: 0.375rem 0.625rem;
    border: 0.0625rem solid #ddd;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
}

/* Other service text input row */
.form__other-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 0.0625rem solid #eee;
}

.form__other-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

.form__other-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 0.0625rem solid #ddd;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    color: #333;
    background: #f8f8f8;
}

.form__other-input:focus {
    outline: none;
    border-color: #6B2FA0;
    background: #fff;
}

/* ============================================================
   Responsive — Mobile-first breakpoints
   ============================================================ */

/* 30em ~ 480px */
@media (min-width: 30em) {
    .popup__container {
        padding: 2.5rem 3rem;
    }
}

/* 48em ~ 768px (Tablet / Desktop) */
@media (min-width: 48em) {
    .landing {
        flex-direction: row;
        text-align: left;
        gap: 4rem;
        /* padding: 2rem 4rem; */
    }

    .popup__cloud-options {
        flex-direction: row;
    }

    .form__row--3col {
        grid-template-columns: repeat(3, 1fr);
    }

    .form__row--2col {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ----- Form Styles (Enter Details popup) ----- */

/* .popup-form{
            margin: 0 auto;
            background: #000;
            padding-bottom: 65px;
        }
        .popup-form .container .bg-white{
            border-radius: 30px;
        } */
.popup-form .form-control {
    border-radius: 30px;
    line-height: 2.5;
    border: #AEAEAE solid 1px;
}

.star {
    color: #FF0000;
}

.popup-form .contact-tell-us {
    padding: 0 0 50px;
    border-bottom: #D1D1D1 solid 1px;
}

.check-label input[type="text"] {
    border: 0;
    border-bottom: 1px solid #AEAEAE;
    background-color: transparent;
}

.check-label input[type="text"]:focus-visible,
textarea:focus-visible {
    outline-offset: 0px;
    border-bottom: 1px solid #AEAEAE;
    outline: 0;
}

.btm-contact textarea {
    width: 100%;
    height: 130px;
    border: 1px solid #AEAEAE;
    border-radius: 15px;
    padding: 15px;
}

@media screen and (max-width:768px) {
    .btn-check span {
        font-size: 0.8rem;
    }

    .managed-service .contact-form {
        padding: 50px 0;
    }

    .popup-form .contact-tell-us {
        padding: 0px 0 10px;
    }

    .managed-service .bannerLogo {
        width: 190px;
    }

    .managed-service .form-banner {
        height: calc(40vh - 65px);
    }

    .table-responsive::-webkit-scrollbar-track {

        background: #121111;
    }

    .table-responsive::-webkit-scrollbar {
        height: 5px;
        width: 5px;
        border: 1px solid red;
    }

    .table-responsive::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, #7100b5 0%, #cd0063 39.42%, #f20f07 71.15%, #ff4000 100%) !important;
    }

}

/* TABLE STYLE */

.scale-table {
    width: 100%;
    border-collapse: collapse;
    position: relative;
}

.scale-table th,
.scale-table td {
    padding: 18px 10px;
    text-align: center;
    border-bottom: 1px solid #d6d6d6;
    font-size: 15px;
}

.scale-table th:first-child,
.scale-table td:first-child {
    text-align: left;
    width: 30%;
}

.scale-table th {
    font-weight: 500;
    color: #3B3B3B;
    white-space: nowrap;
}

.table-sec {
    padding: 30px 0 12px;
}

/* Custom Radio */

.radio-circle {
    appearance: none;
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #ECECEC;
    cursor: pointer;
    position: relative;
    transition: .2s ease;
}

.radio-circle:checked {
    background: #ECECEC;
}

.radio-circle:checked::after {
    content: url("./images/tick-1.svg");
    color: #e60023;
    font-size: 0px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.scale-table input[type="checkbox"],
.scale-table input[type="radio"] {
    position: absolute;
    visibility: visible;
}

@media (max-width: 991px) and (orientation: landscape) {

    .table-responsive::-webkit-scrollbar-track {

        background: #121111;
    }

    .table-responsive::-webkit-scrollbar {
        height: 5px;
        width: 5px;
        border: 1px solid red;
    }

    .table-responsive::-webkit-scrollbar-thumb {
        background: linear-gradient(90deg, #7100b5 0%, #cd0063 39.42%, #f20f07 71.15%, #ff4000 100%) !important;
    }
}

.contact-form .btn-primary::after {
    background: url(../images/right-arrow-white.svg) no-repeat center;
}

/* Form Inputs Styling Missing from standalone */
.check-label input[type="radio"],
.check-label input[type="checkbox"] {
    position: absolute;
    visibility: hidden;
    margin-right: 8px;
    width: 0;
    height: 0;
    opacity: 0;
}

.form-control-line {
    border: none !important;
    border-bottom: 1px solid #AEAEAE !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding-left: 5px !important;
    outline: none !important;
    height: auto !important;
    line-height: 1.5 !important;
}

.form-control-line:disabled {
    opacity: 0.5;
    border-bottom-style: dotted !important;
}

.check-label input[type="radio"]+div,
.check-label input[type="checkbox"]+div {
    position: relative;
    cursor: pointer;
}

.check-label input[type="radio"]:checked+div,
.check-label input[type="checkbox"]:checked+div {
    background: linear-gradient(90deg,
            #1310a4 0%,
            #5e0792 18.27%,
            #cd0063 51.44%,
            #f20f07 80.77%,
            #ff4000 100%);
}

.check-label input[type="radio"]:checked+div>span,
.check-label input[type="checkbox"]:checked+div>span {
    color: white;
}



/* ----- Modern UX Animations for Elements ----- */

@keyframes HUDElementFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes HUDElementScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Stagger Landing Elements */
.screen--active .landing__content {
    animation: HUDElementFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.screen--active .landing__wheel {
    animation: HUDElementScaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

/* Stagger Popup Elements */
dialog[open] .popup__container>* {
    animation: HUDElementFadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

dialog[open] .popup__container> :nth-child(1) {
    animation-delay: 0.1s;
}

dialog[open] .popup__container> :nth-child(2) {
    animation-delay: 0.15s;
}

dialog[open] .popup__container> :nth-child(3) {
    animation-delay: 0.2s;
}

dialog[open] .popup__container> :nth-child(4) {
    animation-delay: 0.25s;
}

dialog[open] .popup__container> :nth-child(5) {
    animation-delay: 0.3s;
}

/* Interactive Hover States */
.btn-primary {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
}

.btn-primary:active {
    transform: scale(0.98);
}

.cloud-option {
    transition: transform 0.2s ease-out, box-shadow 0.2s ease !important;
}

.cloud-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Winner Screen Transitions */
.screen--active .winner>* {
    animation: HUDElementFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.screen--active .winner> :nth-child(1) {
    animation-delay: 0.1s;
}

.screen--active .winner> :nth-child(2) {
    animation-delay: 0.25s;
}

.screen--active .winner> :nth-child(3) {
    animation-delay: 0.4s;
}

/* Spin Screen Transitions */
.screen--active .spin>* {
    animation: HUDElementScaleIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

form#form-details button[type="submit"].loading::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    bottom: auto !important;
    left: auto !important;
    /* inset: unset !important; */
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    border: 3px solid transparent !important;
    border-top: 3px solid #ffffff !important;
    border-right: 3px solid rgba(255, 255, 255, 0.8) !important;
    border-bottom: 3px solid rgba(255, 255, 255, 0.5) !important;
    border-left: 3px solid transparent !important;
    border-radius: 50% !important;
    animation: neonxt-spin 0.8s linear infinite !important;
    z-index: 999 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    will-change: transform !important;
    transform-origin: center center !important;
}
.page-template-page-spinwheel .chaport-container
{
    display: none !important;
}