/* ==========================================================================
   Legal Nymphs — VIP Creator Social Network & Fan Feed (OnlyFans / Fansly UI)
   100% Unique Architecture • Zero Tables • Authentic Social App Experience
   Pure Vanilla CSS • Zero External Dependencies • Instant TTFB
   ========================================================================== */

:root {
  --app-bg: #0b0d13;
  --feed-bg: #11141d;
  --card-bg: #161a26;
  --card-hover: #1c2232;
  --sidebar-bg: #0e1119;
  
  --accent-cyan: #00aff0;
  --accent-cyan-hover: #0098d4;
  --accent-cyan-glow: rgba(0, 175, 240, 0.35);

  --accent-pink: #ff2a6d;
  --accent-purple: #8b5cf6;
  --accent-gold: #f59e0b;
  --accent-emerald: #10b981;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-active: rgba(0, 175, 240, 0.5);

  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8291a5;
  --text-dim: #526075;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-post: 0 8px 30px rgba(0, 0, 0, 0.45);
  --shadow-cyan: 0 6px 20px rgba(0, 175, 240, 0.3);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--app-bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

/* ==========================================================================
   THREE-COLUMN APP LAYOUT (Left Nav • Center Feed • Right Sidebar)
   ========================================================================== */
.social-app-layout {
  max-width: 1420px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr 340px;
  min-height: 100vh;
  position: relative;
}

/* ==========================================================================
   LEFT NAVIGATION SIDEBAR (Fixed Desktop Menu)
   ========================================================================== */
.app-left-sidebar {
  padding: 24px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--border-subtle);
  background: var(--sidebar-bg);
}

.brand-social-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding-left: 8px;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-cyan), #0077b6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: var(--shadow-cyan);
}

.logo-text-wrap h1 {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.logo-text-wrap h1 span {
  color: var(--accent-cyan);
}

.logo-text-wrap p {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navigation items */
.nav-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-link-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.nav-link-item.active {
  background: rgba(0, 175, 240, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 175, 240, 0.3);
}

.nav-icon {
  font-size: 20px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-badge {
  margin-left: auto;
  background: var(--accent-pink);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* Post creator button */
.btn-new-post {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-cyan), #0077b6);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: var(--shadow-cyan);
  transition: var(--transition);
}

.btn-new-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 175, 240, 0.45);
}

/* User mini profile in sidebar */
.sidebar-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.user-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
}

.user-meta-info {
  min-width: 0;
  flex: 1;
}

.user-meta-info .name {
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-meta-info .status {
  font-size: 11px;
  color: var(--accent-emerald);
  font-weight: 600;
}

/* ==========================================================================
   CENTER MAIN FEED
   ========================================================================== */
.app-center-feed {
  padding: 24px 20px 60px;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

/* Top App Feed Header */
.feed-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  background: rgba(17, 20, 29, 0.85);
  backdrop-filter: blur(12px);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  position: sticky;
  top: 12px;
  z-index: 100;
}

.feed-title {
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  font-size: 10.5px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.feed-tabs-switch {
  display: flex;
  gap: 6px;
}

.feed-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.feed-tab-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ==========================================================================
   LIVE NYMPH STORIES TRAY (Horizontal Carousel)
   ========================================================================== */
.stories-tray-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-post);
}

.stories-tray-header {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.stories-scroll-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-card) transparent;
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  width: 72px;
  text-align: center;
}

.story-ring-wrap {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: var(--radius-full);
  padding: 2.5px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.35);
  transition: var(--transition);
}

.story-item:hover .story-ring-wrap {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 175, 240, 0.5);
  background: linear-gradient(45deg, var(--accent-cyan), var(--accent-purple));
}

.story-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background: #1e2230;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  border: 2px solid var(--app-bg);
}

.story-badge-live {
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  background: #e11d48;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--app-bg);
  letter-spacing: 0.3px;
}

.story-model-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* ==========================================================================
   CREATOR POST CARDS (Social Feed Stream)
   ========================================================================== */
