/* popup container */
.pum-container .pum-content {
    padding: 0 !important;
    background: transparent !important;
}

.pum-theme-3740 .pum-content + .pum-close,
.pum-theme-content-only .pum-content + .pum-close {
    width: 42px;
    height: 42px;
    right: -14px;
    top: -14px;
    border-radius: 50%;
    background: #cf163f;
    color: #fff !important;
    font-size: 22px;
    line-height: 42px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

/* wrapper */
.tcm-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0;
}

/* title */
.tcm-title {
    margin: 0 0 22px;
    text-align: center;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    color: #1d2d5a;
    letter-spacing: .01em;
}

/* grid */
.tcm-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 1100px) {
    .tcm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .tcm-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tcm-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
}

/* card */
.tcm-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e7e2df;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgb(25 30 55 / 48%);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.tcm-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgb(25 30 55 / 48%);
    border-color: #d8cfc9;
}

/* top */
.tcm-top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 18px 16px;
    background: #fff;
}

.tcm-logo {
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #eee7e3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tcm-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tcm-name {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.15;
    font-weight: 800;
    text-transform: uppercase;
    color: #1b2443;
}

.tcm-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #7c7f8d;
}

.tcm-star {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tcm-star svg {
    width: 16px;
    height: 16px;
    fill: #f0b323;
}

.tcm-rating b {
    color: #cf163f;
    font-weight: 800;
}

/* middle */
.tcm-mid {
    flex: 1;
    padding: 18px 20px 20px;
    background: linear-gradient(135deg, #5b123f 0%, #b01239 100%);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tcm-label {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: rgba(255,255,255,.8);
}

.tcm-bonus {
    margin: 0;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
    color: #fff;
    text-wrap: balance;
}

/* button zone */
.tcm-btn,
.tcm-btn:link,
.tcm-btn:visited {
    display: block;
    margin: 14px 18px 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(180deg, #ef1b4d 0%, #cc153f 100%);
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    box-shadow: 0 8px 16px rgba(207, 22, 63, .22);
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.tcm-btn:hover,
.tcm-btn:active {
    color: #fff;
    background: linear-gradient(180deg, #ff2558 0%, #d81643 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(207, 22, 63, .28);
}

/* remove odd popup inherited styles */
.pum-container .pum-content > :last-child {
    margin-bottom: 0;
    background: #fff !important;
    border-radius: 0 !important;
    padding: 20px;
    border-radius: 10px !important;
}

/* mobile */
@media (max-width: 700px) {
    .tcm-top {
        padding: 16px;
    }

    .tcm-logo {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }

    .tcm-name {
        font-size: 15px;
    }

    .tcm-mid {
        padding: 16px;
    }

    .tcm-bonus {
        font-size: 16px;
    }

    .tcm-btn,
    .tcm-btn:link,
    .tcm-btn:visited {
        margin: 12px 16px 16px;
        padding: 13px 14px;
        font-size: 13px;
    }
}