@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');
/* Corpo do código*/
:root {
  --bg: #0e0e0e;
  --texto: #d6c8a2;
  --cor: #a16445;
  --caixa: #1b1a1a;
  --borda: #2e2e2e;
  --brilhante: #e2c43f;
  --bosses: #e2e2e2;
  --hover: #c2825d;
  --pessoa: #a73703;
  height: 100%;
  margin: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  color: var(--texto);
  font-family: 'Cinzel', serif;
  line-height: 1.6;
  margin: 0;
  min-height: 100vh;
  background-size: cover;
  background-attachment: fixed;
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
}

header {
  background-color: rgba(15, 15, 15, 0.9);
  border-bottom: 1px solid var(--borda);
  box-shadow: 0 2px 6px #000;
  padding: 1rem 0;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  justify-content: space-between;
  align-items: center;
}

nav#menu ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  gap: 1rem;
}

nav#menu ul li a {
  color: var(--cor);
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  transition: 0.3s ease;
  border-bottom: 2px solid transparent;
}

nav#menu ul li a:hover {
  border-bottom: 2px solid var(--brilhante);
  color: var(--brilhante);
}

main {
  background-color: rgba(27, 26, 26, 0.92);
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 8px;
  max-width: 1000px;
  box-shadow: 0 0 10px #000;
  flex: 1;
  padding-bottom: 3rem;
}

h1#titulo {
  font-size: 3rem;
  text-align: center;
  color: var(--cor);
  margin-bottom: 2rem;
  text-shadow: 2px 2px 5px #000;
}

h2 {
  color: var(--cor);
  margin-top: 2rem;
  text-shadow: 1px 1px 4px #000;
}

blockquote {
  font-style: italic;
  color: #aaa;
  border-left: 3px solid #555;
  border-right: #555;
  padding-left: 10px;
}

p {
  margin-bottom: 10px;
}

/* index html page*/
#conteudo {
  margin-top: 1rem;
  margin-bottom: 2rem;
  background-color: var(--caixa);
  padding: 1.5rem;
  border: 1px solid var(--borda);
  border-radius: 6px;
  box-shadow: 0 0 5px #000;
}

.imagem-conteudo {
  width: 100%;
  border-radius: 6px;
  margin: 1rem 0;
  object-fit: cover;
  max-height: 500px;
}

.bosses #titulo {
  font-size: 43px;
  margin-top: 2rem;
  text-align: center;
  color: var(--bosses);
  margin-bottom: 2rem;
  text-shadow: 2px 2px 5px #000;
}

.bosses h5 {
  font-style: normal;
}

.bosses p {
  text-align: center;
  font-size: 16px;
}

/* lore page */
#drangleic {
  font-size: 43px;
  margin-top: 2rem;
  text-align: center;
  color: var(--pessoa);
  margin-bottom: 2rem;
  text-shadow: 2px 2px 5px #000;
}

.majula-titulo {
  position: relative;
  z-index: 1;
  color: var(--brilhante);
  font-size: 4rem;
  text-shadow: 3px 3px 10px #000;
  text-align: center;
  letter-spacing: 3px;
}

.majula-destaque {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2rem 0;
}

.majula-imagem {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--borda);
  margin-bottom: 1rem;
}

/* separação de imagens entre elas */
.npc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.npc-caixa {
  background-color: var(--caixa);
  border: 1px solid var(--borda);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.npc-caixa:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: var(--cor);
}

.npc-caixa h3 {
  color: var(--pessoa);
  border-bottom: 1px solid var(--borda);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.npc-caixa img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
  border: 1px solid var(--borda);
}

.majula-lista {
  list-style-type: none;
  padding-left: 1rem;
}

.majula-lista li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.majula-lista li::before {
  content: '•';
  color: var(--cor);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.hero-banner {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), center/cover;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
  border-bottom: 3px solid var(--cor);
}

.hero-banner h1 {
  font-size: 4rem;
  color: var(--brilhante);
  text-shadow: 3px 3px 5px #000;
  letter-spacing: 3px;
}

.hero-banner p {
  font-size: 1.5rem;
  color: #ddd;
}

/* Classes e armas page */
#classes h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--cor);
}

#classes h2 span {
  border-bottom: 2px solid var(--brilhante);
  padding-bottom: 0.5rem;
}

.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.class-caixa {
  background: var(--caixa);
  border: 1px solid var(--borda);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  position: relative;
}

.class-caixa:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.class-caixa::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--cor), transparent);
}

.personagem {
  height: 200px;
  overflow: hidden;
  position: relative;
  border-bottom: 2px solid var(--cor);
}

.personagem {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.class-caixa:hover .personagem {
  transform: scale(1.05);
}

.class-caixa:nth-child(even)::before {
  background: linear-gradient(90deg, #6b8cff, transparent);
}

.class-caixa img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.class-info {
  padding: 1.5rem;
}

.class-info h3 {
  color: var(--cor);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.status {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.8rem;
  border-radius: 4px;
  margin: 1rem 0;
}

.status li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #444;
  padding: 0.3rem 0;
}

#armas h2 {
  text-align: center;
  margin: 4rem 0 2rem;
  color: var(--cor);
}

#armas h2 span {
  border-bottom: 2px solid var(--brilhante);
  padding-bottom: 0.5rem;
}

