/* === PFPduo.com - Matching Profile Pictures === */
:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #a78bfa;
  --accent: #f472b6;
  --accent-light: #fbcfe8;
  --bg: #0f0a1a;
  --bg-card: #1a1030;
  --bg-card-hover: #241840;
  --text: #f5f3ff;
  --text-muted: #a5a0b8;
  --text-dim: #6b6480;
  --border: #2a1f45;
  --border-light: #3a2f55;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(124, 58, 237, 0.15);
  --max-width: 1200px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

/* === Header === */
.site-header {
  background: rgba(15, 10, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 20px;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.logo span { 
  background: linear-gradient(135deg, var(--accent), #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav { display: flex; gap: 8px; }

.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
  background: var(--bg-card);
  color: var(--text);
}

/* === Hero === */
.hero {
  text-align: center;
  padding: 80px 20px 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.2), transparent 70%);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(124, 58, 237, 0.5);
  color: #fff;
}

.btn-outline {
  border: 2px solid var(--border-light);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--primary-light);
  background: var(--bg-card);
  color: var(--text);
}

/* === Section === */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
}

.section-title span {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.see-all {
  font-size: 0.9rem;
  color: var(--primary-light);
  font-weight: 500;
}

/* === Category Grid === */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.25s;
}

.cat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.cat-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.15);
  border-radius: 14px;
}

.cat-name {
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

.cat-count {
  color: var(--text-dim);
  font-size: 0.75rem;
}

/* === PFP Grid === */
.pfp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.pfp-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
}

.pfp-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.pfp-preview {
  display: flex;
  gap: 0;
  aspect-ratio: 2/1;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(244, 114, 182, 0.1));
  position: relative;
  overflow: hidden;
}

.pfp-half {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.pfp-half.left { background: rgba(124, 58, 237, 0.15); }
.pfp-half.right { background: rgba(244, 114, 182, 0.12); }

.pfp-half-img {
  flex: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pfp-half-img.left { border-right: 2px solid rgba(255,255,255,0.1); }

.pfp-label {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 10, 26, 0.85);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--border-light);
}

.pfp-info {
  padding: 14px 16px;
}

.pfp-title {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.pfp-meta {
  display: flex;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.78rem;
}

/* === Tags === */
.tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(124, 58, 237, 0.15);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--primary-light);
}

/* === SEO Content === */
.seo-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px 60px;
  border-top: 1px solid var(--border);
}

.seo-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.seo-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 20px 0 10px;
  color: var(--primary-light);
}

.seo-content p {
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.8;
}

.seo-content ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.seo-content ul li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-muted);
}

.seo-content ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* === Footer === */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 40px 20px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo { font-size: 1.3rem; margin-bottom: 8px; display: inline-block; }
.footer-brand p { color: var(--text-dim); font-size: 0.85rem; }

.footer-heading {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* === Breadcrumb === */
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 20px 0;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb .sep { color: var(--text-dim); }

/* === Category Page Hero === */
.cat-hero {
  text-align: center;
  padding: 60px 20px 32px;
}

.cat-hero .cat-icon-large {
  font-size: 4rem;
  margin-bottom: 16px;
}

.cat-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

/* === Responsive === */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .hero { padding: 48px 16px 40px; }
  .hero h1 { font-size: 1.8rem; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .pfp-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 32px 16px; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* === About Page === */
.about-hero {
  text-align: center;
  padding: 60px 20px;
}

.about-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.about-content h2 {
  font-size: 1.3rem;
  color: var(--primary-light);
  margin: 32px 0 12px;
}

.about-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
