@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --bg-page: #fcf9fb;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fff4f8;
    --border-color: #f1e2eb;
    --border-subtle: #f8eef4;
    --border-focus: #ff65a9;
    --text-primary: #19212d;
    --text-secondary: #4b5563;
    --text-muted: #8a93a4;
    --bkash-pink: #e2136e;
    --bkash-pink-hover: #c40e5d;
    --pink-soft: #fce7f3;
    --pink-light: #fff0f6;
    --pink-gradient: linear-gradient(135deg, #ff2d87 0%, #e2136e 100%);
    --pink-glow: rgba(226, 19, 110, 0.22);
    --accent-blue: #0284c7;
    --gold: #f59e0b;
    --green-live: #10b981;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 10px rgba(226, 19, 110, 0.04);
    --shadow-md: 0 6px 24px rgba(226, 19, 110, 0.08);
    --shadow-lg: 0 16px 44px rgba(226, 19, 110, 0.12);
    --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-page);
}
::-webkit-scrollbar-thumb {
    background: #e2d1dc;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4bccb;
}

/* App 3-Column Layout */
.app-layout {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 1320px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
}

/* Left Sidebar Navigation */
.sidebar-left {
    width: 260px;
    position: sticky;
    top: 16px;
    height: calc(100vh - 32px);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #f4b6d2 transparent;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--border-color);
    background: var(--bg-surface);
    flex-shrink: 0;
    border-radius: var(--radius-md);
}

.sidebar-left::-webkit-scrollbar,
.sidebar-right::-webkit-scrollbar {
    width: 5px;
}
.sidebar-left::-webkit-scrollbar-thumb,
.sidebar-right::-webkit-scrollbar-thumb {
    background: #f4b6d2;
    border-radius: 999px;
}
.sidebar-left::-webkit-scrollbar-thumb:hover,
.sidebar-right::-webkit-scrollbar-thumb:hover {
    background: var(--bkash-pink);
}
.sidebar-left::-webkit-scrollbar-track,
.sidebar-right::-webkit-scrollbar-track {
    background: transparent;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    margin-bottom: 24px;
}
.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--pink-gradient);
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 4px 14px var(--pink-glow);
}
.brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.nav-item a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}
.nav-item a:hover {
    background: var(--bg-card-hover);
    color: var(--bkash-pink);
    transform: translateX(4px);
}
.nav-item.active a {
    background: var(--pink-soft);
    color: var(--bkash-pink);
    font-weight: 700;
}
.nav-item i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}
.nav-badge {
    margin-left: auto;
    background: var(--bkash-pink);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.sidebar-cta {
    margin-top: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #fff0f6, #fce7f3);
    border: 1px solid #f9c2db;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.sidebar-cta h4 {
    font-size: 0.98rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.sidebar-cta p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.btn-vip-nav {
    width: 100%;
    padding: 10px;
    background: var(--pink-gradient);
    color: #fff;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px var(--pink-glow);
    transition: var(--transition);
}
.btn-vip-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 19, 110, 0.35);
}

/* Main Content Area */
.main-feed-column {
    max-width: 650px;
    width: 100%;
    min-height: 100vh;
    border-right: 1px solid var(--border-color);
    background: var(--bg-surface);
}

/* Profile Header */
.profile-header-card {
    position: relative;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
}
.profile-banner {
    width: 100%;
    height: 260px;
    position: relative;
    overflow: hidden;
    background: #fce7f3;
}
.profile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.4));
}

.profile-top-bar {
    position: absolute;
    top: 14px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}
.profile-top-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    color: var(--text-primary);
    display: grid;
    place-items: center;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}
.profile-top-btn:hover {
    background: #fff;
    color: var(--bkash-pink);
    transform: scale(1.05);
}

.profile-details-wrapper {
    padding: 0 22px 22px;
    position: relative;
}
.profile-avatar-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: -95px;
    margin-bottom: 18px;
}
.avatar-container {
    position: relative;
    width: 175px;
    height: 175px;
}
.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #ffffff;
    box-shadow: 0 12px 38px rgba(226, 19, 110, 0.25);
}
.avatar-status-badge {
    position: absolute;
    bottom: 9px;
    right: 9px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--green-live);
    border: 3.5px solid #ffffff;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.7);
}
.avatar-status-badge::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid var(--green-live);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

.profile-action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-subscribe-header {
    background: linear-gradient(135deg, #e2136e 0%, #ff2a85 100%);
    color: #ffffff;
    border: none;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(226, 19, 110, 0.25);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    line-height: 1.2;
}
.btn-subscribe-header:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(226, 19, 110, 0.4);
    color: #ffffff;
}
.btn-subscribe-header:active {
    transform: translateY(0);
}
.btn-subscribe-header i {
    font-size: 0.8rem;
}

