.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: #a38e5a;
    border-radius: 20px;
}
.terms .popup__body::-webkit-scrollbar {
    width: 10px;
    background: #731112;
}

.popup {
    position: fixed;
    z-index: 99;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    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 #a32829;
}

.popup__header {
    position: relative;
    background: linear-gradient(to bottom, #a32829, #731112);
    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/2025/Corp/2025-merry-christmas/images/tc-header-bg.png");
    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("https://storage-asset.msi.com/event/2025/Corp/2025-merry-christmas/images/visit-star.png");
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}
.popup__header h2 {
    font-size: 25px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    filter: drop-shadow(5px 0 10px rgba(193, 145, 17, 0.5));
    /* text-transform: uppercase; */
    text-align: center;
    background: none;
    border-bottom: 1px solid #eb0303;
    padding: 25px;
    position: relative;
    font-family: "reina-display", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #fff;
    text-shadow: 1px 1px #f7d680, 2px 2px #4b380a;
}

@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/2025/Corp/2025-merry-christmas/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, #f7d680 50%, #a38e5a);
    -webkit-background-clip: text;
    background-clip: text;
    align-items: center;
}

@media (min-width: 996px) {
    .common-subtitle {
        font-size: 26px;
    }
}

.common-subtitle figure {
    width: 50px;
    /* margin-right: 10px;
    transform: rotateZ(11deg) */
}
.common-subtitle .decLeft {
    margin-right: 10px;
    width: 35px;
}

.common-subtitle .decRight {
    transform: rotateZ(-11deg);
    margin-left: 10px;
    width: 50px;
}

.terms h3 {
    padding-bottom: 20px;
}

.terms p {
    padding-bottom: 20px;
}

.terms ul {
    margin-left: 10px;
    padding-bottom: 20px;
}

@media (min-width: 996px) {
    .terms ul {
        margin-left: 20px;
    }
}

.terms ol li {
    margin-left: 10px;
    padding-bottom: 20px;
    list-style: decimal;
}
@media (min-width: 996px) {
    .terms ol li {
        margin-left: 20px;
    }
}

.terms ul li {
    list-style: lower-roman;
    padding: 8px 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 #f7d680;
    border-collapse: collapse;
}

.terms ul li table td {
    padding: 5px;
    border: 1px solid #f7d680;
}

@media (min-width: 996px) {
    .terms ul li table td {
        padding: 10px;
    }
}

.terms ul li table th {
    position: relative;
    padding: 5px;
    background: linear-gradient(to bottom, #a32829, #731112);
}

@media (min-width: 996px) {
    .terms ul li table th {
        padding: 10px;
    }
}

.terms ul li table.giftPackTable th {
    background: radial-gradient(#25634c, #154b39);
}

.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: #de3f41;
    border-bottom: #a32829 1px solid;
    display: inline;;
}

.terms a:hover {
    filter: none;
    transform: none;
    color: #a32829;
}