/* OnlyAIFans public landing — OnlyFans-style splash + auth + recent posts */

:root {
  --lp-blue: #00aff0;
  --lp-blue-hover: #0095d9;
  --lp-bg: #0a0a0a;
  --lp-surface: #141414;
  --lp-card: #1a1a1a;
  --lp-text: #f5f5f5;
  --lp-muted: #9a9a9a;
  --lp-border: #2a2a2a;
  --lp-font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

.lp-body {
  min-height: 100dvh;
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: var(--lp-font);
  -webkit-font-smoothing: antialiased;
}

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

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

/* ——— Splash ——— */
.lp-splash {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #000;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.lp-splash.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lp-splash__mark {
  animation: lp-pop 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lp-splash__brand {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  animation: lp-fade-up 0.6s 0.15s ease both;
}

.lp-splash__brand span {
  color: var(--lp-blue);
}

.lp-splash__spinner {
  width: 28px;
  height: 28px;
  margin-top: 0.5rem;
  border: 2.5px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--lp-blue);
  border-radius: 50%;
  animation: lp-spin 0.75s linear infinite, lp-fade-up 0.5s 0.25s ease both;
}

@keyframes lp-spin {
  to { transform: rotate(360deg); }
}

@keyframes lp-pop {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes lp-fade-up {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ——— Shell ——— */
.lp-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  animation: lp-fade-up 0.45s ease both;
}

.lp-top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lp-border);
}

