.popup {
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    text-align: left;
    z-index: 500;
    overflow: hidden;
    overflow-y: auto;
}

.popup * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.popup__close {
    width: 40px;
    height: 40px;
    top: 30px;
    right: 30px;
    display: block;
    background: url(https://storage-asset.msi.com/event/2024/CND/skull-bones-game-bundle/images/close.png) center center no-repeat;
    background-size: cover;
    position: absolute;
    z-index: 5;
    opacity: 1;
    transition: 0.3s;
}

.popup__close:hover {
    opacity: 1;
    background: url(https://storage-asset.msi.com/event/2024/NB/claw-bundle/images/close-icon.png) center center no-repeat;
    background-size: cover;
    transform: rotate(90deg);
}

.popup__body {
    text-align: left;
}

.popup__title {
    text-align: center;
    display: block;
    font-size: 35px;
    margin-bottom: 20px;
    font-weight: bold;
}

.popup__inner {
    text-align: left;
    vertical-align: middle;
    position: relative;
    width: 90%;
    max-width: 1280px;
    margin: 50px auto 0;
    padding: 6px;
    background: url(https://storage-asset.msi.com/event/2023/CND/avatar-game-bundle/images/page-bg.jpg) center center no-repeat;
    background-size: cover;
}

.popup__content {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
}

.popup__frame {
    border: 4px solid transparent;
    border-radius: 16px;
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-image: linear-gradient(to right, #000000, #000000), linear-gradient(120deg, rgba(253, 48, 141) 20%, rgba(161, 250, 247) 50%, rgba(218, 73, 219) 100%);
    padding: 6% 3%
}

.popup__content p {
    padding-bottom: 20px;
}

.popup__content ul {
    margin-left: 20px;
    padding: 0 0 10px;
}

.popup__content ul li {
    list-style: circle;
}

.popup__content footer {
    text-align: center;
    padding-top: 45px;
}

.popup__content footer button {
    outline: none;
    border: #fff 1px solid;
    color: #ffffff;
    background: none;
    font-size: 16px;
    padding: 10px 25px;
    cursor: pointer;
}

.popup__content footer button:hover {
    background: #fb348f;
}

.popup__content .faq__item {
    padding-bottom: 35px;
}

.popup__content .faq__q {
    color: #FFF;
    font-weight: bold;
}

.popup__content .terms__title {
    color: #FFF;
    font-size: 18px;
    font-weight: bold;
}

.popup__content .terms a {
    color: var(--color-red-500);
}

.popup__content .terms a:hover {
    text-decoration: none;
}

.popup__content .terms ul li {
    list-style: disc;
    padding: 8px 0;
}

.popup__content .terms ul li ol {
    margin-left: 20px;
}

.popup__content .terms ul li ol li {
    list-style: lower-roman;
    padding: 3px 0;
}


/* buy now */

.popout {
    background: #0000009c;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.popout__block {
    max-width: 760px;
    background: #000;
    background-size: 100% 100%;
    position: absolute;
    width: 90%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.popout__block-close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: inline-block;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
}

.popout__block-close::after {
    display: inline-block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: -13px;
    left: 0px;
    content: "\00D7";
    font-size: 36px;
    font-weight: bold;
    color: #fff;
}

.popout__block-close:hover::after {
    opacity: 0.8;
}

.popout__dm {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 60px 10px 20px 10px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.popout__dm a {
    width: calc(100% / 2 - 10px);
    background: #ffffff;
    color: #000000;
    text-align: center;
    border-radius: 5px;
    height: 70px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 5px;
}

.popout__dm a img {
    height: 50px;
    width: auto;
}


/* HOW TO REDEEM */

#popup-howToRedeem .popup__content {
    border: none;
}

.terms-txt {
    margin: 15px 0;
}

.terms-subtitle span {
    background: linear-gradient(to right, #da49db 0%, #a1faf7 50%, #fd308d 100%);
    background: -webkit-linear-gradient(to right, #da49db 0%, #a1faf7 50%, #fd308d 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: bold;
    font-size: initial;
    display: inline-block;
}

.terms-subtitle p {
    font-weight: normal;
    color: #fff;
}

#popup__MSIDragonShip img {
    width: auto;
}