.terms .popup__body {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(100% - 300px);
            flex: 0 0 calc(100% - 300px);
    max-height: 100vh;
    overflow-y: auto;
}
.terms .popup__body::-webkit-scrollbar-thumb {
    background: #07365f;
    border-radius: 20px;
}
.terms .popup__body::-webkit-scrollbar {
    width: 10px;
    background: #07365f64;
}

.popup {
    position: fixed;
    z-index: 99;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-family: var(--font);
    overflow-y: auto;
    display: none;
}

.popup__wrapper {
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
    border: 1px solid #07365fd4;
}

.popup__header {
    position: relative;
    background: linear-gradient(45deg, #9c59e0, #29abe2);
    overflow: hidden;
}
.popup__header::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://storage-asset.msi.com/event/2026/cnd/visuals-built-for-victory/images/tc-header-bg.jpg");
    background-size: 100%;
    background-position: bottom;
    background-repeat: no-repeat;
}
/* .popup__header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("httppng");
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
} */
.popup__header h2 {
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    background: none;
    padding: 25px;
    position: relative;
    font-weight: 400;
    font-style: normal;
    font-family: var(--font);
    color: #fff;
}

@media (min-width: 996px) {
    .popup__header h2 {
        font-size: 36px
    }
}

.popup__body {
    position: relative;
    padding: 35px;
    background: radial-gradient(#211e1e, #000000);
}

@media (min-width: 996px) {
    .popup__body {
        flex: 0 0 calc(100% - 300px);
        max-height: 100vh;
        overflow-y: auto;
    }
    .popup__body::-webkit-scrollbar-thumb {
        background: #11f9f8;
        border-radius: 20px;
    }
    .popup__body::-webkit-scrollbar {
        width: 10px;
        background: #334c56;
    }
}

.popup__close {
    position: fixed;
    right: 4%;
    top: 2%;
    z-index: 1;
    width: 20px;
    height: 20px;
    cursor: pointer;
    background: url("https://storage-asset.msi.com/event/2026/cnd/visuals-built-for-victory/images/close.png") center center no-repeat ;
    background-size: cover;
    opacity: 0.6;
}
.popup__close:hover {
    opacity: 1;
}
@media (min-width: 996px) {
    .popup__close {
        width: 30px;
        height: 30px;
        right: 3%;
        top: 3%;
    }
}

.common-subtitle {
    position: relative;
    display: inline-flex;
    font-size: 22px;
    color: transparent;
    background: linear-gradient(54deg, #9c59e0 50%, #29abe2);
    -webkit-background-clip: text;
    background-clip: text;
    align-items: center;
}

@media (min-width: 996px) {
    .common-subtitle {
        font-size: 26px;
    }
}
.common-subtitle span {
    /* text-decoration: underline; */
}
.common-subtitle figure {
    width: 50px;
    /* margin-right: 10px;
    transform: rotateZ(11deg) */
}
.terms h3 {
    padding-bottom: 20px;
}

.terms p {
    padding-bottom: 20px;
}

.terms ul {
    padding-left: 40px;
    padding-bottom: 20px;
}

@media (min-width: 996px) {
    .terms ul {
        /* margin-left: 40px; */
    }
}

.terms ol li {
    /* margin-left: 10px; */
    padding-bottom: 20px;
    list-style: decimal;
}
@media (min-width: 996px) {
    .terms ol li {
        /* margin-left: 20px; */
    }
}

.terms ol ol li {
    list-style: none;
}
.terms ol ul {
    padding-left: 20px;
}

.terms ul li {
    list-style: lower-roman;
    padding: 8px 0;
}

.terms ul li ol {
    padding-left: 0;
}
.terms ul li ol li {
    list-style: upper-alpha;
}

.terms ul li ol li ol li {
    list-style: decimal;
}

.terms ul li table {
    margin-top: 20px;
    border: 1px solid #9c59e0;
    border-collapse: collapse;
}

.terms ul li table td {
    padding: 5px;
    border: 1px solid #29abe2;
}

@media (min-width: 996px) {
    .terms ul li table td {
        padding: 10px;
    }
}

.terms ul li table th {
    position: relative;
    padding: 5px;
    background: #29abe2;
}

@media (min-width: 996px) {
    .terms ul li table th {
        padding: 10px;
    }
}

.terms ul li table.giftPackTable th {
    background: #9c59e0;
}

.terms ul li table.giftPackTable td{
    border: 1px solid #9c59e0;
}

.terms ol {
    padding-left: 20px;
}

.terms ol ul li {
    list-style: none;
    /* padding: 20px; */
}

/* .terms ul li table th::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://storage-asset.msi.com/event/2025/Corp/2025-merry-christmas/images/tc-table-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
} */

.terms table ul {
    padding-bottom: 0;
}

.terms table ul li {
    list-style: disc;
}

.terms a {
    color: #29abe2;
    border-bottom: #29abe2 1px solid;
    display: inline;;
}

.terms a:hover {
    filter: none;
    transform: none;
    color: #29aae2de;
}