/* model page */
.model-page {
    /* max-width: 900px; */
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}

/* mobile default */
.model-header {
    display: block;
}

.model-details-hashtags-menu {
    padding-left: 10px;
    padding-right: 10px;
}

.model-hero {
    margin-bottom: 10px;
    width: 100%;
}

.model-hero img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 12px;}


/* desktop layout */
@media (min-width: 1280px) {
    .model-header {
        display: flex;
        gap: 10px;
        align-items: stretch;
    }

    .model-hero,
    .model-info {
        flex: 1;
        min-width: 0;
        margin-bottom: 0px;

    }

    /* 🔑 override aspect ratio behavior */
    .model-hero img {
        height: 100%;
        aspect-ratio: auto;   /* disable 16:9 */
        object-fit: cover;
    }
}

.model-hero img {
    display: block;
    width: 100%;
    /* height: 100%; */
    /* max-height: 520px; */
    object-fit: cover;
    border-radius: 12px;
    background: #111;
}

.model-info {
    background: #1a1a1a;
    padding: 18px;
    border-radius: 12px;
}

.model-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.75em;
    margin-bottom: 10px;
    width: 100%;
}

.model-name-left {
    display: flex;
    font-weight: bold;
    align-items: center;
}

.model-rank-right {
    text-align: right;
    white-space: nowrap;
}


.model-rank {
    display: flex;
    align-items: center;
    font-size: 0.5em;
    gap: 2px;
}

.model-rank-number {
    padding: 4px;
    border-radius: 6px;
    background: gold;
    color: black;
}

.model-rank-right {
    text-align: right;
    white-space: nowrap;
}

.model-stats-female {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: white;
    margin-bottom: 12px;
}

.model-stats-female span {
    background: #C10050;
    padding: 5px 8px;
    border-radius: 6px;
}

.model-stats-male {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 12px;
}

.model-stats-male span {
    background: #2a2a2a;
    padding: 5px 8px;
    border-radius: 6px;
}

/*bundles*/
.model-bundle-wrapper {
    background: #1a1a1a;
    padding: 18px;
    border-radius: 12px;
}

.bundle-name {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;

}
.bundle-icons {
    gap: 0px;
}
.bundle-icons img{
    gap: 0px;
}

.model-bundles-female {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: white;
    margin-bottom: 12px;
}

.model-bundles-female span {
    display: inline-flex;
    align-items: center;
    gap: 0px;

    background: #C10050;
    padding-left: 8px;
    padding-right: 3px;
    padding-top: 4px;
    padding-bottom: 3px;
    border-radius: 6px;

    white-space: nowrap;
}

.model-bundles-female span img {
    width: 14px;
    height: 14px;
    display: block;

    filter: brightness(0) invert(1);
}

.model-bundles-male {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 12px;
}

.model-bundles-male span {
    display: inline-flex;
    align-items: center;
    gap: 0px;

    background: #2a2a2a;
    padding: 3px 8px;
    border-radius: 6px;

    white-space: nowrap;
}

.model-bundles-male span img {
    width: 14px;
    height: 14px;
    display: block;

    filter: brightness(0) invert(1);
}


.model-bio {
    font-size: 0.85em;
    color: #ccc;
    line-height: 1.2;
    margin-bottom: 0px;
}

.model-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.model-socials a {
    background: #2a2a2a;
    padding: 6px 10px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-size: 12px;
}

.model-section-title {
    font-size: 12px;
    opacity: 0.7;
    margin: 12px 0 8px;
}

.model-bundle-info {
    background: #1a1a1a;
    padding: 18px;
    border-radius: 12px;
    gap: 10px;
    display: flex;
    align-items: stretch; /* makes children full height */
    justify-content: space-between;
    font-size: 0.85em;
}

