.ad {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
}
.ad > .cover {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    transition: all 0.2s;
}
.ad.closed > .cover {
    opacity: 0;
}

.ad > .body {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 90%;
    max-width: 500px;
    aspect-ratio: 1/1;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    overflow: hidden;
    transition: all 0.2s;
}
.ad.closed > .body {
    opacity: 0;
    scale: 0;
}
.ad > .body > .close-btn {
    position: absolute;
    font-size: 24px;
    top: 10px;
    right: 10px;
    font-weight: 700;
    border-radius: 50%;
    padding: 10px;
    padding: 10px;
    color: black !important;
    cursor: pointer;
    font-variation-settings:
    'FILL' 0,
    'wght' 500,
    'GRAD' 0,
    'opsz' 48;
    
    z-index: 81;
}
.ad > .body > .close-btn:hover {
    background-color: rgba(10,10,10,0.5);
    backdrop-filter: blur(2px);
}

.ad > .body > .content { 
    width: 100%;
    height: 100%;
}
.ad > .body > .content > img {
    width: 100%;
    height: 100%;
}
.ad > .body > .footer {
    display: flex;
    padding: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* background: linear-gradient(to top, rgba(28, 28, 28, 1), rgba(28, 28, 28, 1), rgba(28, 28, 28, 1), rgba(28, 28, 28, 0) ) */
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) );
}
.ad > .body > .footer > .sponsored {
    display: flex;
    color: #a5a9b4;
    margin-block: auto;
}
.ad > .body > .footer > .sponsored > span {
    font-size: 16px;
    margin-right: 5px;
    margin-block: auto;
    font-variation-settings:
    'FILL' 0,
    'wght' 500,
    'GRAD' 0,
    'opsz' 48;
}
.ad > .body > .footer > .sponsored > p {
    font-size: 12px;
    margin-block: auto;
    font-weight: 500;
}
.ad > .body > .footer > .action-btn {
    display: flex;
    margin-left: auto;
    cursor: pointer;
    color: black;
    background: white;
    border-radius: 50px;
    padding-block: 8px;
    padding-inline: 35px;
    border: none;
    outline: none;
    text-align: center;
    margin-top: 10px;
    transition: all 0.2s !important;
}
.ad > .body > .footer > .action-btn:hover {
    scale: 1.05 !important;
}
.ad > .body > .footer > .action-btn > p {
    font-size: 13px;
    font-weight: 600;
    margin-block: auto;
}
.ad > .body > .footer > .action-btn > span {
    margin-block: auto;
    font-size: 18px;
    margin-left: 5px;
    font-variation-settings:
    'FILL' 0,
    'wght' 600,
    'GRAD' 0,
    'opsz' 32;
}