.armas-organizacao {
  margin-bottom: 4rem;
}

.botoes {
  display: flex;
  border-bottom: 2px solid var(--borda);
  margin-bottom: 2rem;
  gap: 1rem;
}

.botao {
  background: none;
  border: none;
  color: #aaa;
  padding: 0.8rem 1.5rem;
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.botao.active {
  color: var(--brilhante);
}

.botao.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background-color: var(--brilhante);
}

.arma-caixa {
  display: flex;
  gap: 2rem;
  background: var(--caixa);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--cor);
  align-items: center;
}

.arma-caixa img {
  width: 100  ;
  height: 250px;
  object-fit: contain;
  border: 1px solid var(--borda);
}

.conteudo-armas {
  display: none;
}

.conteudo-armas.active {
  display: block;
}

.detalhes-armas h3 {
  color: var(--cor);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.status-armas {
  display: flex;
  gap: 2rem;
  margin: 1rem 0;
  color: #bbb;
}

#builds h2 {
  text-align: center;
  margin: 4rem 0 2rem;
  color: var(--cor);
}

#builds h2 span {
  border-bottom: 2px solid var(--brilhante);
  padding-bottom: 0.5rem;
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.build-caixa {
  background: var(--caixa);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--cor);
}

.build-equip {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.build-equip img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1px solid var(--borda);
}

.armas-caixa {
  flex-direction: column;
}

.armas-caixa img {
  width: 100%;
  height: auto;
}

.botoes {
  flex-wrap: wrap;
}

.botoes button {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Bosses page */
#bosses {
  padding: 3rem 0;
  background-color: rgba(27, 26, 26, 0.92);
  border-top: 2px solid var(--cor);
  border-bottom: 2px solid var(--cor);
}

#bosses h2 {
  text-align: center;
  color: var(--brilhante);
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

#bosses h2 span {
  border-bottom: 2px solid var(--cor);
  padding-bottom: 0.5rem;
}

.bosses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.boss-caixa {
  background: var(--caixa);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.boss-caixa:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.boss-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.boss-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.boss-caixa:hover .boss-image {
  transform: scale(1.1);
}

.dificuldade {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--brilhante);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.boss-info {
  padding: 1.5rem;
}

.boss-info h3 {
  color: var(--bosses);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.boss-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.boss-stats span {
  display: flex;
  align-items: center;
}

.boss-stats strong {
  color: var(--brilhante);
  margin-right: 0.3rem;
}

.boss-drops {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--borda);
}

.boss-drops h4 {
  color: var(--cor);
  margin-bottom: 0.5rem;
}

.boss-drops ul {
  padding-left: 1.2rem;
}

.boss-drops li {
  margin-bottom: 0.3rem;
  color: #bbb;
}

#fromsoftware-historia {
  background: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.9));
  padding: 4rem 0;
  color: var(--texto);
}

.historia{
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

#fromsoftware-historia h1 {
  text-align: center;
  font-size: 2.8rem;
  color: var(--brilhante);
  margin-bottom: 0.5rem;
}

#fromsoftware-historia h2 span {
  border-bottom: 2px solid var(--cor);
  padding-bottom: 0.5rem;
}

#fromsoftware-historia h3 {
  text-align: center;
  font-size: 1.5rem;
  color: #aaa;
  margin-bottom: 3rem;
}

.historia-timeline {
  position: relative;
  padding-left: 50px;
  margin: 3rem 0;
}

.historia-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--cor), var(--brilhante));
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-ano {
  position: absolute;
  left: -57.5px;
  top: 0;
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 10px;
  border-radius: 50%;
  background: var(--cor);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border: 3px solid var(--brilhante);
}

.timeline-conteudo {
  background: rgba(30, 30, 30, 0.7);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 3px solid var(--cor);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.timeline-conteudo h4 {
  color: var(--brilhante);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.timeline-image {
  width: 100%;
  max-height: 800px;
  object-fit: cover;
  margin-top: 1rem;
  border: 1px solid var(--borda);
  border-radius: 10px;
}

/* Destaque Miyazaki */
.highlight .timeline-conteudo {
  background: rgba(70, 40, 20, 0.3);
  border-left-color: var(--brilhante);
}

.miyazaki-profile {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  align-items: center;
}

.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cor);
}

.profile-info {
  flex: 1;
}

.profile-info p {
  margin-bottom: 0.5rem;
}

/* Filosofia */
.secao-filosofica {
  background: rgba(20, 20, 20, 0.7);
  padding: 2rem;
  border-radius: 8px;
  margin-top: 3rem;
  border: 1px solid var(--borda);
}