.profile-name-section {
    margin-bottom: 12px;
}
.creator-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.creator-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}
.verified-badge {
    color: var(--bkash-pink);
    font-size: 1.2rem;
}
.creator-handle {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.creator-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--pink-soft);
    color: var(--bkash-pink);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 700;
    margin-left: 8px;
    border: 1px solid #f9c2db;
}

.creator-bio {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.creator-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.creator-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.creator-meta-item i {
    color: var(--bkash-pink);
}

.creator-stats-strip {
    display: flex;
    gap: 28px;
    padding: 14px 0;
    border-top: 1px solid var(--border-subtle);
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-val {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-primary);
}
.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Tabs Navigation */
.profile-tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-surface);
    position: sticky;
    top: 0;
    z-index: 10;
}
.profile-tab-btn {
    flex: 1;
    padding: 14px 10px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.profile-tab-btn:hover {
    color: var(--bkash-pink);
    background: var(--bg-card-hover);
}
.profile-tab-btn.active {
    color: var(--bkash-pink);
    border-bottom-color: var(--bkash-pink);
    font-weight: 700;
}
.tab-badge {
    background: #f3f4f6;
    color: var(--text-secondary);
    font-size: 0.72rem;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 700;
}
.profile-tab-btn.active .tab-badge {
    background: var(--pink-soft);
    color: var(--bkash-pink);
}

/* Feed Posts Area */
.posts-feed-container {
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--bg-page);
}

.post-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin: 0 16px;
    padding-bottom: 14px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
}
.post-creator-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.post-mini-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}
.post-creator-name {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--text-primary);
}
.post-time {
    font-size: 0.76rem;
    color: var(--text-muted);
}
.post-vip-tag {
    background: var(--pink-gradient);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    margin-left: 6px;
    box-shadow: 0 2px 8px var(--pink-glow);
}
.post-free-tag {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-left: 6px;
}

.post-body-text {
    padding: 0 18px 14px;
    font-size: 0.94rem;
    color: var(--text-primary);
    line-height: 1.6;
}
.post-tags {
    color: var(--bkash-pink);
    margin-top: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Post Media Container */
.post-media-box {
    position: relative;
    width: 100%;
    background: #fdf2f7;
    overflow: hidden;
}
.post-media-box img {
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
    display: block;
}

/* Locked Media Blur Overlay */
.post-media-box.locked .locked-img {
    filter: blur(30px) brightness(0.85);
    transform: scale(1.08);
}
.locked-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    color: var(--text-primary);
    z-index: 5;
}
.locked-icon-pulse {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--pink-soft);
    border: 2px solid var(--bkash-pink);
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    color: var(--bkash-pink);
    margin-bottom: 16px;
    box-shadow: 0 6px 24px var(--pink-glow);
    animation: iconBounce 2.5s infinite;
}
@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.locked-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.locked-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 380px;
    margin-bottom: 18px;
    line-height: 1.5;
}
.btn-unlock-post {
    background: var(--pink-gradient);
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px var(--pink-glow);
    transition: var(--transition);
}
.btn-unlock-post:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 28px rgba(226, 19, 110, 0.4);
}

/* Post Actions Footer */
.post-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 4px;
}
.post-actions-left {
    display: flex;
    gap: 16px;
}
.post-action-btn {
    background: transparent;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}
.post-action-btn:hover {
    background: var(--bg-card-hover);
    color: var(--bkash-pink);
}
.post-action-btn.liked {
    color: #e2136e;
}
.post-action-btn.liked i {
    animation: heartPop 0.35s cubic-bezier(0.17, 0.89, 0.32, 1.49);
}
@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.btn-tip-post {
    color: var(--bkash-pink);
    background: var(--pink-soft);
    border: 1px solid #f9c2db;
}
.btn-tip-post:hover {
    background: var(--bkash-pink);
    color: #fff;
}

/* Right Sidebar / Widgets */
.sidebar-right {
    width: 380px;
    padding: 16px 14px;
    position: sticky;
    top: 16px;
    height: calc(100vh - 32px);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #f4b6d2 transparent;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: transparent;
}

/* VIP Subscription Card */
.vip-pricing-card {
    background: #ffffff;
    border: 1.5px solid #f9c2db;
    border-radius: var(--radius-lg);
    padding: 13px 14px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(226, 19, 110, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
}
.vip-pricing-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(226, 19, 110, 0.12) 0%, rgba(255, 45, 135, 0.03) 60%, transparent 80%);
    pointer-events: none;
    border-radius: 50%;
}
.vip-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--pink-soft);
    color: var(--bkash-pink);
    border: 1px solid #f9c2db;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.pulse-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--bkash-pink);
    box-shadow: 0 0 6px rgba(226, 19, 110, 0.8);
    display: inline-block;
    animation: dotPulse 1.8s infinite;
}
@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.4; }
}
.vip-card-title {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 2px;
    font-weight: 800;
}
.vip-card-desc {
    font-size: 0.76rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.35;
}

