/* ==========================================================================
   Blog Stylesheet for Genersx.net AI Раздеватор
   Theme: Luxury Cyber / Violet & Hot Pink
   ========================================================================== */
:root {
  --bg: #0b0914;
  --bg2: #120f24;
  --panel: #16122c;
  --panel2: #1e193b;
  --line: rgba(168, 85, 247, 0.22);
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --acid: #ec4899;
  --acid2: #a855f7;
  --acid-soft: rgba(236, 72, 153, 0.12);
  --violet: #a855f7;
  --violet2: #7c3aed;
  --rose: #f43f5e;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
  --glow-acid: 0 0 35px rgba(236, 72, 153, 0.25);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER & TOP NAV ── */
header.top {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(11, 9, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
header.top .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 900;
  font-size: 1.15rem;
}
.brand-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35);
}
.brand-title {
  display: flex;
  align-items: center;
  gap: 6px;
}
.brand-title span.grad {
  background: linear-gradient(135deg, #c084fc, #ec4899, #f43f5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-badge {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
  padding: 2px 7px;
  border-radius: 99px;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 8px;
}
.navlinks a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s;
}
.navlinks a:hover,
.navlinks a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta-group .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.4);
  transition: all 0.2s;
}
.nav-cta-group .btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  box-shadow: 0 6px 22px rgba(236, 72, 153, 0.6);
}

/* ── ARTICLE LAYOUT ── */
.sp-art {
  max-width: 860px;
  margin: 36px auto 70px;
}
.sp-crmb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.sp-crmb a {
  color: var(--soft);
  text-decoration: none;
}
.sp-crmb a:hover {
  color: #fff;
  text-decoration: underline;
}

.sp-art-hero {
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.2));
  border: 1px solid rgba(236, 72, 153, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.sp-art-hero-icon {
  font-size: 2rem;
}
.sp-art-hero-label {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.sp-art-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.sp-art-meta .cat {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 99px;
  border: 1px solid rgba(236, 72, 153, 0.3);
}

h1 {
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 900;
  margin: 0 0 16px;
  color: #fff;
  letter-spacing: -0.02em;
}
h1 .grad,
h2 .grad {
  background: linear-gradient(135deg, #c084fc, #ec4899, #f43f5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sp-art-deck {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--soft);
  margin-bottom: 30px;
  border-left: 3px solid #ec4899;
  padding-left: 18px;
}

.sp-art-body {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #e2e8f0;
}
.sp-art-body p { margin-bottom: 1.4em; }
.sp-art-body h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  margin: 44px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.sp-art-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 30px 0 12px;
}
.sp-art-body ul, .sp-art-body ol {
  padding-left: 24px;
  margin-bottom: 1.6em;
}
.sp-art-body li {
  margin-bottom: 8px;
}
.sp-art-body a {
  color: #f472b6;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sp-art-body a:hover {
  color: #fff;
}
.sp-art-body strong {
  color: #fff;
}

/* ── ARTICLE CTA ── */
.sp-art-cta {
  margin-top: 50px;
  border: 1px solid rgba(236, 72, 153, 0.4);
  border-radius: 24px;
  padding: 36px 30px;
  text-align: center;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.12));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.sp-art-cta h3 {
  font-size: 1.4rem;
  margin: 0 0 10px;
  color: #fff;
  font-weight: 900;
}
.sp-art-cta p {
  margin: 0 0 22px;
  color: var(--soft);
  font-size: 0.98rem;
}
.sp-art-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 99px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #fff;
  box-shadow: 0 6px 22px rgba(236, 72, 153, 0.45);
  transition: all 0.25s;
}
.sp-art-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.65);
}

/* ── RELATED ARTICLES WITH IMAGES ── */
.sp-related-section {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.sp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f472b6;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(236, 72, 153, 0.3);
  background: rgba(236, 72, 153, 0.08);
}
.sp-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.sp-blog-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.sp-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 25px rgba(236, 72, 153, 0.25);
  border-color: rgba(236, 72, 153, 0.5);
}
.sp-blog-img {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: #110e22;
}
.sp-blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.sp-blog-card:hover .sp-blog-img img {
  transform: scale(1.08);
}
.sp-blog-img-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  color: #f472b6;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(236, 72, 153, 0.4);
  z-index: 2;
}
.sp-blog-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sp-blog-tag {
  display: inline-block;
  background: rgba(168, 85, 247, 0.15);
  color: #e879f9;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  align-self: flex-start;
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.sp-blog-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.35;
  color: #fff;
  letter-spacing: -0.01em;
}
.sp-blog-desc {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
  flex: 1;
  margin: 0;
}
.sp-blog-meta {
  font-size: 0.76rem;
  color: #64748b;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── BLOG INDEX PAGE ── */
.blog-hero { padding: 48px 0 24px; }
.blog-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
  font-weight: 900;
  margin-bottom: 14px;
}
.blog-hero h1 .g {
  background: linear-gradient(135deg, #c084fc, #ec4899, #f43f5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.blog-hero p {
  color: var(--muted);
  max-width: 680px;
  font-size: 1.08rem;
  line-height: 1.6;
}
.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 24px 0 80px;
}
@media (max-width: 900px) {
  .blog-index-grid { grid-template-columns: repeat(2, 1fr); }
  .navlinks { display: none; }
}
@media (max-width: 600px) {
  .blog-index-grid { grid-template-columns: 1fr; }
}

footer.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  background: #080611;
}

/* Age Gate */
.age-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.age-gate.show { display: flex; }
.gate-card {
  background: #110e24;
  border: 1px solid rgba(236, 72, 153, 0.4);
  border-radius: 20px;
  padding: 28px;
  max-width: 480px;
  width: 100%;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 30px rgba(236, 72, 153, 0.2);
}
.gate-mark {
  display: inline-block;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.gate-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.gate-list {
  padding-left: 20px;
  font-size: 0.86rem;
  color: var(--soft);
  margin-bottom: 20px;
}
.gate-actions {
  display: flex;
  gap: 10px;
}
.gate-actions .btn {
  flex: 1;
  padding: 11px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
}
.gate-actions .btn.secondary {
  background: rgba(255,255,255,0.08);
  color: var(--soft);
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
