/* FansOnly — Premium Profile
   Accent inherits product indigo #6066e2
   Scoped under .profile-premium to avoid global regressions
*/

.profile-premium {
	--pp-accent: #6066e2;
	--pp-accent-2: #8b5cf6;
	--pp-ink: #14131a;
	--pp-muted: #6b7280;
	--pp-line: rgba(20, 19, 26, 0.08);
	--pp-surface: #ffffff;
	--pp-canvas: #f3f2f7;
	--pp-shadow: 0 18px 50px rgba(20, 19, 26, 0.10);
	--pp-shadow-sm: 0 8px 24px rgba(20, 19, 26, 0.08);
	--pp-radius: 22px;
	--pp-ease: cubic-bezier(0.22, 1, 0.36, 1);
	background: var(--pp-canvas);
	padding-bottom: 72px;
	min-height: 70vh;
}

/* Cover */
.profile-premium .pp-cover {
	position: relative;
	height: clamp(220px, 34vw, 380px);
	background-image: url('/images/default-cover.jpg');
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.profile-premium .pp-cover-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(20, 19, 26, 0.05) 0%, rgba(20, 19, 26, 0.45) 100%),
		linear-gradient(90deg, rgba(96, 102, 226, 0.25), transparent 55%);
}

.profile-premium .pp-cover-glow {
	position: absolute;
	width: 42%;
	height: 70%;
	right: -8%;
	bottom: -30%;
	background: radial-gradient(circle, rgba(96, 102, 226, 0.45) 0%, transparent 70%);
	filter: blur(20px);
	pointer-events: none;
	animation: ppGlow 8s ease-in-out infinite alternate;
}

@keyframes ppGlow {
	from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
	to { transform: translate3d(-18px, -12px, 0) scale(1.08); opacity: 1; }
}

/* Identity */
.profile-premium .pp-identity {
	margin-top: -64px;
	position: relative;
	z-index: 3;
}

.profile-premium .pp-identity-card {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 22px 28px;
	align-items: end;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: var(--pp-radius);
	box-shadow: var(--pp-shadow);
	padding: 22px 26px 24px;
	animation: ppRise 0.7s var(--pp-ease) both;
}

@keyframes ppRise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: translateY(0); }
}

.profile-premium .pp-avatar-wrap {
	position: relative;
	margin-top: -78px;
}

.profile-premium .pp-avatar {
	display: block;
	width: 128px;
	height: 128px;
	border-radius: 50%;
	padding: 4px;
	background: linear-gradient(135deg, #fff, #ecebff);
	box-shadow: 0 12px 30px rgba(96, 102, 226, 0.28);
	transition: transform 0.35s var(--pp-ease);
}

.profile-premium .pp-avatar:hover {
	transform: translateY(-3px) scale(1.02);
}

.profile-premium .pp-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	border: 3px solid #fff;
	display: block;
}