.subscription-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 8px;
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #f4b6d2 transparent;
}
.plan-radio-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}
.plan-radio-item:hover {
    background: var(--bg-card-hover);
    border-color: #f4b6d2;
    transform: translateY(-1px);
}
.plan-radio-item.selected {
    background: linear-gradient(135deg, #fff5f9 0%, #ffffff 100%);
    border-color: var(--bkash-pink);
    box-shadow: 0 4px 14px rgba(226, 19, 110, 0.12);
}

.plan-radio-indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: grid;
    place-items: center;
    color: transparent;
    font-size: 0.6rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.plan-radio-item.selected .plan-radio-indicator {
    background: var(--pink-gradient);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 2px 6px var(--pink-glow);
}

.plan-details {
    flex: 1;
    min-width: 0;
}
.plan-header-row {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 1px;
}
.plan-name-text {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
}
.plan-badge-pill {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.2px;
    line-height: 1.2;
    text-transform: uppercase;
}
.autodebit-badge {
    background: #fdf2f8;
    color: #db2777;
    border: 1px solid #fbcfe8;
}
.popular-badge {
    background: var(--pink-gradient);
    color: #ffffff;
    box-shadow: 0 1px 5px var(--pink-glow);
}
.save-badge {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}
.best-badge {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}
.plan-sub-text {
    font-size: 0.68rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.plan-price-block {
    text-align: right;
    flex-shrink: 0;
    margin-left: 4px;
}
.plan-price-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--bkash-pink);
    line-height: 1;
}
.plan-price-unit {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 1px;
    font-weight: 500;
}

.btn-bkash-checkout {
    width: 100%;
    padding: 11px 16px;
    background: var(--pink-gradient);
    color: #fff;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(226, 19, 110, 0.35);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap !important;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}
.btn-bkash-checkout * {
    white-space: nowrap !important;
}
.btn-bkash-checkout::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: rotate(30deg);
    animation: btnShimmer 4s infinite;
    pointer-events: none;
}
@keyframes btnShimmer {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}
.btn-bkash-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(226, 19, 110, 0.45);
}
.btn-checkout-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: -0.2px;
    color: #ffffff;
}
.btn-checkout-left i {
    font-size: 0.95rem;
}
.btn-checkout-right {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-checkout-price {
    font-weight: 800;
    font-size: 0.95rem;
    color: #ffffff;
    letter-spacing: -0.2px;
}
.btn-save-chip {
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
}

.vip-perks-list {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.perk-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}
.perk-item i {
    color: #10b981;
    font-size: 0.88rem;
}

/* Supporters Leaderboard Widget */
.widget-card {
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.supporters-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.supporter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.supporter-row:hover {
    background: var(--bg-card-hover);
}
.supporter-user {
    display: flex;
    align-items: center;
    gap: 10px;
}
.supporter-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.medal-gold {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.22);
    border: 1px solid #fcd34d;
}
.medal-silver {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.2);
    border: 1px solid #cbd5e1;
}
.medal-bronze {
    background: linear-gradient(135deg, #ffedd5, #fed7aa);
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.2);
    border: 1px solid #fdba74;
}
.supporter-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}
.supporter-badge {
    font-size: 0.72rem;
    color: var(--text-muted);
}
.supporter-amount {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--bkash-pink);
    font-family: 'Outfit', sans-serif;
}

