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

body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================
   ===== AGE VERIFICATION =====
   ========================= */
#age-protector {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  padding: 20px;
}

#age-protector .card {
  width: 100%;
  max-width: 420px;
  background: #0f0f0f;
  border: 2px solid #ff0033;
  border-radius: 14px;
  box-shadow: 0 0 18px rgba(255, 0, 51, 0.55);
  padding: 22px 18px;
  text-align: center;
  color: #fff;
}

#age-protector h2 {
  margin: 0 0 10px 0;
  font-size: 1.6rem;
  color: #ff0033;
  text-shadow: 0 0 6px #ff0033;
  text-transform: uppercase;
}

#age-protector p {
  margin: 0 0 18px 0;
  color: #e8e8e8;
  line-height: 1.35;
}

#age-protector button {
  display: inline-block;
  background: #200000;
  color: #ff0033;
  border: 2px solid #ff0033;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

#age-protector button:hover {
  background: #ff0033;
  color: #000;
}

/* =========================
   ==== RESPONSIVE LOGO ====
   ========================= */

@media (max-width: 320px) {
  .best-logo img { width: 160px; height: 40px; }
  .best-pagination a { padding: 8px 10px; font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .best-logo img { width: 180px; height: 45px; }
}

@media (min-width: 576px) {
  .best-logo img { width: 210px; height: 52px; }
}

@media (min-width: 768px) {
  .best-logo img { width: 240px; height: 60px; }
}

@media (min-width: 992px) {
  .best-logo img { width: 270px; height: 68px; }
}

@media (min-width: 1200px) {
  .best-logo img { width: 290px; height: 73px; }
}

@media (min-width: 1920px) {
  .best-logo img { width: 310px; height: 78px; }
}

/* =========================
   ==== BEST PAGE GRID ====
   ========================= */

.best-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* mesmo espaçamento externo */
  gap: 26px;
  justify-content: center;
  align-items: stretch;
  width: calc(100% - 40px);
  max-width: 1400px;
  margin: 0px auto 0 auto;
  padding-bottom: 15px;
}

/* Cada célula (thumb + título integrado) */
.best-grid-item {
  position: relative;
  background: #000;
  border: 2px solid #ff0033;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(255, 0, 51, 0.25);
  transition: all 0.25s ease-in-out;
  text-align: center;
  aspect-ratio: 1 / 1.1; /* aumentada altura proporcional (1:1.1) */
}

.best-grid-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #ff0033, 0 0 35px #ff0033;
}

/* Link ocupa tudo */
.best-grid-item a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #fff;
  position: relative;
}

/* Imagem ocupa todo o bloco */
.best-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Título sobreposto ao final da imagem */
.best-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 18px 26px 18px; /* mais espaço interno */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 65%, rgba(0, 0, 0, 0));
  color: #ff0033;
  font-weight: 700;
  font-size: 1rem;
  text-shadow: 0 0 6px #ff0033;
  line-height: 1.4;
  text-align: center;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  max-height: 3.8em;
  box-sizing: border-box;
}

/* =========================
   ==== PAGINATION ====
   ========================= */

.best-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 15px 0;
}

.best-pagination a {
  display: inline-block;
  padding: 10px 16px;
  border: 2px solid #ff0033;
  color: #ff0033;
  background: #000;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease-in-out;
}

.best-pagination a.active {
  background: #ff0033;
  color: #000;
}

.best-pagination a:hover:not(.active) {
  background: #1a0000;
}

/* =========================
   ==== RESPONSIVIDADE GRID ====
   ========================= */

@media (max-width: 320px) {
  .best-grid-container {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .best-title { font-size: 0.85rem; padding: 16px 14px 20px 14px; }
}

@media (max-width: 480px) {
  .best-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 576px) {
  .best-grid-container {
    grid-template-columns: repeat(3, 1fr);
    max-width: 580px;
  }
}

@media (min-width: 768px) {
  .best-grid-container {
    grid-template-columns: repeat(4, 1fr);
    max-width: 780px;
  }
}

@media (min-width: 992px) {
  .best-grid-container {
    grid-template-columns: repeat(5, 1fr);
    max-width: 1000px;
  }
}

@media (min-width: 1200px) {
  .best-grid-container {
    grid-template-columns: repeat(6, 1fr);
    max-width: 1200px;
  }
}

@media (min-width: 1920px) {
  .best-grid-container {
    grid-template-columns: repeat(7, 1fr);
    max-width: 1500px;
  }
}

/* === DMCA Footer === */
.site-footer {
  text-align: center;
  font-size: 10px;
  color: #aaa;
  padding: 10px 0;
  background-color: #000;
  margin-top: 30px;
}

.site-footer a {
  color: #ff0033;
  text-decoration: underline;
}
