/* =============================================
   LESBIAN DATING COMMUNITY — VANILLA CSS
   Semantic class names, shallow DOM (3-4 levels)
   ============================================= */

:root {
  --pride-red: #E40303;
  --pride-orange: #FF8C00;
  --pride-yellow: #FFED00;
  --pride-green: #008026;
  --pride-blue: #004DFF;
  --pride-violet: #750787;
  --primary: #9B59B6;
  --primary-dark: #6C3483;
  --primary-light: #D2B4DE;
  --accent: #E91E8C;
  --accent-light: #F8BBD9;
  --text-dark: #1A1A2E;
  --text-mid: #4A4A6A;
  --text-light: #7A7A9A;
  --bg-main: #FDFBFF;
  --bg-section: #F7F0FF;
  --bg-card: #FFFFFF;
  --border-soft: #E8D5F5;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 2px 12px rgba(155,89,182,0.10);
  --shadow-hover: 0 6px 24px rgba(155,89,182,0.20);
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1140px;
  --pride-gradient: linear-gradient(135deg, #E40303 0%, #FF8C00 20%, #FFED00 40%, #008026 60%, #004DFF 80%, #750787 100%);
  --purple-gradient: linear-gradient(135deg, #9B59B6 0%, #E91E8C 100%);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.65;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

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

/* ============ PRIDE HEADER ============ */

.pride-header {
  background: var(--text-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid transparent;
  border-image: var(--pride-gradient) 1;
}

.pride-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.site-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--pride-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.site-logo:hover { text-decoration: none; opacity: 0.85; }

.pride-nav {
  display: flex;
  gap: 0.1rem;
  align-items: center;
}

.pride-nav a {
  color: #C8B8E0;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
}

.pride-nav a:hover {
  background: rgba(155,89,182,0.25);
  color: #fff;
  text-decoration: none;
}

/* ============ RAINBOW BANNER ============ */

.rainbow-banner {
  height: 5px;
  background: var(--pride-gradient);
}

/* ============ HERO SECTION ============ */

.hero-section {
  background: linear-gradient(160deg, #1A0A2E 0%, #2D0A4E 50%, #1A0A2E 100%);
  padding: 5rem 1.25rem 4rem;
  text-align: center;
}

.hero-section h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero-section h1 span {
  background: var(--pride-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #C8B8E0;
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ BUTTONS ============ */

.btn-pride {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  background: var(--purple-gradient);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  text-decoration: none;
}

.btn-pride:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233,30,140,0.35);
  color: #fff;
  text-decoration: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  background: transparent;
  color: #C8B8E0;
  border: 2px solid rgba(155,89,182,0.5);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: #fff;
  background: rgba(155,89,182,0.15);
  text-decoration: none;
}

/* ============ PAGE CONTAINER ============ */

.page-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ============ SECTION STYLES ============ */

.content-section {
  padding: 4rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-alt {
  background: var(--bg-section);
}

.section-alt .content-section {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.section-alt .content-section > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section-heading {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.section-subheading {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* ============ CREATOR GRID ============ */

.creator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.creator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: var(--shadow-card);
}

.creator-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.creator-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--purple-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 0.75rem;
  letter-spacing: -1px;
}

.creator-username {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  word-break: break-word;
}

.creator-badge {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  background: var(--accent-light);
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.creator-badge.free {
  background: #d4edda;
  color: #155724;
}

.creator-price {
  font-size: 0.825rem;
  color: var(--text-light);
}

.creator-card-link {
  margin-top: 0.75rem;
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

/* ============ ARTICLE GRID ============ */

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s, box-shadow 0.18s;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.article-card-banner {
  height: 6px;
  background: var(--pride-gradient);
}

.article-card-body {
  padding: 1.5rem;
}

.article-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}

.article-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.article-card-body p {
  font-size: 0.875rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.article-read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

/* ============ NICHE CARD ============ */

.niche-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.niche-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s, box-shadow 0.18s;
}

.niche-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.niche-card-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  display: block;
}

.niche-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.niche-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.niche-card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

/* ============ PROFILE PAGE ============ */

.profile-hero {
  background: linear-gradient(135deg, #1A0A2E 0%, #3D0070 100%);
  padding: 3rem 1.25rem;
  text-align: center;
}

.profile-avatar-lg {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--purple-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 1.25rem;
  border: 3px solid rgba(255,255,255,0.3);
}

.profile-name {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.profile-meta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.profile-meta-tag {
  font-size: 0.825rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  background: rgba(255,255,255,0.12);
  color: #C8B8E0;
  font-weight: 600;
}

.profile-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.profile-bio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
}

.profile-bio-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.profile-bio-card p {
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.profile-visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  background: var(--purple-gradient);
  color: #fff;
  margin-top: 1rem;
  transition: transform 0.18s, box-shadow 0.18s;
}

.profile-visit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233,30,140,0.35);
  color: #fff;
  text-decoration: none;
}

.profile-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.profile-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.profile-stat-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
}

.profile-stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}

/* ============ PROSE CONTENT ============ */

.prose-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.prose-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.prose-content h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--text-dark);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--border-soft);
}

.prose-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 1.75rem 0 0.75rem;
}