/* Modals */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    padding: 16px;
}
.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-dialog {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.25s cubic-bezier(0.17, 0.89, 0.32, 1.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.modal-backdrop.active .modal-dialog {
    transform: translateY(0) scale(1);
}

/* bKash Modal Branding */
.bkash-modal-header {
    background: var(--pink-gradient);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bkash-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}
.modal-close-btn {
    background: transparent;
    color: #fff;
    font-size: 1.3rem;
    opacity: 0.85;
}
.modal-close-btn:hover {
    opacity: 1;
}

.bkash-modal-body {
    padding: 24px;
}
.bkash-order-summary {
    background: var(--pink-light);
    border: 1px solid #f9c2db;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bkash-form-group {
    margin-bottom: 16px;
}
.bkash-form-label {
    display: block;
    font-size: 0.84rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 600;
}
.bkash-input {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}
.bkash-input:focus {
    border-color: var(--bkash-pink);
    box-shadow: 0 0 0 3px var(--pink-glow);
}

.bkash-btn-confirm {
    width: 100%;
    padding: 13px;
    background: var(--pink-gradient);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 10px;
    box-shadow: 0 4px 16px var(--pink-glow);
    transition: var(--transition);
}
.bkash-btn-confirm:hover {
    background: var(--bkash-pink-hover);
}

/* Toast Notifications */
.toast-box {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 2000;
    transition: transform 0.3s cubic-bezier(0.17, 0.89, 0.32, 1.25);
}
.toast-box.show {
    transform: translateX(-50%) translateY(0);
}

/* Facebook-style Multi-Photo Collage / Mosaic Grid */
.post-media-collage {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0d0f12;
    cursor: pointer;
    user-select: none;
}

/* 1 Photo */
.post-media-collage.count-1 {
    max-height: 580px;
}
.post-media-collage.count-1 .collage-item {
    width: 100%;
    height: 100%;
}
.post-media-collage.count-1 img {
    width: 100%;
    max-height: 580px;
    object-fit: cover;
    display: block;
}

/* 2 Photos: Side by Side */
.post-media-collage.count-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    height: 420px;
}
.post-media-collage.count-2 .collage-item {
    height: 100%;
    min-height: 0;
    overflow: hidden;
    position: relative;
}
.post-media-collage.count-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 3 Photos: 1 on Left, 2 on Right */
.post-media-collage.count-3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    height: 440px;
}
.post-media-collage.count-3 .collage-col-left {
    height: 100%;
    min-height: 0;
}
.post-media-collage.count-3 .collage-col-left .collage-item {
    height: 100%;
    min-height: 0;
}
.post-media-collage.count-3 .collage-col-right {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    height: 100%;
    min-height: 0;
}
.post-media-collage.count-3 .collage-col-right .collage-item {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

/* 4 Photos: 2 on Left, 2 on Right (2x2 Grid) */
.post-media-collage.count-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    height: 460px;
}
.post-media-collage.count-4 .collage-col {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    height: 100%;
    min-height: 0;
}
.post-media-collage.count-4 .collage-item {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

/* 5+ Photos: Exact 2-Left, 3-Right Facebook Mosaic with +N Overlay */
.post-media-collage.count-5plus {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    height: 480px;
}
.post-media-collage.count-5plus .collage-col {
    height: 100%;
    min-height: 0;
}
.post-media-collage.count-5plus .collage-col-left {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    height: 100%;
    min-height: 0;
}
.post-media-collage.count-5plus .collage-col-right {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 4px;
    height: 100%;
    min-height: 0;
}
.post-media-collage.count-5plus .collage-item {
    height: 100%;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

/* Collage Items & Images */
.collage-item {
    position: relative;
    overflow: hidden;
    background: #000;
    min-height: 0;
    min-width: 0;
    cursor: pointer;
}
.collage-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}
.collage-item:hover .collage-img {
    transform: scale(1.03);
}

/* +X More Photos Overlay */
.collage-more-badge {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(2px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    transition: background 0.2s ease;
    z-index: 2;
    pointer-events: none;
}
.collage-item:hover .collage-more-badge {
    background: rgba(0, 0, 0, 0.45);
}

/* Locked VIP Collage */
.post-media-collage.locked .collage-img {
    filter: blur(14px) brightness(0.7);
    transform: scale(1.08);
}
.post-media-collage.locked .collage-more-badge {
    display: none;
}
.post-media-collage.locked .locked-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    text-align: center;
    padding: 24px;
}

/* Photo Lightbox Modal */
.photo-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(14px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.photo-lightbox.active {
    display: flex;
}
.lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-content img {
    max-width: 92vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.lightbox-counter {
    margin-top: 10px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 12px;
    border-radius: 20px;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.8rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}
.lightbox-close:hover {
    background: var(--bkash-pink);
    transform: rotate(90deg);
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}
.lightbox-nav.prev {
    left: 20px;
}
.lightbox-nav.next {
    right: 20px;
}
.lightbox-nav:hover {
    background: var(--bkash-pink);
    transform: translateY(-50%) scale(1.1);
}

/* Mobile Dedicated VIP Quick-Card (Shown on mobile screens < 768px) */
.mobile-vip-quickcard {
    display: none;
    margin: 16px 0 6px;
    background: linear-gradient(135deg, #ffffff 0%, #fff3f8 100%);
    border: 1.5px solid #f9c2db;
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    box-shadow: 0 8px 24px rgba(226, 19, 110, 0.1);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}
.mobile-vip-quickcard::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(226, 19, 110, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.mobile-vip-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.mobile-vip-pill {
    background: var(--pink-gradient);
    color: #fff;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px var(--pink-glow);
}
.mobile-vip-autodebit-tag {
    font-size: 0.72rem;
    color: var(--bkash-pink);
    background: var(--pink-soft);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-weight: 700;
}
.mobile-vip-card-title {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-weight: 800;
}
.mobile-vip-card-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.45;
}
.mobile-vip-plans-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
    gap: 6px;
    margin-bottom: 14px;
    width: 100%;
    box-sizing: border-box;
}
.mobile-plan-chip {
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px 4px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}
.mobile-plan-chip.active {
    border-color: var(--bkash-pink);
    background: #fff0f6;
    box-shadow: 0 2px 10px rgba(226, 19, 110, 0.14);
}
.chip-title {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-secondary);
}
.mobile-plan-chip.active .chip-title {
    color: var(--bkash-pink);
}
.chip-price {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 2px;
}
.mobile-plan-chip.active .chip-price {
    color: var(--bkash-pink);
}
.btn-mobile-vip-subscribe {
    width: 100%;
    padding: 12px 16px;
    background: var(--pink-gradient);
    color: #fff;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.94rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(226, 19, 110, 0.35);
    transition: var(--transition);
    white-space: nowrap !important;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.btn-mobile-vip-subscribe * {
    white-space: nowrap !important;
}
.btn-mobile-vip-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(226, 19, 110, 0.45);
}
.mobile-btn-left {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
    font-size: 0.92rem;
    color: #fff;
}
.mobile-btn-left i {
    font-size: 0.95rem;
}
.mobile-btn-right {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.mobile-btn-price {
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
}
.mobile-btn-save-tag {
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 68px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    box-shadow: 0 -4px 25px rgba(226, 19, 110, 0.08);
    padding: 0 8px;
}
.mobile-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    background: transparent;
    padding: 6px 14px;
    transition: var(--transition);
}
.mobile-nav-btn i {
    font-size: 1.25rem;
}
.mobile-nav-btn.active {
    color: var(--bkash-pink);
}

/* Elevated Glowing Mobile Subscribe Button */
.mobile-nav-subscribe-btn {
    position: relative;
    top: -14px;
    padding: 0 10px;
    cursor: pointer;
}
.mobile-nav-sub-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--pink-gradient);
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 1.35rem;
    box-shadow: 0 6px 20px rgba(226, 19, 110, 0.45);
    border: 3.5px solid #ffffff;
    transition: var(--transition);
    animation: crownFloat 3s ease-in-out infinite;
}
@keyframes crownFloat {
    0%, 100% { transform: translateY(0); box-shadow: 0 6px 20px rgba(226, 19, 110, 0.45); }
    50% { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(226, 19, 110, 0.6); }
}
.mobile-nav-subscribe-btn:active .mobile-nav-sub-circle {
    transform: scale(0.92);
}
.mobile-nav-subscribe-btn span {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--bkash-pink);
    margin-top: 3px;
    letter-spacing: 0.3px;
}

