/* ============================= */
/* Paleta de cores e variáveis */
/* ============================= */
:root {
  --accent-1: #97ce4c;
  --accent-2: #40b5ad;
  --muted: #9fa8b0;
  --bg: #000;
  --radius: 10px;
}

/* ============================= */
/* Estrutura global */
/* ============================= */
body {
  background-color: var(--bg);
  color: #f2f2f2;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

header,
main,
footer {
  width: 80%;
  margin: 0 auto;
  box-sizing: border-box;
}

footer {
  display: flex;
  justify-content: center;
  padding: 20px;
}

/* ============================= */
/* Cabeçalho */
/* ============================= */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 98%;
  gap: 1rem;
  border: 3px solid var(--accent-1);
  border-radius: 12px;
  box-shadow: 0 0 12px var(--accent-1), 0 0 24px var(--accent-2);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

.link-logo-titulo {
  display: flex;
  align-items: center;
  gap: 60px;
  text-decoration: none;
  color: inherit;
}

.logo {
  height: 150px;
  width: 150px;
}

.titulo-cabecalho {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-1);
  text-shadow: 0 0 8px var(--accent-2), 0 0 16px var(--accent-1);
  font-family: 'Orbitron', 'Audiowide', sans-serif;
  transition: text-shadow 0.3s ease, transform 0.2s ease;
}

.titulo-cabecalho:hover {
  text-shadow: 0 0 12px #b4ff4c, 0 0 24px var(--accent-2);
  transform: translateY(2px) scale(1.05);
}

/* ============================= */
/* Navegação */
/* ============================= */
.nav-botoes ul {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  box-shadow: 0 2px 6px rgba(15, 23, 36, 0.3);
  color: var(--muted);
  background: linear-gradient(180deg, #2b2b2b, #1f1f1f);
}

.btn-primaria {
  background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
  color: #111;
  box-shadow: 0 6px 18px rgba(151, 206, 76, 0.4);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(109, 206, 76, 1);
}

.btn:focus {
  outline: 3px solid rgba(104, 206, 76, 0.3);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(15, 23, 36, 0.2);
}

/* ============================= */
/* Página inicial */
/* ============================= */
.index-bg {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.index-bg h1 {
  font-size: 3rem;
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px #40b5ad, 0 0 20px #97ce4c;
}

.index-bg p {
  font-size: 1.5rem;
  text-shadow: 0 0 8px #ffffff;
}

/* ============================= */
/* Seção principal (imagem + texto) */
/* ============================= */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 100px);
  width: 100%;
  background-color: #000;
  color: white;
  overflow: hidden;
  gap: 2rem;
  padding: 2rem 4rem;
}

.image-container {
  flex: 0 0 35%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(151, 206, 76, 0.4);
}

.text-container {
  flex: 1;
  padding: 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-container h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-1);
}

.text-container p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #ddd;
}

/* ============================= */
/* Listagem de Aventuras */
/* ============================= */
.aventuras-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aventura-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  background: rgba(20, 20, 20, 0.8);
  border: 2px solid var(--accent-1);
  border-radius: var(--radius);
  padding: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aventura-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(151, 206, 76, 0.5);
}

.aventura-item img {
  width: 180px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--accent-2);
}

.aventura-texto {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.aventura-texto h2 {
  font-size: 1.8rem;
  color: var(--accent-1);
  margin: 0 0 0.5rem 0;
  text-shadow: 0 0 6px var(--accent-2);
}

.aventura-texto h2 a {
  color: inherit;
  text-decoration: none;
  transition: text-shadow 0.3s ease, transform 0.2s ease;
}

.aventura-texto h2 a:hover {
  text-shadow: 0 0 12px #b4ff4c, 0 0 20px var(--accent-2);
  transform: scale(1.03);
}

.aventura-texto p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: #ddd;
}

/* ============================= */
/* Conteúdo longo do Markdown */
/* ============================= */
.content-md {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid var(--accent-2);
  border-radius: var(--radius);
  color: #f2f2f2;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.content-md h1,
.content-md h2,
.content-md h3 {
  color: var(--accent-1);
  margin-top: 1.5rem;
}

.content-md p {
  margin-bottom: 1rem;
  color: #ddd;
  max-width: 800px;
}

.content-md img {
  order: -1;
  max-width: 80%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 16px rgba(151, 206, 76, 0.4);
}

/* ============================= */
/* Seções especiais */
/* ============================= */
.snuffles-section {
  background: radial-gradient(circle at center, #111 0%, #000 100%);
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  padding: 4rem 0;
}

.snuffles-section img {
  transition: transform 0.5s ease;
}

.snuffles-section img:hover {
  transform: scale(1.05);
}

.rick-dados-section {
  background: radial-gradient(circle at center, #111 0%, #000 100%);
  color: #e0e0e0;
  font-family: 'Orbitron', sans-serif;
  padding: 4rem 0;
}

.rick-table {
  width: 90%;
  max-width: 900px;
  border-collapse: collapse;
  background: #0d0d0d;
  border: 2px solid #39ff14;
  border-radius: 10px;
  overflow: hidden;
}

.rick-table th,
.rick-table td {
  padding: 12px 18px;
  border-bottom: 1px solid #2aff71;
  text-align: left;
}

.rick-table th {
  width: 30%;
  color: #39ff14;
  font-weight: bold;
  background: #001a00;
}

.rick-table tr:hover {
  background: rgba(0, 255, 150, 0.1);
  transition: background 0.3s ease;
}

.rick-table ul {
  list-style-type: "🧬 ";
  padding-left: 1em;
}

.rick-table td {
  color: #cfcfcf;
}

/* ============================= */
/* Responsividade */
/* ============================= */
@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
  }

  .link-logo-titulo {
    flex-direction: column;
    gap: 16px;
  }

  .logo {
    height: 100px;
    width: 100px;
  }

  .titulo-cabecalho {
    font-size: 1.4rem;
    text-align: center;
  }

  .nav-botoes ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-section {
    flex-direction: column;
    height: auto;
    padding: 2rem;
  }

  .image-container {
    width: 80%;
    margin-bottom: 2rem;
  }

  .hero-image {
    max-height: 50vh;
  }

  .text-container {
    text-align: center;
    padding: 0;
  }
}
