:root {
  --bg: #000;
  --fg: #fff;
  --muted: #b0b0b0;
  --accent: #0055aa;
  --accent-hover: #004488;
  --bot: #ff3366;
  --bot-hover: #ff1a53;
  --card: #121212;
  --line: #333;
  --header-h: 72px;
  --header-h-mobile: 210px;
  --gap: 30px;
  --max: 1400px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #000;
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.site-branding {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.header-left {
  flex: 0 1 auto;
  min-width: 0;
}

.header-right {
  flex: 1 1 auto;
  justify-content: flex-end;
}

.site-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.site-title a {
  color: #fff;
  text-decoration: none;
}

.header-submit-button {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-submit-button:hover {
  background: var(--accent-hover);
}

.header-search-form {
  display: flex;
  height: 40px;
  flex: 1 1 220px;
  max-width: 280px;
}

.header-search-input {
  flex: 1;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid #444;
  border-right: none;
  border-radius: 8px 0 0 8px;
  background: #1a1a1a;
  color: #fff;
  outline: none;
}

.header-search-input:focus {
  border-color: var(--accent);
}

.header-search-button {
  padding: 0 14px;
  border: none;
  border-radius: 0 8px 8px 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.header-search-button:hover {
  background: var(--accent-hover);
}

.header-bot-button {
  background: var(--bot);
  color: #fff !important;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255, 51, 102, 0.35);
  flex-shrink: 0;
}

.header-bot-button:hover {
  background: var(--bot-hover);
}

.site-content {
  padding-top: calc(var(--header-h) + 8px);
}

.site-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 900px) {
  :root {
    --header-h: var(--header-h-mobile);
  }

  .site-branding {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 16px;
  }

  .header-left,
  .header-right {
    width: 100%;
    justify-content: space-between;
  }

  .header-left {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .header-left .site-title {
    text-align: center;
    white-space: normal;
  }

  .header-submit-button {
    width: 100%;
    text-align: center;
  }

  .header-right {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .header-search-form {
    max-width: none;
    flex: none;
    width: 100%;
  }

  .header-bot-button {
    width: 100%;
    text-align: center;
    margin: 0;
  }

  .site-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .header-bot-button {
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  .header-submit-button {
    padding: 10px 12px;
    font-size: 0.78rem;
  }
}

/* ========== GRID ========== */
/* PC: 3 colunas · Celular: 2 colunas */
.hot-grid,
.grid {
  display: grid !important;
  gap: 20px;
  padding: 24px 20px;
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (min-width: 768px) {
  .hot-grid,
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px;
    padding: 28px 24px;
  }
}

/* ========== CARDS ========== */
.hot-card,
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hot-card:hover,
.card:hover {
  transform: translateY(-4px);
  border-color: #555;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.hot-card-thumb {
  display: block;
  background: #0a0a0a;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.hot-card-thumb.is-empty {
  background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
}

/* fallback p/ HTML antigo sem .hot-card-thumb */
.hot-card > a:first-child:not(.btn-entrar):not(.categoria) {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0a0a;
}

.hot-card img,
.card img,
.hot-card > a:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hot-card-content,
.card .body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.hot-card h2,
.card h2 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-card h2 a,
.card h2 a {
  color: #fff;
  text-decoration: none;
}

.hot-card h2 a:hover {
  text-decoration: underline;
}

.categoria {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  font-size: 0.72rem;
  padding: 4px 10px;
  background: #333;
  border: 1px solid #555;
  color: #fff !important;
  border-radius: 5px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.categoria:hover {
  border-color: #888;
}

.hot-card p,
.excerpt {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
  flex: 1;
}

.btn-entrar {
  display: block;
  text-align: center;
  background: #fff;
  color: #000 !important;
  padding: 11px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: auto;
  letter-spacing: 0.02em;
}

.btn-entrar:hover {
  background: #e8e8e8;
}

.meta {
  color: var(--muted);
  font-size: 0.8rem;
}

/* ========== PAGINATION ========== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 20px 28px;
  padding: 18px 0 0;
  border-top: 1px solid #222;
}

.pagination a,
.pagination .disabled {
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.pagination a:hover {
  background: var(--accent);
  border-color: var(--accent-hover);
}

.pagination .page-status {
  color: #888;
  font-size: 0.9rem;
  padding: 0 8px;
}

.pagination .disabled {
  color: #555;
  background: transparent;
}

/* ========== FOOTER ========== */
.hot-footer {
  background: #000;
  padding: 28px 20px 36px;
  border-top: 2px solid var(--accent);
  margin-top: 10px;
}

.hot-footer-parental {
  text-align: center;
  padding: 6px 0 16px;
}

.hot-footer-parental a {
  color: #ff9000;
  text-decoration: underline;
  font-weight: 700;
}

.hot-footer-content {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.hot-footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-bottom: 18px;
}

.hot-footer-nav-links a {
  color: #888;
  text-decoration: none;
  font-size: 0.88rem;
}

.hot-footer-nav-links a:hover {
  color: #fff;
}

.hot-footer-copyright {
  color: #666;
  font-size: 0.85rem;
  margin: 0;
}

.rta-label {
  margin-top: 12px;
  font-size: 0.75rem;
}

.rta-label a {
  color: #888;
  text-decoration: none;
}

/* ========== INNER PAGES ========== */
.page-title {
  margin: 0;
  padding: 20px 20px 6px;
  font-size: 1.45rem;
  max-width: var(--max);
}

.page-desc {
  color: var(--muted);
  margin: 0;
  padding: 0 20px 16px;
  max-width: var(--max);
}

.crumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  padding: 16px 20px 0;
  max-width: var(--max);
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: #fff;
}

.term-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 8px 20px 28px;
  margin: 0;
  max-width: var(--max);
}

.term-list a {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  text-decoration: none;
  color: var(--fg);
  font-size: 0.9rem;
  background: var(--card);
}

.term-list a:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.term-list .count {
  color: var(--muted);
  font-size: 0.8em;
}

.thumb {
  margin: 12px 20px;
  border-radius: 12px;
  overflow: hidden;
  max-width: 800px;
}

.thumb img {
  width: 100%;
  display: block;
  max-height: 400px;
  object-fit: cover;
}

.content {
  line-height: 1.55;
  color: #ddd;
  padding: 0 20px;
  max-width: 800px;
}

.btn-primary {
  display: inline-flex;
  margin: 20px;
  padding: 16px 28px;
  background: #0088cc;
  color: #fff !important;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  border: 2px solid #006699;
}

.btn-primary:hover {
  background: #006699;
}

.meta {
  padding: 0 20px;
}

/* ========== Single post (parity WP tema-top-ads) ========== */
.single-hot-mobile {
  background: #000;
  padding: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.single-hot-mobile .main-post {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
}

.single-hot-mobile .main-post .thumb {
  margin: 0;
  border-radius: 0;
  max-width: none;
}

.single-hot-mobile .main-post .thumb img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.single-hot-mobile .main-post .content {
  padding: 20px;
  max-width: none;
}

.post-title-main {
  color: #fff;
  font-size: 1.8rem;
  margin: 0 0 15px;
  line-height: 1.25;
}

.meta-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  color: #888;
  font-size: 0.9rem;
}

.meta-info a {
  color: #ddd;
}

.meta-icon {
  margin-right: 4px;
}

.post-content {
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 20px;
}

.post-content a {
  color: #4fc3f7;
}

.post-taxonomies {
  margin: 20px 0;
  padding: 15px 0;
  border-top: 1px solid #333;
}

.taxonomy-group {
  margin-bottom: 10px;
}

.taxonomy-label {
  color: #888;
  font-size: 0.85rem;
  margin-right: 10px;
}

.taxonomy-items {
  display: inline;
}

.taxonomy-link {
  display: inline-block;
  padding: 5px 12px;
  background: #222;
  color: #fff !important;
  border-radius: 20px;
  font-size: 0.8rem;
  text-decoration: none;
  margin: 3px;
}

.taxonomy-link:hover {
  background: #0055aa;
}

.hot-vote-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 30px 0;
  flex-wrap: wrap;
}

.hot-vote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 40px;
  border: none;
  border-radius: 16px;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  min-height: 64px;
  min-width: 120px;
}

.hot-vote-btn.like {
  background: #059669 !important;
  color: #fff !important;
  border: 3px solid #047857 !important;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.4);
}

.hot-vote-btn.like:hover,
.hot-vote-btn.like.active {
  background: #047857 !important;
  transform: translateY(-3px);
}

.hot-vote-btn.dislike {
  background: #dc2626 !important;
  color: #fff !important;
  border: 3px solid #b91c1c !important;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.hot-vote-btn.dislike:hover,
.hot-vote-btn.dislike.active {
  background: #b91c1c !important;
  transform: translateY(-3px);
}

.hot-vote-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.hot-vote-btn .count {
  font-size: 1.3rem;
  font-weight: 800;
}

.action-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn-unete {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 18px 32px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  transition: all 0.3s !important;
  flex: 1 !important;
  min-height: 60px !important;
  background: #0088cc !important;
  color: #fff !important;
  border: 3px solid #006699 !important;
  box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4) !important;
  margin: 0 !important;
}

.btn-unete:hover {
  background: #006699 !important;
  transform: translateY(-3px) !important;
  color: #fff !important;
}

.btn-denunciar {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 18px 32px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  transition: all 0.3s !important;
  min-height: 60px !important;
  background: #dc2626 !important;
  color: #fff !important;
  border: 3px solid #b91c1c !important;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4) !important;
}

.btn-denunciar:hover {
  background: #b91c1c !important;
  transform: translateY(-3px) !important;
  color: #fff !important;
}

.btn-unete svg,
.btn-denunciar svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.aviso-18 {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
  text-align: center;
}

.aviso-18 h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 900;
}

.aviso-18 p {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.aviso-18 a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 700;
}

.aviso-18-rta {
  margin-top: 10px;
  font-size: 0.8rem;
}

.single-comments-area {
  margin: 24px 0;
  padding: 18px;
  border-radius: 12px;
  background: #0f0f0f;
  color: #fff;
}

.single-comments-area h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.comments-empty {
  margin: 0 0 16px;
  opacity: 0.9;
}

.comments-login-required {
  margin: 12px 0 0;
  padding: 14px;
  border-radius: 10px;
  background: #111;
}

.comments-login-required a {
  color: #00ff88;
  margin-left: 8px;
}

.grupos-recomendados {
  margin-top: 30px;
  padding: 20px;
  background: #111;
  border-radius: 12px;
}

.grupos-recomendados h2 {
  color: #fff;
  margin: 0 0 20px;
  font-size: 1.3rem;
}

.grid-recomendados {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}

.card-mini {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.card-mini:hover {
  transform: translateY(-5px);
}

.card-mini img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

.card-mini h3 {
  padding: 10px;
  margin: 0;
  font-size: 0.9rem;
  color: #fff;
  flex: 1;
}

.card-mini h3 a {
  color: #fff;
  text-decoration: none;
}

.btn-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  background: #0055aa;
  color: #fff !important;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}

.btn-mini:hover {
  background: #004488;
}

@media (max-width: 768px) {
  .action-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .hot-vote-container {
    gap: 15px;
    margin: 25px 0;
  }

  .hot-vote-btn {
    padding: 22px 45px !important;
    font-size: 1.6rem !important;
    min-height: 70px !important;
    min-width: 140px !important;
  }

  .btn-unete,
  .btn-denunciar {
    padding: 20px 30px !important;
    font-size: 1.2rem !important;
    min-height: 65px !important;
    width: 100% !important;
  }

  .grid-recomendados {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hot-vote-container {
    flex-direction: row !important;
    gap: 12px !important;
  }

  .hot-vote-btn {
    padding: 25px 35px !important;
    font-size: 2rem !important;
    min-height: 80px !important;
    min-width: auto !important;
    flex: 1 !important;
    border-radius: 20px !important;
    border-width: 4px !important;
  }

  .btn-unete,
  .btn-denunciar {
    padding: 22px 25px !important;
    font-size: 1.3rem !important;
    min-height: 75px !important;
    border-radius: 16px !important;
    border-width: 4px !important;
  }

  .btn-text {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
  }
}

/* ========== Age gate ========== */
html.age-gate-locked,
body.age-gate-locked {
  overflow: hidden !important;
}

.age-gate[hidden] {
  display: none !important;
}

html.age-gate-pass .age-gate {
  display: none !important;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: #000;
}

.age-gate__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.age-gate__title {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
}

.age-gate__challenge {
  margin: 0 0 22px;
  font-size: 1.05rem;
  color: #ddd;
}

.age-gate__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.age-gate__btn {
  flex: 1;
  min-height: 48px;
  border-radius: 10px;
  border: 2px solid transparent;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.age-gate__btn--no {
  background: #222;
  color: #fff;
  border-color: #444;
}

.age-gate__btn--no:hover {
  background: #333;
}

.age-gate__btn--yes {
  background: #0055aa;
  color: #fff;
  border-color: #004488;
}

.age-gate__btn--yes:hover {
  background: #004488;
}

.age-gate__remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #aaa;
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
}

.age-gate__denied {
  margin: 14px 0 0;
  color: #ff6b6b;
  font-weight: 700;
}