/* Loader Overlay (Disabled per user request for instant direct redirect) */
.bkash-loader-overlay,
.bkash-loader-overlay.active {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.bkash-loader-card {
    background: #ffffff;
    border: 2px solid #f9c2db;
    box-shadow: 0 20px 45px rgba(226, 19, 110, 0.15);
    border-radius: 20px;
    padding: 36px 30px;
    max-width: 380px;
    width: 100%;
}

/* Auto-Debit Notice Banner */
.autodebit-notice-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--pink-light);
    border: 1px dashed #f4b6d2;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    margin: 14px 0;
}
.btn-cancel-autodebit:hover {
    background: rgba(239, 68, 68, 0.22) !important;
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
    .sidebar-right {
        display: none;
    }
    .main-feed-column {
        max-width: 720px;
        border-right: none;
    }
}

@media (max-width: 768px) {
    .app-layout {
        display: block;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    .sidebar-left, .sidebar-right {
        display: none !important;
    }
    .main-feed-column {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        border: none !important;
        padding-bottom: 84px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }
    .profile-banner {
        height: 205px;
    }
    .profile-details-wrapper {
        padding: 0 14px 18px;
        box-sizing: border-box;
    }
    .profile-avatar-row {
        margin-top: -68px;
        margin-bottom: 14px;
        align-items: flex-end;
    }
    .avatar-container {
        width: 128px;
        height: 128px;
        flex-shrink: 0;
    }
    .profile-action-buttons {
        gap: 6px;
        flex-shrink: 0;
    }
    .btn-subscribe-header,
    .btn-message-header {
        padding: 6px 12px;
        font-size: 0.76rem;
        gap: 5px;
    }
    .creator-name {
        font-size: 1.25rem;
        word-break: break-word;
    }
    .creator-title-row {
        gap: 6px;
        flex-wrap: wrap;
    }
    .creator-category-badge {
        margin-left: 0;
    }
    .creator-stats-strip {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        padding: 12px 2px;
    }
    .stat-item {
        flex: 1;
        text-align: center;
    }
    .stat-val {
        font-size: 1.05rem;
    }
    .stat-lbl {
        font-size: 0.68rem;
    }
    
    /* Horizontal scrollable tabs */
    .profile-tabs-nav {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
        box-sizing: border-box;
    }
    .profile-tabs-nav::-webkit-scrollbar {
        display: none;
    }
    .profile-tab-btn {
        flex: 0 0 auto;
        padding: 12px 14px;
        font-size: 0.82rem;
    }
    
    /* Edge-to-edge mobile post cards */
    .post-card {
        margin: 0 0 14px 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        width: 100%;
        box-sizing: border-box;
    }
    .post-header, .post-body-text, .post-actions-bar {
        padding-left: 14px;
        padding-right: 14px;
    }
    .mobile-vip-quickcard {
        display: block;
        width: 100%;
        box-sizing: border-box;
        margin: 14px 0 0;
        padding: 16px 12px;
    }
    .mobile-vip-plans-preview {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
        gap: 6px;
        width: 100%;
    }
    .mobile-plan-chip {
        padding: 8px 4px;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .post-media-collage.count-2 {
        height: 320px;
    }
    .post-media-collage.count-3 {
        height: 340px;
    }
    .post-media-collage.count-4 {
        height: 360px;
    }
    .post-media-collage.count-5plus {
        height: 420px;
    }
    .collage-more-badge {
        font-size: 1.8rem;
    }
    .mobile-bottom-nav {
        display: flex;
    }
}

@media (max-width: 480px) {
    .profile-banner {
        height: 175px;
    }
    .avatar-container {
        width: 114px;
        height: 114px;
    }
    .profile-avatar-row {
        margin-top: -60px;
    }
    .btn-subscribe-header,
    .btn-message-header {
        padding: 5px 10px;
        font-size: 0.72rem;
        gap: 4px;
    }
    .creator-name {
        font-size: 1.15rem;
    }
    .chip-title {
        font-size: 0.68rem;
    }
    .chip-price {
        font-size: 0.88rem;
    }
    .btn-mobile-vip-subscribe {
        padding: 11px;
        font-size: 0.88rem;
    }
    .post-media-collage.count-2 {
        height: 290px;
    }
    .post-media-collage.count-3 {
        height: 320px;
    }
    .post-media-collage.count-4 {
        height: 340px;
    }
    .post-media-collage.count-5plus {
        height: 380px;
    }
    .collage-more-badge {
        font-size: 1.6rem;
    }
}

/* =========================================================
   SUBSCRIBE BUTTON URGENCY TIMER BOX (ABOVE / BELOW)
   ========================================================= */
.urgent-offer-bar {
    display: none !important;
}

.vip-subscribe-timer-box {
    background: linear-gradient(135deg, #fff0f6 0%, #fdf2f8 100%);
    border: 1.5px dashed var(--bkash-pink);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(226, 19, 110, 0.08);
    transition: var(--transition);
}
.vip-subscribe-timer-box.pos-above {
    margin-bottom: 9px;
    margin-top: 2px;
}
.vip-subscribe-timer-box.pos-below {
    margin-top: 9px;
    margin-bottom: 10px;
}
.timer-box-main-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.timer-box-headline {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--bkash-pink);
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.timer-box-digits {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--text-primary);
    font-size: 0.88rem;
}
.timer-unit-num {
    background: #ffffff;
    border: 1px solid #f9c2db;
    border-radius: 5px;
    padding: 2px 6px;
    color: var(--bkash-pink);
    font-weight: 800;
    min-width: 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(226, 19, 110, 0.08);
}
.timer-unit-char {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-right: 1px;
}

/* Price Hike Alert inside Desktop Timer Box */
.timer-hike-alert {
    width: 100%;
    margin-top: 2px;
    padding-top: 6px;
    border-top: 1px dashed rgba(226, 19, 110, 0.22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 0.74rem;
    color: var(--text-secondary);
}
.timer-hike-alert i {
    color: #ef4444;
    font-size: 0.82rem;
}
.timer-hike-alert b {
    color: var(--text-primary);
    font-weight: 800;
}
.hike-badge-pill {
    background: #fee2e2;
    color: #ef4444;
    border: 1px solid #fca5a5;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 9999px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    animation: pulseHike 2s infinite;
}

@keyframes pulseHike {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Desktop Plan Radio Items Strikethrough & Hike */
.plan-regular-strike {
    font-size: 0.7rem;
    color: #9ca3af;
    font-weight: 600;
    margin-top: 1px;
}
.plan-regular-strike del {
    color: #9ca3af;
}
.plan-hike-pill {
    font-size: 0.65rem;
    font-weight: 700;
    color: #ef4444;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    padding: 1px 5px;
    border-radius: 4px;
    margin-top: 3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

/* Mobile Quick VIP Card Timer Box */
.mobile-subscribe-timer-box {
    background: linear-gradient(135deg, #fff0f6 0%, #fdf2f8 100%);
    border: 1px dashed var(--bkash-pink);
    border-radius: 8px;
    padding: 7px 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-primary);
}
.mobile-subscribe-timer-box.pos-above {
    margin-bottom: 8px;
    margin-top: 4px;
}
.mobile-subscribe-timer-box.pos-below {
    margin-top: 8px;
    margin-bottom: 4px;
}
.mobile-timer-top-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.mobile-sub-timer-digits {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--bkash-pink);
    background: #ffffff;
    padding: 1px 6px;
    border-radius: 5px;
    border: 1px solid #f9c2db;
}
.mobile-hike-line {
    width: 100%;
    margin-top: 2px;
    padding-top: 4px;
    border-top: 1px dashed rgba(226, 19, 110, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 0.68rem;
    color: var(--text-secondary);
}
.mobile-hike-line b {
    color: var(--text-primary);
    font-weight: 800;
}
.mobile-hike-tag {
    background: #fee2e2;
    color: #ef4444;
    border: 1px solid #fca5a5;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 9999px;
    white-space: nowrap;
}
.chip-regular-price {
    font-size: 0.62rem;
    color: #9ca3af;
    display: block;
    margin-top: 1px;
}
#btnSaveTag {
    background: rgba(255, 255, 255, 0.25);
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.2px;
}

/* =========================================================
   LIVE SOCIAL PROOF SUBSCRIPTION NOTIFICATIONS (BOYS/MEN)
   ========================================================= */
.social-proof-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    pointer-events: none;
}
.social-proof-toast {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid #f9c2db;
    border-radius: 16px;
    padding: 10px 14px;
    box-shadow: 0 12px 32px rgba(226, 19, 110, 0.16), 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 360px;
    width: auto;
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}
.social-proof-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.sp-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}
.sp-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.sp-verified-check {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: #10b981;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.55rem;
    color: #ffffff;
}
.sp-info {
    flex: 1;
    min-width: 0;
}
.sp-title-row {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}
.sp-plan-text {
    font-size: 0.76rem;
    color: var(--text-secondary);
    line-height: 1.35;
    margin-top: 2px;
}
.sp-plan-highlight {
    color: var(--bkash-pink);
    font-weight: 700;
}
.sp-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    color: #10b981;
    font-weight: 600;
    margin-top: 3px;
}
.sp-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
    display: inline-block;
    animation: dotPulse 1.6s infinite;
}
.sp-close-btn {
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 0.85rem;
    padding: 2px 6px;
    cursor: pointer;
    align-self: flex-start;
    border-radius: 4px;
    transition: var(--transition);
}
.sp-close-btn:hover {
    color: var(--bkash-pink);
    background: #fee2e2;
}