.profile-premium .pp-status-dot {
	position: absolute;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 3px solid #fff;
	right: 10px;
	bottom: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.profile-premium .is-online .pp-status-dot { background: #22c55e; }
.profile-premium .is-offline .pp-status-dot { background: #94a3b8; }

.profile-premium .pp-name {
	font-family: 'Graphik-Semibold', 'Segoe UI', sans-serif;
	font-size: clamp(1.45rem, 2.2vw, 1.9rem);
	line-height: 1.15;
	margin: 0 0 4px;
	color: var(--pp-ink);
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.profile-premium .pp-name a {
	color: inherit;
	text-decoration: none;
}

.profile-premium .pp-verified {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--pp-accent), var(--pp-accent-2));
	color: #fff;
	font-size: 11px;
	box-shadow: 0 4px 12px rgba(96, 102, 226, 0.35);
}

.profile-premium .pp-handle {
	color: var(--pp-muted);
	font-size: 0.98rem;
	text-decoration: none;
}

.profile-premium .pp-handle:hover {
	color: var(--pp-accent);
}

.profile-premium .pp-metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.profile-premium .pp-metrics > li {
	background: #f7f6fb;
	border: 1px solid var(--pp-line);
	border-radius: 999px;
	padding: 8px 14px;
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
}

.profile-premium .pp-metric-value {
	font-family: 'Graphik-Semibold', sans-serif;
	color: var(--pp-ink);
	font-size: 0.98rem;
}

.profile-premium .pp-metric-label {
	color: var(--pp-muted);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.profile-premium .pp-metric-media {
	gap: 12px !important;
	color: var(--pp-muted);
	font-size: 0.85rem;
}

.profile-premium .pp-metric-media i {
	color: var(--pp-accent);
	margin-right: 4px;
}

/* Actions / buttons */
.profile-premium .pp-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: stretch;
	min-width: 250px;
}

.profile-premium .pp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border-radius: 999px;
	padding: 12px 18px;
	font-family: 'Graphik-Semibold', sans-serif;
	font-size: 0.92rem;
	line-height: 1.2;
	text-decoration: none !important;
	border: 0;
	cursor: pointer;
	transition: transform 0.25s var(--pp-ease), box-shadow 0.25s var(--pp-ease), background 0.25s ease;
	white-space: nowrap;
}

.profile-premium .pp-btn-primary {
	color: #fff !important;
	background: linear-gradient(120deg, #4f56d9 0%, #6066e2 45%, #7c5ce8 100%);
	background-size: 160% 100%;
	box-shadow: 0 10px 28px rgba(96, 102, 226, 0.38);
}

.profile-premium .pp-btn-primary:hover,
.profile-premium .pp-btn-primary:focus {
	color: #fff !important;
	transform: translateY(-2px);
	background-position: 100% 0;
	box-shadow: 0 14px 34px rgba(96, 102, 226, 0.48);
}

.profile-premium .pp-btn-ghost {
	color: var(--pp-ink) !important;
	background: #fff;
	border: 1px solid var(--pp-line);
	box-shadow: var(--pp-shadow-sm);
}

.profile-premium .pp-btn-ghost:hover {
	transform: translateY(-2px);
	border-color: rgba(96, 102, 226, 0.35);
	color: var(--pp-accent) !important;
}

.profile-premium .pp-btn-message {
	color: #fff !important;
	background: var(--pp-ink);
	box-shadow: var(--pp-shadow-sm);
}

.profile-premium .pp-btn-message:hover,
.profile-premium .pp-btn-message:focus {
	color: #fff !important;
	transform: translateY(-2px);
	background: #2a2833;
	box-shadow: 0 12px 28px rgba(20, 19, 26, 0.22);
}

.profile-premium .pp-dropdown .dropdown-toggle::after {
	margin-left: 8px;
}

.profile-premium .pp-dropdown-menu {
	border: 0;
	border-radius: 16px;
	box-shadow: var(--pp-shadow);
	padding: 8px;
	margin-top: 8px !important;
	min-width: 100%;
}

.profile-premium .pp-dropdown-menu .dropdown-item {
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 0.92rem;
}

.profile-premium .pp-dropdown-menu .dropdown-item:hover {
	background: #f0efff;
	color: var(--pp-accent);
}

/* Follow button (Livewire) restyle inside profile */
.profile-premium .pp-follow-slot .btn {
	width: 100%;
	border-radius: 999px !important;
	padding: 11px 16px !important;
	line-height: 1.2 !important;
	height: auto !important;
	font-size: 0.9rem !important;
	background: var(--pp-ink) !important;
	border-color: var(--pp-ink) !important;
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(20, 19, 26, 0.18);
	transition: transform 0.25s var(--pp-ease), box-shadow 0.25s var(--pp-ease);
}

.profile-premium .pp-follow-slot .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(20, 19, 26, 0.24);
}

/* Body / feed */
.profile-premium .pp-body {
	padding-top: 28px;
}

.profile-premium .pp-sidebar-sticky {
	position: sticky;
	top: 88px;
}

.profile-premium .pp-side-card {
	background: var(--pp-surface);
	border-radius: var(--pp-radius);
	border: 1px solid var(--pp-line);
	box-shadow: var(--pp-shadow-sm);
	padding: 22px 22px 20px;
	animation: ppRise 0.8s var(--pp-ease) 0.08s both;
}

.profile-premium .pp-side-label {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pp-muted);
	margin: 0 0 8px;
	font-family: 'Graphik-Semibold', sans-serif;
}

.profile-premium .pp-side-bio {
	color: var(--pp-ink);
	font-size: 0.98rem;
	line-height: 1.55;
	margin-bottom: 18px;
}

.profile-premium .pp-side-divider {
	height: 1px;
	background: var(--pp-line);
	margin: 4px 0 16px;
}

.profile-premium .pp-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 999px;
	background: #f0efff;
	color: var(--pp-accent);
	text-decoration: none !important;
	font-size: 0.9rem;
	font-family: 'Graphik-Semibold', sans-serif;
	transition: transform 0.25s var(--pp-ease), box-shadow 0.25s var(--pp-ease);
}

.profile-premium .pp-chip:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(96, 102, 226, 0.18);
	color: var(--pp-accent);
}

.profile-premium .pp-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 4px;
}

.profile-premium .pp-social {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f7f6fb;
	color: var(--pp-ink) !important;
	text-decoration: none !important;
	border: 1px solid var(--pp-line);
	transition: transform 0.25s var(--pp-ease), background 0.25s ease, color 0.25s ease;
}

