/*
|--------------------------------------------------------------------------
| BUNNYHOT - TOP / TRENDING MODELS
|--------------------------------------------------------------------------
*/

.bh-top-section {
    position: relative;
}


/* GRID */

.bh-top-model-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}


/* CARD */

.bh-top-model-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 17, 123, 0.10),
            rgba(20, 20, 24, 0.96) 45%
        );
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.28);
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


/* HOVER */

.bh-top-model-card:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 17, 123, 0.55);
    box-shadow:
        0 20px 45px rgba(255, 17, 123, 0.15);
}


/* FIRST PLACE */

.bh-top-model-card.top-first {
    border-color: rgba(255, 17, 123, 0.55);
    box-shadow:
        0 0 0 1px rgba(255, 17, 123, 0.12),
        0 20px 55px rgba(255, 17, 123, 0.18);
}


/* IMAGE */

.bh-top-model-image {
    display: block;
    position: relative;
    height: 340px;
    overflow: hidden;
    background: #18181c;
}


.bh-top-model-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}


.bh-top-model-card:hover
.bh-top-model-image img {
    transform: scale(1.06);
}


/* IMAGE OVERLAY */

.bh-top-model-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.02) 30%,
            rgba(0,0,0,0.18) 55%,
            rgba(0,0,0,0.85) 100%
        );
    pointer-events: none;
}


.bh-top-model-image-empty {
    width: 100%;
    height: 100%;
    background: #202024;
}


/* RANK */

.bh-top-rank {
    position: absolute;
    z-index: 5;
    top: 12px;
    left: 12px;
}


.bh-top-rank span {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 44px;
    height: 44px;

    padding: 0 10px;

    border-radius: 12px;

    background: rgba(12, 12, 15, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.13);

    color: #fff;
    font-size: 15px;
    font-weight: 800;

    backdrop-filter: blur(10px);
}


/* FIRST PLACE RANK */

.top-first .bh-top-rank span {
    background: linear-gradient(
        135deg,
        #ff117b,
        #ff4d9d
    );

    border-color: transparent;

    box-shadow:
        0 8px 25px rgba(255, 17, 123, 0.35);
}


/* TRENDING BADGE */

.bh-top-model-badge {
    position: absolute;
    top: 14px;
    right: 14px;

    z-index: 4;

    padding: 7px 10px;

    border-radius: 999px;

    background: rgba(12, 12, 15, 0.82);
    border: 1px solid rgba(255, 17, 123, 0.45);

    color: #fff;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;

    backdrop-filter: blur(10px);
}


/* ARROW */

.bh-top-model-arrow {
    position: absolute;
    right: 15px;
    bottom: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: rgba(255, 17, 123, 0.9);

    color: #fff;

    font-size: 18px;
    font-weight: 700;

    opacity: 0;
    transform: translateX(-5px);

    transition:
        opacity .25s ease,
        transform .25s ease;
}


.bh-top-model-card:hover .bh-top-model-arrow {
    opacity: 1;
    transform: translateX(0);
}


/* CONTENT */

.bh-top-model-content {
    padding: 17px 17px 18px;
}


/* NAME */

.bh-top-model-name {
    margin: 0 0 9px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
}


.bh-top-model-name a {
    color: #fff;
    text-decoration: none;
}


.bh-top-model-name a:hover {
    color: #ff117b;
}


/* META */

.bh-top-model-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    font-size: 12px;
}


.bh-top-model-views {
    color: #ff8fc1;
    font-weight: 700;
}


.bh-top-model-type {
    color: rgba(255,255,255,.55);
}


/* TAGS */

.bh-top-model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    margin-top: 13px;
}


.bh-top-model-tag {
    display: inline-flex;

    padding: 5px 8px;

    border-radius: 7px;

    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.07);

    color: rgba(255,255,255,.7);

    font-size: 10px;
    line-height: 1;

    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease;
}


.bh-top-model-tag:hover {
    background: rgba(255,17,123,.14);
    color: #fff;
}


/*
|--------------------------------------------------------------------------
| TOP 1 SPECIAL
|--------------------------------------------------------------------------
*/

.bh-top-model-card.top-first::after {
    content: "👑";

    position: absolute;
    z-index: 8;

    top: 59px;
    left: 15px;

    font-size: 22px;

    filter:
        drop-shadow(
            0 4px 8px
            rgba(0,0,0,.5)
        );
}


/*
|--------------------------------------------------------------------------
| TABLET
|--------------------------------------------------------------------------
*/

@media (max-width: 1050px) {

    .bh-top-model-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bh-top-model-image {
        height: 320px;
    }

}


/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {

    .bh-top-model-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .bh-top-model-image {
        height: 270px;
    }

    .bh-top-model-content {
        padding: 13px;
    }

    .bh-top-model-name {
        font-size: 15px;
    }

    .bh-top-model-badge {
        font-size: 9px;
        padding: 6px 8px;
    }

    .bh-top-rank {
        top: 9px;
        left: 9px;
    }

    .bh-top-rank span {
        min-width: 37px;
        height: 37px;
        font-size: 13px;
    }

}


/*
|--------------------------------------------------------------------------
| SMALL MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 430px) {

    .bh-top-model-grid {
        gap: 10px;
    }

    .bh-top-model-image {
        height: 230px;
    }

    .bh-top-model-content {
        padding: 11px;
    }

    .bh-top-model-name {
        font-size: 14px;
    }

    .bh-top-model-meta {
        display: block;
    }

    .bh-top-model-type {
        display: none;
    }

    .bh-top-model-tags {
        display: none;
    }

}