.model-bundle-name {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.bundle-content {
    flex: 1;
}

.bundle-row {
    align-items: center;
}

.bundle-buy-btn {
    display: flex;
    /* width: 60px;
    min-height: 80px; */
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: #C10050;
    color: #fff;
    text-transform: uppercase;

    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.model-bundle-buy-btn {
    display: flex;
    /* width: 60px;
    min-height: 80px; */
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: #C10050;
    color: #fff;
    text-transform: uppercase;

    border: none;
    border-radius: 6px;
    cursor: pointer;
    height: 60px;
}

.bundle-buy-btn img {
    width: 24px;
    filter: brightness(0) invert(1);
}

.model-bundle-buy-btn img {
    width: 24px;
    filter: brightness(0) invert(1);
}

.bundle-buy-btn:hover {
    padding: 0px;
}

.bundle-btn-bundle-price {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
    color: #C10050
}

.bundle-btn-original-price {
    font-size: 10px;
    font-weight: bold;
    text-decoration: line-through;
    text-decoration-color: red;
    color: white;
    margin-bottom: 4px;
}

.bundle-btn-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0px;
    flex-wrap: nowrap;
    /* padding-left: 10px; */
}

.bundle-btn-icons img {
    display: block;
    width: 24px;
    height: 24px;
    padding: 0;
    margin: 0;
}



.model-movies {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.model-movies a {
    background: #222;
    padding: 8px;
    border-radius: 6px;
    text-decoration: none;
    color: #ddd;
}

.model-movies a:hover {
    background: #2a2a2a;
}

.model-video,
.model-video-unreleased {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: #222;
}

.model-video img,
.model-video-unreleased img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}


/* .model-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(193, 0, 80, 0);
    transition: background 0.15s ease;
    pointer-events: none;
}

.model-video:active::after {
    background: rgba(193, 0, 80, 0.15);
} */

.model-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.link-section {
    background: #151515;
    padding: 10px;
    border-radius: 10px;
}

.link-title {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 6px;
}

.link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.link-row a {
    font-size: 12px;
    background: #2a2a2a;
    padding: 5px 8px;
    border-radius: 6px;
    color: #ddd;
    text-decoration: none;
    white-space: nowrap;
}

.link-row a:hover {
    background: #3a3a3a;
}


.model-extra-info {
    margin-top: 24px;
    width: 100%;
    padding: 18px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-sizing: border-box;
}

.model-extra-info-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.model-extra-info-section {
    margin-bottom: 20px;
}

.model-extra-info-section:last-child {
    margin-bottom: 0;
}

.model-extra-info-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    padding-bottom: 6px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.model-extra-info-table {
    width: 100%;
    border-collapse: collapse;
}

.model-extra-info-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.model-extra-info-table tr:last-child {
    border-bottom: none;
}

.model-extra-info-table td {
    padding: 8px 4px;
    vertical-align: middle;
    font-size: 0.9rem;
}

.model-extra-info-label {
    width: 35%;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.model-extra-info-value {
    width: 65%;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}


/* IMAGE FILTERS */
@keyframes filmNoiseShift {
    0%   { transform: translate(0px, 0px); }
    50%  { transform: translate(-1px, 1px); }
    100% { transform: translate(1px, -1px); }
}

@keyframes filmFlicker {
    0%   { opacity: 0.55; }
    50%  { opacity: 0.65; }
    100% { opacity: 0.5; }
}

@keyframes leakDrift {
    0% {
        transform: translate(-2%, -1%) scale(1.05);
    }
    50% {
        transform: translate(2%, 1%) scale(1.08);
    }
    100% {
        transform: translate(-2%, -1%) scale(1.05);
    }
}

.film-frame {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 12px;
    background: black;
}

.film-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.film-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 1;

    background:
        radial-gradient(circle at 12% 18%, rgba(255,150,60,.9), transparent 60%),
        radial-gradient(circle at 78% 22%, rgba(255,90,0,.75), transparent 65%),
        radial-gradient(circle at 85% 80%, rgba(255,60,0,.55), transparent 70%);

    background-repeat: no-repeat;

    background-position: -15% -10%, 110% 15%, 90% 110%;
    background-size: 180% 180%, 200% 200%, 220% 220%;

    filter: blur(22px);

    mask-image: radial-gradient(
        circle at 48% 52%,
        transparent 0%,
        transparent 52%,
        rgba(0,0,0,.15) 62%,
        rgba(0,0,0,.45) 72%,
        rgba(0,0,0,.75) 84%,
        black 100%
    );

    -webkit-mask-image: radial-gradient(
        circle at 48% 52%,
        transparent 0%,
        transparent 52%,
        rgba(0,0,0,.15) 62%,
        rgba(0,0,0,.45) 72%,
        rgba(0,0,0,.75) 84%,
        black 100%
    );

    animation: leakDrift 6s infinite ease-in-out;
}

.film-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    overflow: hidden;
    opacity: 0.7;
    animation: 
        filmNoiseShift 0.15s infinite steps(2, end),
        filmFlicker 0.8s infinite ease-in-out;
}

.film-hair {
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: multiply; /* important: makes it behave like real hair */
    opacity: 0.35;
}

/* NOTICATIONS */
#toast-container {

    position: fixed;

    bottom: 20px;
    right: 20px;

    z-index: 999999;

    display: flex;
    flex-direction: column;

    align-items: flex-end;

    gap: 12px;

    pointer-events: none;
}

.toast {
    position: relative;

    max-width: none;
    white-space: nowrap;

    padding: 8px 18px 8px 38px;

    background: #1f1f1f;
    color: #fff;

    border-radius: 12px;

    box-shadow: 0 18px 45px rgba(0,0,0,0.45);

    overflow: hidden;

    font-size: 14px;
    line-height: 1.4;

    /* 🔑 ADD THESE (THIS IS WHAT YOU LOST) */
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* LEFT ACCENT BAR */
/*
.toast::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #C10050;
}
*/

/* SUCCESS */
.toast.success::before {
    background: #00c853;
}

/* ERROR */
.toast.error::before {
    background: #ff1744;
}

/* ICON PULSE DOT */
.toast::after {
    content: "";
    width: 8px;
    height: 8px;

    border-radius: 50%;

    position: absolute;

    left: 16px;   /* aligned into padding area */
    top: 50%;
    transform: translateY(-50%);

    background: #fff;

    animation: pulse 1.2s infinite ease-in-out;

    opacity: 0.9;
}

.toast.success::after {
    background: #00c853;
}

.toast.error::after {
    background: #ff1744;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.4);
        opacity: 0.2;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.6;
    }
}

/* SHOW STATE */
.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