.lp-logo {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.lp-logo span {
  color: var(--lp-blue);
}

.lp-top__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lp-link {
  color: var(--lp-text);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.45rem 0.7rem;
}

.lp-link:hover {
  color: var(--lp-blue);
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.lp-btn--primary {
  background: var(--lp-blue);
  color: #fff;
}

.lp-btn--primary:hover {
  background: var(--lp-blue-hover);
}

.lp-btn--ghost {
  background: transparent;
  border-color: var(--lp-border);
  color: var(--lp-text);
}

.lp-btn--ghost:hover {
  border-color: var(--lp-blue);
  color: var(--lp-blue);
}

.lp-btn--lg {
  min-width: 160px;
  padding: 0.85rem 1.4rem;
  font-size: 1rem;
}

.lp-main {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 2.5rem;
}

/* ——— Hero ——— */
.lp-hero {
  text-align: center;
  padding: clamp(2.5rem, 8vh, 5rem) 0.5rem 2.5rem;
}

.lp-hero h1 {
  margin: 0 auto 0.85rem;
  max-width: 22ch;
  font-size: clamp(1.75rem, 5vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.lp-hero__sub {
  margin: 0 auto 0.85rem;
  max-width: 36rem;
  color: var(--lp-muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.lp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.lp-hero__fine {
  margin: 0;
  font-size: 0.88rem;
  color: var(--lp-muted);
}

.lp-hero__fine a {
  color: var(--lp-blue);
  font-weight: 600;
}

.lp-hero__fine a:hover {
  text-decoration: underline;
}

/* ——— Recent posts ——— */
.lp-feed {
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--lp-border);
}

.lp-feed__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.lp-feed__head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.lp-feed__head a {
  color: var(--lp-blue);
  font-size: 0.88rem;
  font-weight: 600;
}

.lp-rail-wrap {
  position: relative;
  padding-left: 2.75rem;
  padding-right: 2.75rem;
  margin-left: -0.35rem;
  margin-right: -0.35rem;
}

.lp-feed__scroll-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #111;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

.lp-feed__scroll-btn:hover:not(:disabled) {
  background: #1c1c1c;
  border-color: rgba(255, 255, 255, 0.3);
}

.lp-feed__scroll-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.lp-feed__scroll-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.lp-feed__scroll-btn--side {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 3;
}

.lp-feed__scroll-btn--prev {
  left: 0;
}

.lp-feed__scroll-btn--next {
  right: 0;
}

.lp-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 260px);
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.85rem;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.25rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #444 transparent;
  cursor: grab;
}

.lp-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.lp-rail::-webkit-scrollbar {
  height: 8px;
}

.lp-rail::-webkit-scrollbar-track {
  background: transparent;
}

.lp-rail::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border-radius: 999px;
}

.lp-rail::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.lp-card {
  position: relative;
  scroll-snap-align: start;
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.lp-card:hover {
  border-color: #3a3a3a;
  transform: translateY(-2px);
}

.lp-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  background: #111;
  overflow: hidden;
}

.lp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-card__media img.is-blurred {
  filter: blur(18px) brightness(0.55);
  transform: scale(1.12);
}

.lp-card__ph {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 175, 240, 0.25), transparent 45%),
    linear-gradient(160deg, #1c1c1c, #0d0d0d 60%, #151515);
}

.lp-card__kind {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 4;
  padding: 0.22rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.lp-card__free {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 4;
  padding: 0.22rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #052e16;
  background: #86efac;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.lp-card__nsfw {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 1.55rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(239, 68, 68, 0.35);
  pointer-events: none;
}

.lp-card__lock {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.35);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.lp-card__kind--video {
  background: rgba(0, 175, 240, 0.88);
  border-color: rgba(0, 175, 240, 0.4);
  color: #041018;
}

.lp-card__kind--pic {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.35);
  color: #111;
}

.lp-card__kind--both {
  background: rgba(168, 85, 247, 0.88);
  border-color: rgba(168, 85, 247, 0.4);
  color: #fff;
}

.lp-card__meta {
  padding: 0.75rem 0.85rem 0.95rem;
}

.lp-card__creator {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.lp-card__creator img,
.lp-card__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.lp-card__avatar {
  display: grid;
  place-items: center;
  background: var(--lp-blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.lp-card__creator strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.2;
}

.lp-card__creator small {
  display: block;
  color: var(--lp-muted);
  font-size: 0.75rem;
}

.lp-card__body {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.lp-feed__empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--lp-muted);
  background: var(--lp-surface);
  border: 1px dashed var(--lp-border);
  border-radius: 12px;
}

.lp-feed__empty p {
  margin: 0 0 1rem;
}

.lp-seo {
  margin: 2.25rem auto 0.5rem;
  padding: 1.75rem 0.5rem 0;
  border-top: 1px solid var(--lp-border);
  max-width: 36rem;
  text-align: center;
}

.lp-seo h2 {
  margin: 0 auto 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.lp-seo h2 + h2,
.lp-seo p + h2 {
  margin-top: 1.5rem;
}

.lp-seo p {
  margin: 0 auto 0.85rem;
  max-width: 36rem;
  color: var(--lp-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.lp-seo a {
  color: var(--lp-blue);
  font-weight: 600;
}

.lp-seo a:hover {
  text-decoration: underline;
}

.lp-faq {
  margin: 0 auto;
  max-width: 32rem;
}

.lp-faq dt {
  margin: 0.95rem 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.lp-faq dd {
  margin: 0 auto;
  color: var(--lp-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.lp-foot {
  padding: 1.25rem 1rem 1.75rem;
  text-align: center;
  color: var(--lp-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--lp-border);
}

.lp-foot p {
  margin: 0;
}

.lp-foot__nav {
  margin: 0 0 0.65rem !important;
  font-size: 0.88rem;
  line-height: 1.7;
}

.lp-foot a {
  color: var(--lp-muted);
}

.lp-foot__nav a {
  color: var(--lp-blue);
  font-weight: 600;
}

.lp-foot a:hover {
  color: var(--lp-blue);
  text-decoration: underline;
}

@media (min-width: 900px) {
  .lp-top {
    padding: 1rem 1.75rem;
  }

  .lp-main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .lp-rail {
    grid-auto-columns: minmax(240px, 280px);
  }

  .lp-rail-wrap {
    padding-left: 3.25rem;
    padding-right: 3.25rem;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-splash,
  .lp-splash__mark,
  .lp-splash__brand,
  .lp-splash__spinner,
  .lp-shell,
  .lp-card {
    animation: none !important;
    transition: none !important;
  }
}

