/* ==============================
   RESET E BASE
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  line-height: 1.6;
}

/* ==============================
   CONTAINER PRINCIPAL
============================== */
.home-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 900px; /* Aumentado para dar mais espaço às tabelas */
  min-height: 100vh;
  justify-content: space-between;
  padding: 2rem 0;
}

/* Conteúdo principal */
.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 1rem 0;
}

/* ==============================
   TÍTULO E SUBTÍTULO
============================== */
#site-name {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  background: linear-gradient(135deg, #a1a1bb 0%, #ccccff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.25rem;
  margin-top: 1rem;
  text-align: center;
}

#lead {
  font-size: clamp(1.2rem, 5vw, 1.5rem);
  color: #ffffffcc;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-align: center;
}

/* Subtítulos das seções */
.links-section > p#lead {
  font-size: clamp(1rem, 4vw, 1.3rem);
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  color: #ffffff;
}

/* ==============================
   SEÇÕES E LINKS
============================== */
.links-section {
  width: 100%;
  margin-bottom: 0.5rem;
  flex-grow: 1;
  text-align: center;
}

/* Container para agrupar as seções */
.sections-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  margin: 1rem 0;
}

/* ==============================
   TABELAS MAIS COMPRIDAS E VISUAIS MELHORADOS
============================== */
.table-responsive {
  width: 100%; /* Tabelas um pouco mais longas que o container */
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 6px;
  margin-top: 0.25rem;
  text-align: center;
}

.table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  color: #e0e0e0;
  background-color: #222;
  font-size: 0.9rem;
  text-align: center;
}

.table th,
.table td {
  padding: 10px 18px; /* Aumentado para dar mais espaço lateral */
  vertical-align: middle;
  border: 1px solid #444;
  text-align: center;
}

.table thead th {
  background-color: #2b2b2b;
  color: #a1a1bb;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #555;
  text-align: center;
}

.table tbody tr:nth-child(even) {
  background-color: #262626;
}

.table tbody tr:hover {
  background-color: #333;
  transition: background-color 0.2s ease-in-out;
}

.table.table-sm th,
.table.table-sm td {
  padding: 6px 12px;
  font-size: 0.85rem;
  text-align: center;
}

.table-rounded {
  border-radius: 6px;
  overflow: hidden;
}

/* Links nas tabelas */
.table a {
  color: #e0e0e0;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.table a:hover {
  color: #a1a1bb;
}

/* ==============================
   ÍCONES
============================== */
.content-home-icon-logo {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  flex-shrink: 0;
  margin-right: 8px;
  max-width: 100%;
  max-height: 100%;
  filter: var(--icon-filter-custom);
}

.content-icon-logo {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  flex-shrink: 0;
  margin-right: 8px;
  max-width: 100%;
  max-height: 100%;
}

/* ==============================
   ANIMAÇÃO DE PULSAÇÃO NATURAL DO CORAÇÃO
============================== */
@keyframes Pulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 1px rgba(255, 0, 0, 0.7));
  }
  20% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 3px rgba(255, 0, 0, 0.8));
  }
  40% {
    transform: scale(1);
    filter: drop-shadow(0 0 1px rgba(255, 0, 0, 0.6));
  }
  60% {
    transform: scale(1.25);
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.9));
  }
  80% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px rgba(255, 0, 0, 0.7));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 1px rgba(255, 0, 0, 0.7));
  }
}

.content-home-icon-footer-heart {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  flex-shrink: 0;
  max-width: 100%;
  max-height: 100%;
  margin-bottom: -3px;
  animation: Pulse 1.3s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

/* ==============================
   FOOTER
============================== */
footer {
  margin-top: auto;
  text-align: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  width: 100%;
}

footer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  text-align: center;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  text-align: center;
}

footer a:hover {
  color: #ffffff;
}

/* ==============================
   ANIMAÇÕES DE ENTRADA
============================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ==============================
   RESPONSIVIDADE
============================== */
@media (max-width: 768px) {
  body {
    padding: 1.5rem;
  }

  .home-container {
    padding: 1rem 0;
  }

  #site-name {
    font-size: clamp(2rem, 10vw, 3rem);
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
  }

  #lead {
    font-size: clamp(1rem, 5vw, 1.2rem);
    margin-bottom: 0.4rem;
  }

  .links-section > p#lead {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    margin-bottom: 0.4rem;
    margin-top: 0.4rem;
  }

  .links-section {
    margin-bottom: 0.4rem;
  }

  .sections-container {
    gap: 0.4rem;
    margin: 0.8rem 0;
  }

  .table-responsive {
    width: 100%; /* Ajusta para caber bem no mobile */
    transform: none;
  }

  .table td {
    padding: 0.4rem 0.6rem;
  }

  .main-content {
    padding: 0.5rem 0;
  }
}

@media (max-width: 480px) {
  body {
    padding: 1rem;
  }

  .table td {
    padding: 0.35rem 0.5rem;
    font-size: 0.9rem;
  }

  footer p {
    font-size: 0.8rem;
  }

  .content-home-icon-logo,
  .content-icon-logo {
    width: 16px;
    height: 16px;
    margin-right: 6px;
  }

  #site-name {
    margin-top: 0.25rem;
    margin-bottom: 0.1rem;
  }

  #lead {
    margin-bottom: 0.3rem;
  }

  .links-section > p#lead {
    margin-bottom: 0.3rem;
    margin-top: 0.3rem;
  }

  .links-section {
    margin-bottom: 0.3rem;
  }

  .sections-container {
    gap: 0.3rem;
    margin: 0.6rem 0;
  }
}

@media (max-width: 360px) {
  body {
    padding: 0.5rem;
  }

  .home-container {
    padding: 0.5rem 0;
  }

  .sections-container {
    gap: 0.2rem;
    margin: 0.5rem 0;
  }
}

/* ==============================
   BLOQUEIO DE ABRIR IMAGENS EM NOVA ABA
============================== */
.content-home-icon-logo,
.content-home-icon-footer-heart,
.content-icon-logo {
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

/* Garantir que todas as imagens dentro de links não sejam clicáveis separadamente */
.table a img {
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Bloquear menu de contexto em imagens */
img {
  -webkit-context-menu: none;
  -moz-context-menu: none;
  -ms-context-menu: none;
}
