@import url('fonts.css');

html {
  scroll-behavior: smooth;
}


.section-dragon {
    height: 42vh;
    width: 100%;
    background-image: url('/img/bg-bard3.png');
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
    background-position: center 7%,  50% 100%;
    position: relative, relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.2s ease-in-out;
    text-align: start;
}

.section-dragon .bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(37, 37, 37, 0.363);
  z-index: 0;
  pointer-events: none;
}

.dragon-content {
    padding-top: 210px;
    margin-left: 3vw;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.dragon-content h2 {
    font-size: 64px;
    margin-top: 0px;
    padding-left: 7vh;
    color: #ffffff;
    font-weight: 900;
    font-style: italic;
    font-family: "Beaufort-for-LOL-Bold", sans-serif;
}


/* === APRESENTAÇÃO === */
.apresentacao-section { 
    display: flex;
    flex-direction: row;
    background: #1a1a1a;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    
    justify-content: center;
    background-attachment: scroll;
    background-repeat: no-repeat, no-repeat, repeat-y;
    background-position: 50% 0%, 50% 100%, 50% 0%;
    background-image: url("/img/inbg_01.png"), url("/img/inbg_02.png"), url("/img/inbg_03.png");
    background-size: 100% 40%, 100% auto, 100% auto;
    position: relative;
    height: auto;
    min-height: 100vh;
    padding: 40px 0;

}



/*===Section News===*/
.Content-News-Page{
  display: grid;
  grid-template-columns: minmax(140px, 160px) 1fr auto; /* banner | texto | (imagem à direita opcional) */
  gap: 24px;
  align-items: start;
  font-family: "Beaufort-for-LOL-Bold", sans-serif;
}


.left_Content-News { 
  position: sticky;
  top: 110px;      /* abaixo do header */
  align-self: start;
  margin-left: 1vw;
 }

/* Banner proporcional (um único referencial) */
.imubx{
  width: 100%;            /* preenche a coluna do grid */
  aspect-ratio: 0.282;    /* mesma proporção da arte */
  position: relative;
}

/* Arte de fundo do banner - ocupa 100% do box */
.Content-News-Page .imubx::before{
  content:"";
  position:absolute; inset:0;
  background: url("/img/ph/banner2.png") no-repeat center / 100% 100%;
  pointer-events:none;
  z-index:0;
}

/* Overlay/ilustração extra - também 100% do box */
.Content-News-Page .imubx::after{
  content:"";
  position:absolute; inset:0;
  background: url("/img/ph/im1.png") no-repeat center / 95% 100%;
  pointer-events:none;
  z-index:0;
}

.imubx ul li a.active {
  outline: 2px solid #6cf;      /* exemplo, troque pelo seu estilo */
  border-radius: 6px;
}

/* Camada dos botões (acima dos pseudos) */
.imubx ul{
  list-style:none; margin:0; padding:0;
  position:absolute; inset:0; z-index:1;
}

/* Botões – agora sempre visíveis */
.imubx ul li a {
  position: absolute;
  display: block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.2s steps(); /* suaviza a troca */
}

/* Linha 1 */
.imubx .m1 a {
  background-image: url("/img/informacoes_servidor.png");
}
.imubx .m1 a:hover {
  background-image: url("/img/informacoes_servidor_hover.png");
  background-size: 80%;
  background-position: center;
}

/* Linha 2 */
.imubx .m2 a {
  background-image: url("/img/conteudos.png");
}
.imubx .m2 a:hover {
  background-image: url("/img/conteudos_hover.png");
  background-size: 80%;
  background-position: center;
}

/* Linha 3 */
.imubx .m3 a {
  background-image: url("/img/equipamentos.png");
}
.imubx .m3 a:hover {
  background-image: url("/img/equipamentos_hover.png");
  background-size: 80%;
  background-position: center;
}

/* Linha 4 */
.imubx .m4 a {
  background-image: url("/img/farms.png");
}
.imubx .m4 a:hover {
  background-image: url("/img/farms_hover.png");
  background-size: 80%;
  background-position: center;
}

/* Linha 5 */
.imubx .m5 a {
  background-image: url("/img/informacoes.png");
}
.imubx .m5 a:hover {
  background-image: url("/img/informacoes.png");
  background-size: 80%;
  background-position: center;
}

/*
.imubx .m5 a:hover {
  background-image: url("/img/informacoes.png"), url("/img/tit.png");
  background-size: 80%, 115px 25px;
  background-position: center, center;
}
*/


/* Exemplo de posições relativas ao banner (ajuste pra sua arte) */
.imubx .m1 a { left:10%; top:11%;  width:80%; height:9%; }
.imubx .m2 a { left:10%; top:20%;  width:80%; height:9%; }
.imubx .m3 a { left:10%; top:32%;  width:80%; height:9%; }
.imubx .m4 a { left:10%; top:42%;  width:80%; height:9%; }
.imubx .m5 a { left:10%; top:52%;  width:80%; height:9%; }

/*.imubx ul li a::before{
  content: "";
  position: absolute;
  left: 10%;
  width: 80%;
  height: 8%;
  top: 46%;
  background: url("/img/im_on.png") no-repeat center / contain;
  pointer-events: none;
}*/

.imubx ul li a::after{
  content: "";
  position: absolute;
  left: 10%;         /* alinhado ao conteúdo do botão */
  width: 80%;
  height: 8%;        /* ajuste fino da espessura do divisor */
  bottom: -15%;       /* distância abaixo do botão */
  background: url("/img/ph/div.png") no-repeat center / contain;
  pointer-events: none;
}

.Content-News-Page .bard-collection {


  /* bases */
  --i1-base: url("/img/ico_armor.png");
  --i2-base: url("/img/ico_accessory.png");
  --i3-base: url("/img/ico_weapon.png");
  --i4-base: url("/img/ico_rune.png");

  /* overlays começam desligadas (ligaremos via JS) */
  --i1-over: none;
  --i2-over: none;
  --i3-over: none;
  --i4-over: none;

}

.Content-News-Page .bard-collection::before{
  background-repeat: no-repeat;
  background-position: 100%;
  background-size: 95% 100%;
  background-image: url("/img/ph/bard_female_r.jpg");
  position: absolute;
  left: 53vw;
  
  bottom: 0;           /* fixa no inferior da seção */
  right: 0;
  content: ' ';
  width: 45vw;
  height: 90vh;
}

.Content-News-Page .bard-collection::after{
  content: "";
  position: absolute;
  left: 53vw;
  bottom: 0;
  width: 90vh;
  height: 90vh;
  pointer-events: none;

  /* bases (camadas 1–4) + overlays (camadas 5–8) */
   background-image:
    var(--i1-over), var(--i2-over), var(--i3-over), var(--i4-over),
    var(--i1-base), var(--i2-base), var(--i3-base), var(--i4-base);

  background-repeat:
    no-repeat, no-repeat, no-repeat, no-repeat,
    no-repeat, no-repeat, no-repeat, no-repeat;

  /* mesmas posições para base e overlay de cada ícone */
  background-position:
    25% 55%, 39.3% 66%, 57% 59%, 67.8% 53%,
    25% 55%, 39.3% 66%, 57% 59%, 67.8% 53%;

  background-size:
    12% 12%, 15% 12%, 15% 12%, 8% 8%,
    12% 12%, 15% 12%, 15% 12%, 8% 8%;
}

.Content-News-Page .bard-overlay-stage {
  position: absolute;
  left: 53vw;
  bottom: 0;
  width: 90vh;
  height: 90vh;
  pointer-events: none;
  z-index: 3; /* acima do ::after / ::before */
}

/* ícone que gira por cima */
.Content-News-Page .overlay-icon {
  position: absolute;
  left: 0; 
  top: 0;
  transform: translate(-50%, -50%); /* centraliza no ponto (left/top) */
  width: 10%;
  height: 10%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0; /* escondido até ativar */
  will-change: transform;
}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); } /* horário */
}