@media (max-width: 768px) {
    .urgent-offer-bar {
        flex-direction: column;
        gap: 6px;
        padding: 8px 12px;
        text-align: center;
    }
    .urgent-offer-text {
        font-size: 0.78rem;
    }
    .social-proof-container {
        bottom: 74px;
        left: 12px;
        right: 12px;
        max-width: calc(100vw - 24px);
    }
    .social-proof-toast {
        max-width: 100%;
        padding: 9px 12px;
    }
}

/* --- Free User 5-Post Limit & VIP Feed Barrier --- */
body:not(.is-vip) .post-card.post-free-gated {
    display: none !important;
}

body.is-vip #freeLimitBarrier,
body.is-vip .free-limit-barrier-card {
    display: none !important;
}

.free-limit-barrier-card {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 16px 36px;
    margin: 8px 0 24px 0;
    text-align: center;
}

.btn-unlock-barrier {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #e2136e 0%, #ff2a85 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(226, 19, 110, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.2px;
}

.btn-unlock-barrier:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(226, 19, 110, 0.5);
    color: #ffffff;
}

.btn-unlock-barrier:active {
    transform: translateY(0);
}

.btn-unlock-barrier i {
    font-size: 0.92rem;
}

/* Hide VIP Active / Subscribe button when VIP */
body.is-vip #headerSubscribeBtn,
body.is-vip .btn-subscribe-header {
    display: none !important;
}