.secao-filosofica h3 {
  text-align: left;
  color: var(--brilhante);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.souls-games {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.souls-games li {
  margin-bottom: 0.5rem;
  position: relative;
  list-style: none;
}

.souls-games li::before {
  content: '◆';
  color: var(--cor);
  position: absolute;
  left: -1rem;
}

/* Comunidade page */
#comunidade-ds2 {
  background: linear-gradient(rgba(15, 15, 15, 0.9), rgba(15, 15, 15, 0.9));
  padding: 4rem 0;
  color: var(--texto);
  border-top: 2px solid var(--cor);
}

.comunidade-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

#comunidade-ds2 h2 {
  text-align: center;
  font-size: 2.8rem;
  color: var(--brilhante);
  margin-bottom: 1rem;
}

#comunidade-ds2 h2 span {
  border-bottom: 2px solid var(--cor);
  padding-bottom: 0.5rem;
}

.comunidade-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ccc;
}

/* Caixas de Comunidade */
.comunidade-conteudo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.comunidade-caixa {
  background: var(--caixa);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.comunidade-caixa:hover {
  transform: translateY(-10px);
}

.cabeca-caixa {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.cabeca-caixa img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.comunidade-caixa:hover .cabeca-caixa img {
  transform: scale(1.1);
}

.cabeca-caixa h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 1rem;
  margin: 0;
  font-size: 1.5rem;
}

.corpo {
  padding: 1.5rem;
}

.corpo ul {
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.cabeca-caixa li {
  margin-bottom: 0.5rem;
  position: relative;
  list-style: none;
}

.cabeca-caixa li::before {
  content: '◆';
  color: var(--cor);
  position: absolute;
  left: -1rem;
}

.pvp-status {
  display: flex;
  justify-content: space-around;
  margin-top: 1.5rem;
}

.status-item {
  text-align: center;
}

.status-numero {
  display: block;
  font-size: 2rem;
  color: var(--brilhante);
  font-weight: bold;
}

.label {
  font-size: 0.9rem;
  color: #aaa;
}

/* Seção de Youtubers */
.youtubers-secao {
  margin: 4rem 0;
}

.youtubers-secao h3 {
  text-align: center;
  font-size: 2rem;
  color: var(--cor);
  margin-bottom: 2rem;
}

.youtubers-section h3 span {
  border-bottom: 2px solid var(--brilhante);
  padding-bottom: 0.5rem;
}

.youtubers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.youtuber-caixa {
  background: var(--caixa);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  transition: transform 0.3s ease;
}

.youtuber-caixa:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.youtuber-avatar {
  width: 120px;
  position: relative;
  flex-shrink: 0;
}

.youtuber-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtuber-plataforma {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  text-align: center;
  padding: 0.3rem;
  font-size: 0.8rem;
}

.youtuber-info {
  padding: 1rem;
  flex: 1;
}

.youtuber-info h4 {
  color: var(--brilhante);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.youtuber-inscritos {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.youtuber-descricao {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.youtuber-link {
  display: inline-block;
  background: var(--cor);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.youtuber-link:hover {
  background: var(--hover);
}

/* Eventos */
.eventos-secao {
  margin-top: 4rem;
}

.eventos-secao h3 {
  text-align: center;
  font-size: 2rem;
  color: var(--cor);
  margin-bottom: 2rem;
}

.eventos-secao h3 span {
  border-bottom: 2px solid var(--brilhante);
  padding-bottom: 0.5rem;
}

.eventos-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.eventos-timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--cor), var(--brilhante));
}

.evento {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
}

.evento-data {
  width: 100px;
  text-align: center;
  font-weight: bold;
  color: var(--brilhante);
  flex-shrink: 0;
}

.evento-conteudo {
  background: rgba(40, 40, 40, 0.7);
  padding: 1.5rem;
  border-radius: 8px;
  margin-left: 1.5rem;
  flex: 1;
  border-left: 3px solid var(--cor);
}

.evento-conteudo h4 {
  color: var(--brilhante);
  margin-bottom: 0.5rem;
}

blockquote {
  font-style: italic;
  color: var(--texto);
  border-left: 3px solid var(--cor);
  padding: 0.5rem 1rem;
  margin: 1rem 0;
  background-color: rgba(161, 100, 69, 0.1);
}

cite {
  display: block;
  text-align: right;
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 0.5rem;
}

img.lore-img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border: 2px solid #444;
  border-radius: 10px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
}

img.lore-img:hover {
  transform: scale(1.02);
}

strong {
  color: var(--hover);
}

em {
  color: #b8a87f;
  font-style: italic;
}

.botao-topo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #222;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s;
  z-index: 1000;
}

#botao-topo.visivel {
  opacity: 1;
}

.botao-topo:hover {
  background-color: #444;
}

#rodape {
  background-color: rgba(10, 10, 10, 0.95);
  padding: 1.5rem;
  text-align: center;
  color: var(--texto);
  border-top: 1px solid var(--borda);
  width: 100%;
  position: relative; 
}

#rodape a {
  color: var(--cor);
  text-decoration: none;
  font-weight: bold;
}

#rodape a:hover {
  color: var(--hover);
  text-decoration: underline;
}