.Content-News-Page .overlay-icon.is-spinning {
  animation: spin 2.5s linear infinite; /* ajuste a velocidade aqui */
  opacity: 1;
}


.right_Content-News{ align-self:start; }

.bard-collection .bard-image{
  width: 80vh;
}

.bard-collection .bard-collection::before{
  position: fixed;
}

.noticias-section{
  margin: 10px;/*10px 10vw*/
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
  background-color: #ffffff00;
  color: #000;
  font-family: "Beaufort-for-LOL-Bold", sans-serif;
  font-weight: 400;
}


.Title-News {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.Title-News h2{
  color: #000;
  font-size: 32px;
  margin-top: 50px;
  padding-top: 60px;

  padding-bottom: 20px;
  font-family: "Beaufort-for-LOL-Bold", sans-serif;
  margin-bottom: 7px;
  text-align: center;
}

.Title-News .logo-centralized{
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-centralized{
  width: 165px;
  border-radius: 50%;
  margin-top: 15px;
}

.noticias-section .sub-title{
    margin: 0;
    font-family: "Beaufort-for-LOL-Regular", sans-serif;
    font-weight: 200;
    font-size: 24px;
    font-style: italic;
    color: #171b20;
    margin-bottom: 15px;
    text-align: center;
  }


  .Content-News{
    position: absolute;
    top: 230px;
    margin-left: 15vw;
    width: calc(100% - 40vw);
    margin-right: 25vw;
    bottom: 20%;

    font-family: "Beaufort-for-LOL-Regular", sans-serif;
    font-size: 18px;
    color: #171b20;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: start;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    
  }

  .Content-News::-webkit-scrollbar {
    display: none;            /* Chrome, Safari */
  }

 .Content-News p{
    font-family: "Beaufort-for-LOL-Regular", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #171b20;
    margin: 0;
    margin-bottom: 10px;
  }

.Content-News .topico-news p{
    text-align: start;
    font-weight: 550;
}

/*===Section Discord===*/
.discord-card {
  width: 100%;
  margin: 30px 10px;
  background-color: #2c2f33;
  border-radius: 10px;
  box-shadow: 0 0 10px #000000aa;
  font-family: sans-serif;
  color: white;
  overflow: hidden;
}

.discord-header {
  padding: 10px 15px;
  font-size: 12px;
  color: #b9bbbe;
  border-bottom: 1px solid #444;
}

.discord-body {
  display: flex;
  align-items: center;
  padding: 15px;
}

.discord-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
}

.discord-info {
  flex: 1;
}

.discord-name {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 5px;
}

.discord-stats {
  font-size: 13px;
  color: #b9bbbe;
}

.discord-join {
  background-color: #3ba55d;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.discord-join:hover {
  background-color: #2f8f4e;
}

.discord-msg {
  color: #ffffff;
  padding: 20px 18px;
  border-radius: 12px;
  max-width: 500px;
  margin: 0 auto 20px auto;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.4;
}

.discord-msg p {
  font-size: 15px;
  margin: 0;
}

.discord-msg strong {
  color: #ffffff;
  font-weight: bold;
}

.apresentacao-section {
  position: relative; /* Necessário para o posicionamento absoluto da imagem */
}

.side-image {
  left: 0;
  top: 40%;
  width: 100%;
  max-width: 25vw;
  z-index: 10;
}


.hero {
  position: relative;
  min-height: 100vh;
  background: #0b1b2a url('/img/sua-imagem.jpg') center/cover no-repeat;
  overflow: hidden; /* esconde respingos fora da área */
}
#rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* não bloqueia clique */
}

@media screen and (max-width: 969px) {
  .Content-News-Page .bard-collection::before{
    display: block;
  }
  .Content-News-Page .bard-collection{
    display: block;
  }
  .Content-News{
    margin-left: 30vw;
    margin-right: 0vw;
  }
}

@media screen and (max-width: 968px) {
  .Content-News-Page .bard-collection::before{
    display: none;
  }
  .Content-News-Page .bard-collection{
    display: none;
  }
  .Content-News{
    margin-left: 30vw;
    margin-right: 0vw;
  }
}

@media screen and (max-width: 520px) {
  .Content-News-Page .bard-collection::before{
    display: none;
  }
  .Content-News-Page .bard-collection{
    display: none;
  }
  .Content-News{
    margin-left: 35vw;
    margin-right: 0vw;
  }
  .imubx{
    width: 80%;
  }
}

@media screen and (max-width: 460px) {
  .Content-News-Page .bard-collection::before{
    display: none;
  }
  .Content-News-Page .bard-collection{
    display: none;
  }
  .Content-News{
    margin-left: 38vw;
    margin-right: 0vw;
  }
.imubx{
    width: 80%;
  }
}