/* --- Direct Message Chat & Popup Styles --- */
.btn-message-header {
    background: linear-gradient(135deg, #e2136e 0%, #ff2a85 100%);
    color: #ffffff !important;
    border: none;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(226, 19, 110, 0.25);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.2;
}

.btn-message-header:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(226, 19, 110, 0.4);
    color: #ffffff !important;
}

.btn-message-header:active {
    transform: translateY(0);
}

.btn-message-header i {
    font-size: 0.85rem;
    color: #ffffff;
    transition: transform 0.2s ease;
}

.btn-message-header:hover i {
    transform: scale(1.1);
}

.floating-chat-bubble-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2136e 0%, #ff4081 100%);
    color: #ffffff;
    border: none;
    display: grid;
    place-items: center;
    font-size: 1.45rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(226, 19, 110, 0.4);
    z-index: 998;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-chat-bubble-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 30px rgba(226, 19, 110, 0.55);
}
.floating-online-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #ffffff;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
}

@media (max-width: 768px) {
    .floating-chat-bubble-btn {
        bottom: 78px;
        right: 16px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

.chat-modal-dialog {
    max-width: 460px;
    width: 100%;
    height: 580px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
}

.chat-modal-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    flex-shrink: 0;
}
.chat-header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}
.chat-avatar-wrapper {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}
.chat-mini-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--pink-soft);
}
.chat-online-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #ffffff;
}
.chat-header-name {
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.chat-header-status {
    font-size: 0.74rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 1px;
}
.chat-live-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
}