.feed-posts-stream {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.creator-post-card {
  background: var(--card-bg);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-post);
  transition: var(--transition);
}

.creator-post-card:hover {
  border-color: rgba(0, 175, 240, 0.4);
}

/* Post Header */
.post-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.post-creator-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.creator-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.creator-names-meta h2 {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.2;
}

.verified-badge-svg {
  color: var(--accent-cyan);
  font-size: 14px;
}

.creator-names-meta p {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.post-tag-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 175, 240, 0.15);
  border: 1px solid rgba(0, 175, 240, 0.3);
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Post Caption */
.post-caption-text {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.post-caption-text strong {
  color: #fff;
}

/* Media Teaser Box */
.post-media-teaser {
  position: relative;
  background: linear-gradient(135deg, #131722 0%, #1f2536 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  overflow: hidden;
  margin-bottom: 16px;
}

.post-media-teaser::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(0, 175, 240, 0.15), transparent 70%);
  pointer-events: none;
}

.lock-vault-icon {
  font-size: 38px;
  margin-bottom: 10px;
  display: inline-block;
  animation: floatLock 3s infinite ease-in-out;
}

@keyframes floatLock {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.teaser-headline {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.teaser-subtext {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.btn-unlock-media {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-cyan), #0077b6);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-cyan);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-unlock-media:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 175, 240, 0.5);
  background: linear-gradient(135deg, #00c3ff, var(--accent-cyan));
}

/* Post Footer & Social Metrics */
.post-social-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}

.metrics-left-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.metric-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.metric-btn:hover {
  color: var(--accent-pink);
}

.metric-btn.liked {
  color: var(--accent-pink);
  font-weight: 700;
}

.post-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  background: rgba(0, 175, 240, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 175, 240, 0.25);
}

.post-direct-link:hover {
  background: var(--accent-cyan);
  color: #000;
}

/* ==========================================================================
   RIGHT SIDEBAR (Trends, Top Creators, Keywords)
   ========================================================================== */
.app-right-sidebar {
  padding: 24px 20px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  border-left: 1px solid var(--border-subtle);
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sidebar-card-box {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.sidebar-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Creator List in Sidebar */
.top-creators-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.creator-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.creator-mini-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.creator-mini-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-gold), #ea580c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}

.creator-mini-text h4 {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

.creator-mini-text p {
  font-size: 11px;
  color: var(--text-muted);
}

.btn-mini-view {
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: var(--transition);
}

.btn-mini-view:hover {
  background: var(--accent-cyan);
  color: #000;
}

/* Hashtags Grid */
.hashtags-stream-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hashtag-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.hashtag-tag-pill:hover {
  background: rgba(0, 175, 240, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-1px);
}

/* Webmaster Partner Card */
.partner-ad-card {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  color: #fff;
}

.partner-ad-card h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 6px;
}

.partner-ad-card p {
  font-size: 11.5px;
  color: #c7d2fe;
  margin-bottom: 12px;
}

.btn-partner-signup {
  display: inline-block;
  background: var(--accent-gold);
  color: #000;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-partner-signup:hover {
  background: #fbbf24;
}

/* Discreet Compliance Footer */
.social-footer-compact {
  font-size: 10.5px;
  color: var(--text-dim);
  line-height: 1.5;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.social-footer-compact a {
  color: var(--text-muted);
}

.social-footer-compact a:hover {
  color: var(--accent-cyan);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 1180px) {
  .social-app-layout {
    grid-template-columns: 80px 1fr 300px;
  }
  .logo-text-wrap, .nav-link-item span:not(.nav-icon), .btn-new-post span, .user-meta-info {
    display: none;
  }
  .app-left-sidebar {
    padding: 20px 10px;
    align-items: center;
  }
  .btn-new-post {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-full);
  }
}

@media (max-width: 860px) {
  .social-app-layout {
    grid-template-columns: 1fr;
  }
  .app-left-sidebar, .app-right-sidebar {
    display: none;
  }
  .app-center-feed {
    padding: 12px 10px 60px;
  }
}
