/*
Theme Name: TelegramHub
Theme URI: https://telegramhub.com.br
Author: TelegramHub
Author URI: https://telegramhub.com.br
Description: Tema para diretorio de grupos do Telegram, com catalogo, categorias, ranking e envio de grupos.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: telegramhub
*/

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0a0509;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at top left, rgba(120, 30, 80, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at top right, rgba(90, 40, 130, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(180, 40, 100, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, #000 0%, #14070f 50%, #0a0510 100%);
  background-attachment: fixed;
}

img { max-width: 100%; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 5, 9, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #ff3d8c 0%, #c724a6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 61, 140, 0.4);
}

.logo-icon svg { width: 22px; height: 22px; fill: #fff; }

.logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.logo-text .accent { color: #ff3d8c; }

.nav {
  display: flex;
  gap: 40px;
}

.nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav a:hover, .nav a.active, .nav a.current-menu-item { color: #ff3d8c; }

.cta-header {
  background: linear-gradient(135deg, #ff3d8c 0%, #d62a8e 100%);
  color: #fff;
  padding: 11px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255, 61, 140, 0.3);
}
.cta-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(255, 61, 140, 0.5);
}

/* ===== BUTTONS ===== */
.btn {
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, #ff3d8c 0%, #d62a8e 100%);
  color: #fff;
  box-shadow: 0 0 40px rgba(255, 61, 140, 0.4), 0 4px 20px rgba(255, 61, 140, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(255, 61, 140, 0.6), 0 8px 30px rgba(255, 61, 140, 0.4);
}

.btn-secondary {
  background: rgba(20, 10, 18, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(30, 15, 25, 0.8);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  font-size: 13px;
  color: rgba(200, 200, 215, 0.5);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a {
  color: rgba(200, 200, 215, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: #ff3d8c; }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: rgba(255, 255, 255, 0.85); }

/* ===== PINK GRADIENT TEXT ===== */
.pink {
  background: linear-gradient(135deg, #ff3d8c 0%, #ff6ba8 50%, #c724a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== AGE BADGE ===== */
.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(20, 10, 18, 0.6);
  border: 1px solid rgba(255, 61, 140, 0.35);
  color: rgba(255, 180, 210, 0.9);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.age-badge::before {
  content: '+18';
  background: linear-gradient(135deg, #ff3d8c 0%, #d62a8e 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(8, 4, 7, 0.4);
  margin-top: 40px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 32px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 72px;
  margin-bottom: 56px;
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-desc {
  font-size: 14px;
  color: rgba(220, 220, 230, 0.55);
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 22px;
}
.footer-col h4 {
  font-size: 11px;
  color: rgba(200, 200, 215, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: rgba(235, 235, 245, 0.85);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: #ff3d8c; }

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(200, 200, 215, 0.5);
}
.footer-bottom a {
  color: #ff8ab8;
  text-decoration: none;
}
.footer-bottom a:hover { text-decoration: underline; }

/* ===== FAQ (compartilhado) ===== */
.faq-block { margin-top: 56px; }
.faq-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}
.faq-item {
  background: rgba(20, 10, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: rgba(255, 61, 140, 0.25); }
.faq-item.open { border-color: rgba(255, 61, 140, 0.35); }

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
}
.faq-question svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  stroke: rgba(255, 130, 175, 0.7);
  fill: none;
  stroke-width: 2.5;
  transition: transform 0.25s;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(220, 220, 230, 0.7);
}

/* ===== RESPONSIVE (compartilhado) ===== */
@media (max-width: 880px) {
  .nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { padding: 56px 20px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .header-inner { padding: 14px 20px; }
}
@media (max-width: 520px) {
  .cta-header span { display: none; }
}