.chat-modal-body {
    flex: 1;
    overflow-y: auto;
    background: #fdf2f7;
    display: flex;
    flex-direction: column;
}

.chat-vip-status-ribbon {
    background: linear-gradient(135deg, #fff0f6 0%, #ffe4ee 100%);
    border: 1px solid rgba(226, 19, 110, 0.25);
    border-radius: 12px;
    padding: 8px 12px;
    margin: 10px 14px 4px 14px;
    font-size: 0.78rem;
    color: #831843;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(226, 19, 110, 0.08);
}

.btn-chat-inline-unlock {
    background: linear-gradient(135deg, #e2136e, #d81b60);
    color: #ffffff;
    border: none;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.btn-chat-inline-unlock:hover {
    transform: scale(1.05);
}

/* Locked state */
.chat-locked-state {
    padding: 32px 24px;
    text-align: center;
    margin: auto 0;
}
.chat-lock-crown-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2136e, #ff4081);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    margin: 0 auto 16px auto;
    box-shadow: 0 8px 24px rgba(226, 19, 110, 0.35);
    animation: barrierPulse 2.5s infinite;
}
.chat-locked-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
}
.chat-locked-desc {
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.55;
    margin-bottom: 20px;
}
.chat-locked-perks {
    background: #ffffff;
    border: 1px solid rgba(226, 19, 110, 0.18);
    border-radius: 12px;
    padding: 12px 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
}
.chat-perk-row {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}
.chat-perk-row i {
    color: #10b981;
}
.btn-unlock-chat-flow {
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, #e2136e 0%, #c2185b 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.98rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(226, 19, 110, 0.38);
    transition: var(--transition);
}
.btn-unlock-chat-flow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(226, 19, 110, 0.5);
}
.chat-locked-guarantee {
    margin-top: 12px;
    font-size: 0.74rem;
    color: #6b7280;
}

/* Active chat thread */
.chat-active-thread {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.chat-messages-container {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.chat-welcome-bubble {
    align-self: center;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(226, 19, 110, 0.15);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 90%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.chat-bubble-row {
    display: flex;
    flex-direction: column;
    max-width: 82%;
}
.chat-bubble-row.from-user {
    align-self: flex-end;
    align-items: flex-end;
}
.chat-bubble-row.from-admin {
    align-self: flex-start;
    align-items: flex-start;
}
.chat-bubble-meta {
    font-size: 0.68rem;
    color: #9ca3af;
    margin-bottom: 3px;
    padding: 0 4px;
}
.chat-bubble-text {
    padding: 10px 14px;
    font-size: 0.9rem;
    line-height: 1.45;
    word-break: break-word;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.chat-bubble-row.from-user .chat-bubble-text {
    background: linear-gradient(135deg, #e2136e, #d81b60);
    color: #ffffff;
    border-bottom-right-radius: 3px;
}
.chat-bubble-row.from-admin .chat-bubble-text {
    background: #ffffff;
    color: #1f2937;
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 3px;
}

.chat-modal-footer {
    padding: 12px 14px;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}
.chat-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}
.chat-input-wrapper input {
    flex: 1;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 10px 16px;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s;
}
.chat-input-wrapper input:focus {
    border-color: var(--bkash-pink);
}
.chat-input-wrapper button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2136e, #ff4081);
    color: #ffffff;
    border: none;
    display: grid;
    place-items: center;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}
.chat-input-wrapper button:hover {
    transform: scale(1.05);
}


