/* OnlyFowls — OnlyFans-inspired parody theme */

:root {
	--of-bg: #0f1014;
	--of-surface: #161618;
	--of-card: #1c1c1f;
	--of-border: #2a2a2e;
	--of-text: #e8e8ea;
	--of-muted: #8a8a8f;
	--of-accent: #00aff0;
	--of-accent-dim: #0088cc;
	--of-gradient: linear-gradient(135deg, #00aff0, #0088cc);
}

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

body.onlyfowls-front,
body {
	margin: 0;
	background: var(--of-bg);
	color: var(--of-text);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.5;
}

a {
	color: var(--of-accent);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.of-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(22, 22, 24, 0.95);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--of-border);
}

.of-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.of-brand__text {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 1.25rem;
	color: var(--of-text) !important;
	text-decoration: none;
	letter-spacing: -0.02em;
}

.of-brand__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: var(--of-gradient);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
}

.of-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.of-nav__list a {
	color: var(--of-muted);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: color 0.2s;
}

.of-nav__list a:hover,
.of-nav__login {
	color: var(--of-accent) !important;
}

.of-main {
	min-height: 60vh;
}

.ofowls {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 60px;
}

.of-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
	align-items: center;
	padding: 48px 0 36px;
}

.of-badge {
	display: inline-block;
	background: var(--of-gradient);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 18px;
}

.of-hero h1 {
	font-size: clamp(2.4rem, 6vw, 3.8rem);
	font-weight: 800;
	line-height: 1.05;
	margin: 0 0 14px;
	background: linear-gradient(135deg, #fff 30%, var(--of-accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.of-hero__tagline {
	font-size: 1.2rem;
	color: var(--of-text);
	font-weight: 600;
	margin: 0 0 12px;
}

.of-hero p {
	color: var(--of-muted);
	font-size: 1.05rem;
	line-height: 1.65;
	margin: 0 0 24px;
}

.of-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 32px;
}

.of-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	transition: transform 0.2s, box-shadow 0.2s;
}

.of-btn:hover {
	transform: translateY(-2px);
}

.of-btn--primary {
	background: var(--of-accent);
	color: #fff !important;
	box-shadow: 0 4px 20px rgba(0, 175, 240, 0.35);
}

.of-btn--ghost {
	background: transparent;
	border: 2px solid #3a3a40;
	color: var(--of-text) !important;
}

.of-btn--sm {
	padding: 10px 18px;
	font-size: 13px;
}

.of-btn--full {
	width: 100%;
}

.of-stats {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
	padding-top: 24px;
	border-top: 1px solid var(--of-border);
}

.of-stats strong {
	display: block;
	font-size: 1.7rem;
	color: var(--of-accent);
	font-weight: 800;
}

.of-stats span {
	font-size: 12px;
	color: var(--of-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.of-hero__img {
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--of-border);
	aspect-ratio: 16 / 10;
	background: var(--of-card);
}

.of-hero__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.of-section {
	margin: 56px 0;
}

.of-section__head {
	text-align: center;
	max-width: 560px;
	margin: 0 auto 32px;
}

.of-section__head h2 {
	font-size: clamp(1.6rem, 3vw, 2rem);
	font-weight: 800;
	margin: 0 0 8px;
	color: #fff;
}

.of-section__head p {
	color: var(--of-muted);
	margin: 0;
	font-size: 15px;
}

.of-creators {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
}

.of-creator {
	background: var(--of-card);
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--of-border);
	transition: border-color 0.2s, transform 0.2s;
	display: flex;
	flex-direction: column;
}

.of-creator__link {
	text-decoration: none;
	color: inherit;
	flex: 1;
	display: block;
}

.of-creator:hover {
	border-color: var(--of-accent);
	transform: translateY(-4px);
}

.of-creator__subscribe {
	margin: 0 16px 16px;
	width: calc(100% - 32px);
}

.of-creator__img {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	background: #252528;
}

.of-creator__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.of-creator__live {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #e74c3c;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	padding: 4px 8px;
	border-radius: 4px;
	letter-spacing: 0.08em;
}

.of-creator__body {
	padding: 16px;
}

.of-creator__tier {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--of-accent);
	margin-bottom: 6px;
}

.of-creator h3 {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 4px;
	color: #fff;
}

.of-creator__handle {
	font-size: 13px;
	color: var(--of-muted);
	margin-bottom: 8px;
}

.of-creator__body p {
	font-size: 13px;
	color: #a0a0a8;
	margin: 0 0 12px;
	line-height: 1.45;
}

.of-creator__footer {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: #6a6a70;
	margin-bottom: 12px;
}

.of-creator__price {
	color: var(--of-accent);
	font-weight: 700;
}

.of-vault__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
}

.of-vault__item {
	position: relative;
	margin: 0;
	border-radius: 12px;
	overflow: hidden;
	background: var(--of-card);
	border: 1px solid var(--of-border);
}

.of-vault__item img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.of-vault__item--locked img {
	filter: blur(4px) brightness(0.78);
	transform: scale(1.02);
}

.of-vault__lock {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: rgba(15, 16, 20, 0.45);
	text-align: center;
	padding: 16px;
}

.of-vault__lock-icon {
	font-size: 28px;
}

