:root {
  --bg: #0f0f13;
  --panel: #17171d;
  --panel-2: #1f1f27;
  --text: #f5f5f7;
  --muted: #b6b6c2;
  --line: #2b2b36;
  --primary: #dc2626;
  --primary-hover: #b91c1c;
  --chip: #22222b;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at top, rgba(220, 38, 38, 0.14), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

img {
  display: block;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 15, 19, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.nav-link {
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.35);
  color: var(--text);
}

.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.2rem 1.2rem 3rem;
}

.hero {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: var(--shadow);
}

.hero-small {
  margin-bottom: 1.4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #fecaca;
  font-size: 0.85rem;
  font-weight: 700;
}

.page-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.15;
}

.hero-title {
  margin-bottom: 0.8rem;
}

.hero-text {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.buscador-container {
  margin-bottom: 1rem;
}

.buscador {
  width: 100%;
  max-width: 520px;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.buscador::placeholder {
  color: #86869a;
}

.buscador:focus {
  border-color: rgba(220, 38, 38, 0.65);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.14);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chip {
  padding: 0.6rem 0.9rem;
  background: var(--chip);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  font-size: 0.92rem;
  transition: 0.2s ease;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(220, 38, 38, 0.4);
  background: rgba(220, 38, 38, 0.14);
}

.container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.4rem;
  align-items: start;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.grid-full {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 38, 38, 0.35);
}


.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.7rem;
  padding: 1rem;
}

.card-badge {
  align-self: flex-start;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.14);
  color: #fecaca;
  font-size: 0.78rem;
  font-weight: 700;
}

.card-title {
  font-size: 1.18rem;
  line-height: 1.2;
}

.card-desc {
  color: var(--muted);
  font-size: 0.94rem;
}

.card-cat {
  margin-top: auto;
  color: #9f9fb2;
  font-size: 0.84rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.2px;
  transition: 0.2s ease;
}

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

.sidebar {
  position: sticky;
  top: 96px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.15rem;
  box-shadow: var(--shadow);
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.cat-list {
  list-style: none;
}

.cat-link {
  display: block;
  padding: 0.55rem 0;
  color: var(--muted);
  font-weight: 600;
  transition: 0.2s ease;
}

.cat-link:hover {
  color: var(--text);
  padding-left: 4px;
}

.sidebar-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.sidebar-note strong {
  display: block;
  margin-bottom: 0.35rem;
}

.sidebar-note p {
  color: var(--muted);
  font-size: 0.92rem;
}

.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.filtro-btn {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.filtro-btn:hover,
.filtro-btn.active {
  background: rgba(220, 38, 38, 0.14);
  border-color: rgba(220, 38, 38, 0.35);
  color: var(--text);
}

.paginacao {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
  grid-column: 1 / 2;
}

.pag-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.pag-btn:hover,
.pag-btn.active {
  background: var(--primary);
  border-color: var(--primary);
}

.empty-state {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
}

.content {
  max-width: 820px;
}

.content-card {
  padding: 1.4rem;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.content h2 {
  font-size: 1.1rem;
  margin: 1.4rem 0 0.55rem;
}

.content h2:first-child {
  margin-top: 0;
}

.content p {
  color: var(--muted);
}

.footer {
  margin-top: 3rem;
  padding: 2rem 1rem 2.4rem;
  text-align: center;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.footer-link {
  color: #fca5a5;
}

.footer-link:hover {
  color: #fff;
}

.footer-copy {
  color: #8f8fa3;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .container {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    top: auto;
  }
}

@media (max-width: 760px) {
  .grid,
  .grid-full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
  }

  .nav {
    width: 100%;
  }

  .nav-link {
    flex: 1;
    text-align: center;
  }

  .main {
    padding: 1.2rem 0.9rem 2rem;
  }

  .hero {
    padding: 1.1rem;
    border-radius: 18px;
  }

  .grid,
  .grid-full {
    grid-template-columns: 1fr;
  }

  .card-img {
    height: 240px;
  }

  .filtros {
    gap: 0.55rem;
  }

  .filtro-btn {
    width: 100%;
  }

  .chip {
    width: 100%;
    text-align: center;
  }
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background:
    radial-gradient(circle at top, rgba(220, 38, 38, 0.28), transparent 34%),
    rgba(5, 5, 8, 0.92);
  backdrop-filter: blur(12px);
}

.age-gate.hidden {
  display: none;
}

.age-gate-box {
  width: min(100%, 520px);
  padding: 1.6rem;
  border: 1px solid rgba(220, 38, 38, 0.38);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(31,31,39,0.98), rgba(15,15,19,0.98));
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
  text-align: center;
}

.age-gate-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 0 12px 32px rgba(220,38,38,0.35);
}

.age-gate-box h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 5vw, 2rem);
  line-height: 1.15;
}

.age-gate-box p {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.age-gate-actions {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.age-btn {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}

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

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

.age-btn-secondary {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}

.age-btn-secondary:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.22);
}

.age-gate-box small {
  display: block;
  color: #8f8fa3;
}

/* SEO, legal and category content additions */
.card-actions {
  display: grid;
  gap: 0.6rem;
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(220, 38, 38, 0.35);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: #fca5a5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  max-width: 620px;
}

.hero-actions .btn {
  width: auto;
  min-width: 210px;
}

.cta-main {
  font-size: 1.02rem;
}

.seo-section {
  margin-top: 2rem;
}

.seo-section-top {
  margin-top: 0;
  margin-bottom: 1.4rem;
}

.text-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.text-block,
.faq-section,
.cta-panel,
.related-categories {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.text-block h2,
.faq-section h2,
.cta-panel h2,
.related-categories h2,
.niche-section h2 {
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
}

.text-block p,
.cta-panel p,
.niche-section p,
.legal-content p,
.faq-item p {
  color: var(--muted);
}

.niche-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.niche-media {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.niche-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.niche-content {
  display: grid;
  gap: 1rem;
}

.niche-section {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.niche-section p + p,
.legal-content p + h2,
.legal-content h2 + p {
  margin-top: 0.75rem;
}

.faq-section,
.cta-panel,
.related-categories {
  margin-top: 1.4rem;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faq-item:last-child {
  padding-bottom: 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-item p {
  margin-top: 0.55rem;
}

.related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.related-link {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--chip);
  color: var(--text);
  font-weight: 700;
}

.related-link:hover {
  border-color: rgba(220, 38, 38, 0.4);
  background: rgba(220, 38, 38, 0.14);
}

.legal-content a {
  color: #fca5a5;
  font-weight: 700;
}

.legal-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.age-gate-box a {
  color: #fecaca;
  font-weight: 800;
}

@media (max-width: 880px) {
  .niche-layout,
  .text-grid,
  .legal-links {
    grid-template-columns: 1fr;
  }

  .niche-media {
    position: static;
  }
}

@media (max-width: 600px) {
  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .text-block,
  .faq-section,
  .cta-panel,
  .related-categories,
  .niche-section {
    border-radius: 16px;
  }
}