.profile-premium .pp-social:hover {
	transform: translateY(-2px);
	background: var(--pp-accent);
	color: #fff !important;
	border-color: var(--pp-accent);
}

/* Feed cards polish */
.profile-premium .pp-feed > .card,
.profile-premium .pp-feed .card {
	border: 1px solid var(--pp-line) !important;
	border-radius: 20px !important;
	box-shadow: var(--pp-shadow-sm) !important;
	overflow: hidden;
	transition: transform 0.3s var(--pp-ease), box-shadow 0.3s var(--pp-ease);
}

.profile-premium .pp-feed > .card:hover,
.profile-premium .pp-feed .card:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 40px rgba(20, 19, 26, 0.10) !important;
}

.profile-premium .pp-feed .border-pinned {
	border-color: rgba(96, 102, 226, 0.35) !important;
	box-shadow: 0 12px 32px rgba(96, 102, 226, 0.12) !important;
}

.profile-premium .pp-feed .locked-post {
	margin: 8px 16px 16px;
	padding: 56px 24px !important;
	border-radius: 16px;
	background:
		radial-gradient(120% 80% at 50% 0%, rgba(96, 102, 226, 0.12), transparent 55%),
		linear-gradient(180deg, #f7f6fb 0%, #efedf6 100%);
	border: 1px solid rgba(96, 102, 226, 0.12);
	color: var(--pp-muted) !important;
	position: relative;
	overflow: hidden;
}

.profile-premium .pp-feed .locked-post::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(135deg, rgba(255,255,255,0.55) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0.55) 75%, transparent 75%, transparent);
	background-size: 18px 18px;
	opacity: 0.35;
	pointer-events: none;
}

.profile-premium .pp-feed .locked-post .display-2 {
	font-size: 2.6rem;
	color: rgba(96, 102, 226, 0.55);
	margin-bottom: 0.35rem;
	position: relative;
}

.profile-premium .pp-feed .locked-post .fa-lock {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-right: 6px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--pp-accent), var(--pp-accent-2));
	color: #fff;
	font-size: 0.75rem;
	vertical-align: middle;
	position: relative;
}

.profile-premium .pp-feed .btn,
.profile-premium .pp-feed .tipBtn,
.profile-premium .pp-feed a.btn {
	border-radius: 999px !important;
	font-weight: 600;
	letter-spacing: 0.01em;
	transition: transform 0.25s var(--pp-ease), box-shadow 0.25s var(--pp-ease);
}

.profile-premium .pp-feed .btn:hover,
.profile-premium .pp-feed .tipBtn:hover {
	transform: translateY(-1px);
}

.profile-premium .pp-composer .card {
	border-radius: 20px !important;
	border: 1px solid var(--pp-line) !important;
	box-shadow: var(--pp-shadow-sm) !important;
}

.profile-premium .pp-loading {
	padding: 24px;
	color: var(--pp-muted);
}

.profile-premium .pp-spinner {
	width: 28px;
	height: 28px;
	margin: 0 auto 10px;
	border-radius: 50%;
	border: 3px solid rgba(96, 102, 226, 0.2);
	border-top-color: var(--pp-accent);
	animation: ppSpin 0.8s linear infinite;
}

@keyframes ppSpin {
	to { transform: rotate(360deg); }
}

.profile-premium .pp-end-feed {
	background: #fff;
	border-radius: 18px;
	border: 1px dashed var(--pp-line);
	padding: 22px;
	color: var(--pp-muted);
}

/* Hide legacy profile chrome leftovers if any nested */
.profile-premium .white-smoke-bg-profile-page,
.profile-premium .coverPic {
	display: contents;
}

/* Responsive */
@media (max-width: 991px) {
	.profile-premium .pp-identity-card {
		grid-template-columns: auto 1fr;
	}
	.profile-premium .pp-actions {
		grid-column: 1 / -1;
		flex-direction: row;
		flex-wrap: wrap;
		min-width: 0;
	}
	.profile-premium .pp-actions > *,
	.profile-premium .pp-follow-slot {
		flex: 1 1 220px;
	}
}

@media (max-width: 575px) {
	.profile-premium .pp-identity {
		margin-top: -48px;
	}
	.profile-premium .pp-identity-card {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		padding: 18px 16px 20px;
	}
	.profile-premium .pp-avatar-wrap {
		margin-top: -70px;
	}
	.profile-premium .pp-avatar {
		width: 110px;
		height: 110px;
	}
	.profile-premium .pp-name-row {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.profile-premium .pp-metrics {
		justify-content: center;
	}
	.profile-premium .pp-actions {
		width: 100%;
	}
}