.of-vault__lock span:nth-child(2) {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.of-vault__item figcaption {
	padding: 10px 12px;
	font-size: 13px;
	color: var(--of-muted);
}

.of-tiers__box {
	text-align: center;
	background: linear-gradient(135deg, #1a2a35, var(--of-surface));
	border: 1px solid var(--of-border);
	border-radius: 20px;
	padding: 40px 24px;
}

.of-tiers__box h2 {
	font-size: 1.6rem;
	font-weight: 800;
	margin: 0 0 10px;
}

.of-tiers__box > p {
	color: var(--of-muted);
	max-width: 480px;
	margin: 0 auto 24px;
}

.of-tiers__list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.of-tiers__list li {
	background: #252528;
	border: 1px solid #3a3a40;
	border-radius: 12px;
	padding: 14px 20px;
	font-size: 14px;
	font-weight: 600;
}

.of-disclaimer {
	margin-top: 20px !important;
	font-size: 13px !important;
	color: #6a6a70 !important;
}

.of-footer {
	background: var(--of-surface);
	border-top: 1px solid var(--of-border);
	padding: 24px 20px;
	margin-top: 40px;
}

.of-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
}

.of-footer__copy {
	margin: 0;
	font-size: 13px;
	color: var(--of-muted);
}

.of-footer__copy a {
	color: var(--of-accent);
	text-decoration: none;
}

/* Members modal */
.of-modal[hidden] {
	display: none !important;
}

.of-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.of-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
}

.of-modal__panel {
	position: relative;
	width: 100%;
	max-width: 400px;
	background: var(--of-card);
	border: 1px solid var(--of-border);
	border-radius: 16px;
	padding: 28px 24px 24px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.of-modal__close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	color: var(--of-muted);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.of-modal__panel h2 {
	margin: 0 0 8px;
	font-size: 1.4rem;
}

.of-modal__panel > p {
	color: var(--of-muted);
	font-size: 14px;
	margin: 0 0 20px;
}

.of-modal__form label {
	display: block;
	margin-bottom: 14px;
}

.of-modal__form label span {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--of-muted);
}

.of-modal__form input {
	width: 100%;
	padding: 12px 14px;
	border-radius: 8px;
	border: 1px solid var(--of-border);
	background: var(--of-bg);
	color: var(--of-text);
	font-size: 15px;
	font-family: inherit;
}

.of-modal__msg {
	margin-top: 16px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--of-accent);
}

.of-modal__msg--error {
	color: #ff6b6b;
}

body.of-modal-open {
	overflow: hidden;
}

/* Creator profile */
.of-profile__crumb {
	font-size: 14px;
	color: var(--of-muted);
	margin: 24px 0 20px;
}

.of-profile__crumb a {
	color: var(--of-accent);
	text-decoration: none;
}

.of-profile__crumb span[aria-hidden] {
	margin: 0 8px;
}

.of-profile__header {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 32px;
	align-items: start;
	margin-bottom: 40px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--of-border);
}

.of-profile__avatar {
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--of-border);
	aspect-ratio: 1;
	background: var(--of-card);
}

.of-profile__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.of-profile__intro h1 {
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	font-weight: 800;
	margin: 8px 0 4px;
	color: #fff;
}

.of-profile__tagline {
	font-size: 1.05rem;
	color: #a0a0a8;
	margin: 12px 0 16px;
	line-height: 1.5;
}

.of-profile__meta {
	display: flex;
	gap: 20px;
	font-size: 14px;
	color: var(--of-muted);
	margin-bottom: 20px;
}

.of-profile__about {
	margin-bottom: 40px;
}

.of-profile__about h2,
.of-profile__previews h2,
.of-profile__locked h2 {
	font-size: 1.4rem;
	font-weight: 800;
	margin: 0 0 8px;
	color: #fff;
}

.of-profile__about p {
	color: #a0a0a8;
	line-height: 1.7;
	max-width: 720px;
	margin: 0 0 24px;
}

.of-section__sub {
	color: var(--of-muted);
	font-size: 14px;
	margin: 0 0 20px;
}

.of-profile__tags {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.of-profile__tags h3 {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--of-accent);
	margin: 0 0 10px;
}

.of-profile__tags ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.of-profile__tags li {
	background: var(--of-card);
	border: 1px solid var(--of-border);
	border-radius: 8px;
	padding: 10px 14px;
	margin-bottom: 8px;
	font-size: 14px;
	color: #c8c8cc;
}

.of-profile__preview-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 48px;
}

.of-profile__preview {
	margin: 0;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--of-border);
	background: var(--of-card);
}

.of-profile__preview img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.of-profile__locked-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 16px;
}

.of-empty {
	text-align: center;
	padding: 60px 20px;
	color: var(--of-muted);
}

@media (max-width: 900px) {
	.of-hero {
		grid-template-columns: 1fr;
	}

	.of-hero__img {
		order: -1;
	}

	.of-profile__header {
		grid-template-columns: 1fr;
		max-width: 320px;
	}

	.of-profile__preview-grid {
		grid-template-columns: 1fr;
	}

	.of-profile__tags {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.of-header__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.of-stats {
		gap: 16px;
	}
}