.prose-content p {
  color: var(--text-mid);
  margin-bottom: 1.25rem;
  font-size: 1.025rem;
  line-height: 1.75;
}

.prose-content ul, .prose-content ol {
  color: var(--text-mid);
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose-content li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.prose-content strong { color: var(--text-dark); font-weight: 700; }

.prose-content a { color: var(--primary); font-weight: 600; }
.prose-content a:hover { color: var(--accent); }

.prose-intro {
  font-size: 1.15rem;
  color: var(--text-mid);
  border-left: 4px solid var(--primary-light);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ============ PAGE HERO BANNER ============ */

.page-hero {
  background: linear-gradient(135deg, #1A0A2E 0%, #3D0070 100%);
  padding: 3.5rem 1.25rem 3rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.page-hero p {
  font-size: 1.1rem;
  color: #C8B8E0;
  max-width: 580px;
  margin: 0 auto;
}

/* ============ BREADCRUMB ============ */

.breadcrumb {
  background: var(--bg-section);
  padding: 0.625rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-soft);
}

.breadcrumb-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb span { color: var(--text-light); }

/* ============ PAGINATION ============ */

.pagination-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 1.25rem;
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--text-mid);
  transition: background 0.15s, color 0.15s;
}

.pagination-btn:hover, .pagination-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  text-decoration: none;
}

/* ============ STATS BAR ============ */

.stats-bar {
  background: var(--bg-section);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.stats-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat-item-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
}

.stat-item-label {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}

/* ============ PRIDE FOOTER ============ */

.pride-footer {
  background: var(--text-dark);
  color: #9989BB;
  padding: 3rem 1.25rem 1.5rem;
  border-top: 3px solid transparent;
  border-image: var(--pride-gradient) 1;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: #9989BB;
  padding: 0.25rem 0;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--primary-light); text-decoration: none; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(155,89,182,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #6655AA;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: #5544AA;
  max-width: var(--max-width);
  margin: 1rem auto 0;
  line-height: 1.55;
}

/* ============ ALERT / CALLOUT ============ */

.callout-box {
  background: var(--bg-section);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.callout-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-mid);
}

/* ============ TOP LIST ============ */

.ranked-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ranked-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s;
}

.ranked-item:hover {
  transform: translateX(4px);
}

.ranked-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-light);
  min-width: 2rem;
  text-align: center;
  line-height: 1;
}

.ranked-item-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--purple-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.ranked-item-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.ranked-item-info p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.55;
}

.ranked-item-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.4rem;
  display: inline-block;
}

/* ============ SEARCH BOX ============ */

.search-section {
  background: var(--bg-section);
  padding: 2.5rem 1.25rem;
}

.search-box-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.search-input-row {
  display: flex;
  gap: 0;
  border-radius: 50px;
  overflow: hidden;
  border: 2px solid var(--primary);
  background: var(--bg-card);
}

.search-input {
  flex: 1;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-dark);
}

.search-btn {
  padding: 0.875rem 1.75rem;
  background: var(--purple-gradient);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.search-btn:hover { opacity: 0.88; }

/* ============ MOBILE HAMBURGER ============ */

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  border-radius: var(--radius-sm);
}

.mobile-menu-btn:hover {
  background: rgba(155,89,182,0.2);
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #C8B8E0;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.mobile-menu-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }

  .pride-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--text-dark);
    border-top: 1px solid rgba(155,89,182,0.3);
    border-bottom: 3px solid transparent;
    border-image: var(--pride-gradient) 1;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    z-index: 99;
  }

  .pride-nav.is-open {
    display: flex;
  }

  .pride-nav a {
    padding: 0.75rem 1.25rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(155,89,182,0.12);
  }

  .pride-nav a:last-child {
    border-bottom: none;
  }
  .hero-section { padding: 3.5rem 1rem 3rem; }
  .article-grid { grid-template-columns: 1fr; }
  .creator-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-stats-row { grid-template-columns: 1fr; }
  .ranked-item { flex-direction: column; gap: 0.75rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .creator-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta-row { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
}
