@import url('fonts.css');

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100vw;
  min-height: 100vh;
  z-index: -1;
  object-fit: cover;
}

.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #00000033;
  z-index: -1;
  pointer-events: none;
}

.container{
    display: grid;
    height: 100vh;
    grid-template-columns: 20vw 60vw 19vw;
    grid-template-rows: 1fr;
    position: relative;
    z-index: 1;
}
/* === DIVS === */
.Section-Events-Ranking{ /* 1° */
    min-height: 100vh;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    color: #d1cbcb;
    overflow: hidden;
    text-align: start;
    padding: 20px;
    overflow-y: auto;
    position: sticky;
    top: 0;
    scrollbar-width: none;
    padding-top: 70px;
}

.div-card-events{
  background-color: rgba(22, 22, 22, 0.63);
}

.Section-List-Ranking { /* 2° */
    background-color: rgba(255, 255, 255, 0);
    color: #d1cbcb;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin: 0px 5vh;
    overflow-y: auto;
    height: 100vh;
    scrollbar-width: none;
    padding-top: 70px;
}
.Section-List-Ranking::-webkit-scrollbar {
  display: none;            /* Chrome, Safari */
}

.Section-News-Fixed{ /* 3° */
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    color: #d1cbcb;
    overflow: hidden;
    text-align: end;
    padding: 20px;
    overflow-y: auto;
    position: sticky;
    top: 0;
    padding-top: 70px;
}
.div-card-news{
  background-color: rgba(22, 22, 22, 0.63);
}

/*===class==*/
.div-class {
  width: 100%;
  border-width: 16px;
  border-style: solid;
  border-image: url('/img/frame.png') 16 fill stretch;
  background-color: rgba(19, 18, 18, 0.63);
  margin: 25px 0px;  
}

.icons-container {
  display: flex;
  gap: clamp(4px, 1.5vw, 16px);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-inline: clamp(8px, 2vw, 32px);
  
}

.icon-wrapper:hover { transform: translateY(-2px); }
.icon-wrapper.ativo {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
  background: rgba(210, 231, 22, 0.863);
  border-radius: 50%;
}
.icon-img { width: 28px; height: 28px; image-rendering: crisp-edges; }
@media (min-width: 768px) { .icon-img { width: 32px; height: 32px; } }

.icon-img {
  width: clamp(36px, 2vw, 40px);
  height: clamp(36px, 2vw, 40px);
  object-fit: contain;
  transition: transform 0.1s ease;
}

.icon-img-ranking {
  width: clamp(56px, 2vw, 40px);
  height: clamp(56px, 2vw, 40px);
  object-fit: contain;
  transition: transform 0.1s ease;
}

.icon-img:hover{
  height: 100%;
  border-radius: 10px;
  transform: scale(1.10); /* o zoom */
}

.icons-container .icon-img:hover{
  height: 100%;
  border-radius: 10px;
  transform: scale(1.10); /* o zoom */
}

/*===Section News===*/
.noticias-section{
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0);
  color: #ffffff;
  animation: slideFromTop 0.8s ease-out;
  animation-delay: 0.2s;
  animation-fill-mode: both;
}

.Title-News-card{
  width: 100%;
  margin-bottom: 10px;
  background-color: rgba(66, 61, 61, 0.63);
  border-radius: 0px 0px 10px 10px;
  padding: 10px;
  padding-left: 20px;
}

.Title-News-card h2{
  color: #ffffff;
  font-size: 32px;
  font-family: "Beaufort-for-LOL-Bold", sans-serif;
  margin-bottom: 7px;
  text-align: start;
}

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

  .Content-News{
    width: auto;
    font-weight: 200;
    font-size: 18px;
    color: #d1cbcb;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
 .Content-News p{
    font-family: "Beaufort-for-LOL-Regular", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #d1cbcb;
    margin: 0;
    margin-bottom: 10px;
    text-align: center;
  }
.Content-News .topico-news p{
    text-align: center;
    font-weight: 550;
}

@media screen and (max-width: 1600px) {
  .Section-News-Fixed{
    display: none;
  }
  .container{
    grid-template-columns: 20vw 80vw;
  }
}

@media screen and (max-width: 1100px) {
  .Section-Events-Ranking {
    display: none;
  }
  .Section-News-Fixed{
    display: none;
  }
  .container{
    grid-template-columns: 100vw;
  }
}

@media screen and (max-width: 970px) {
  .Section-Events-Ranking {
    display: none;
  }
  .container{
    grid-template-columns: 99vw;
  }
  .Section-News-Fixed{
    display: none;
  }
}

/*=====TABLE RANK=====*/

.topico-news {
  justify-content: center;
}


.table-ranking, .table-awards {
  width: 100%;
  border-spacing: 0 8px;
}


.table-ranking td, th{
  padding: 8px 12px;
  vertical-align: middle;
}

.table-awards .table-title,
.table-guild .table-title,
.table-ranking .table-title{
  background-color: rgba(19, 19, 19, 0.527);
  color: rgba(226, 225, 225, 0.836);
}

.table-awards .table-content:hover,
.table-guild .table-content:hover,
.table-ranking .table-content:hover{
  background-color: rgba(61, 61, 66, 0.274);
}


.table-ranking .table-title .th-name{
  width: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-shadow: 1px 1px 3px #000000b0;
}

.table-ranking .table-title .th-position {
  width: 4%;
  white-space: nowrap;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  align-items: center;
  flex-direction: row;
  text-shadow: 1px 1px 3px #000000b0;
}

.table-ranking .rank-top1 .td-name{
  font-weight: bold;
  text-shadow:
    0 0 5px #ffee00,
    0 0 10px #ffeb3b,
    0 0 15px #fff8dc;
  color: #fff8dc;
  font-weight: bold;
  animation: brilhoDouradoDinamico 2s linear infinite;
  
}

.td-position{
  align-items: center;
  justify-content: center;
  color: #ffdcdc;
}
.td-guild {
  align-items: center;
  justify-content: center;
  color: #ffdcdc
}
.table-ranking .table-content .td-kill-death{
 color: #c0baba;
 text-shadow: 1px 1px 3px #000000b0;
}

.table-ranking .text-kill{
  color: rgba(226, 71, 71, 0.945);
  font-weight: 600;
  text-shadow: 1px 1px 3px #000000b0;
}

.table-ranking .text-death{
  color: rgba(56, 128, 243, 0.863);
  font-weight: 600;
  text-shadow: 1px 1px 3px #000000b0;
}


.table-ranking img.icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  text-shadow: 1px 1px 3px #000000b0;
}

/*======TABLE-AWARDS============*/

.table-awards td, th{
  padding: 8px 12px;
  vertical-align: middle;
}

.table-awards .table-title .th-name,
.table-awards .table-content .td-name{
  width: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}


.table-awards .table-content .td-position,
.table-awards .table-title .th-position {
  width: 4%;
  white-space: nowrap;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  align-items: center;
  flex-direction: row;
}

.table-awards .table-content .td-amount,
.table-awards .table-title .th-amount {
  width: 4%;
  white-space: nowrap;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  align-items: center;
  flex-direction: row;
}

.td-position-reward-rank-top1{
  border-left: 4px solid #ffd700;  
}

.table-awards .td-name{
  color: #fff8dc;
}

.table-awards .td-position-reward-rank-top1{
  color: #ffdcdc; /* dourado claro, quase branco-dourado */
  font-weight: bold;
  text-shadow:
    0 0 5px #ffd700,
    0 0 7px #ffeb3b,
    0 0 10px #fff8dc;
  animation: brilhoDourado 2.5s ease-in-out infinite;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.048);
  transition: all 0.2s ease-in-out;
}
.table-awards .rank-top1:hover{
  transform: scale(1.01);
}


/* === RANKING GUILD === */
.table-guild td, th{
  padding: 8px 12px;
  vertical-align: middle;
}

.table-guild .table-title .th-name,
.table-guild .table-content .td-name{
  width: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}


.table-guild .table-content .td-position,
.table-guild .table-title .th-position {
  width: 4%;
  white-space: nowrap;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  align-items: center;
  flex-direction: row;
}

.table-guild .table-content .td-amount,
.table-guild .table-title .th-amount {
  width: 4%;
  white-space: nowrap;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  align-items: center;
  flex-direction: row;
}

.td-position-guild-rank-top1{
  border-left: 4px solid #ffd700;
}

.table-guild .td-namerank-top1{
  color: #ffdcdc; /* dourado claro, quase branco-dourado */
  font-weight: bold;
  text-shadow:
    0 0 5px #ffee00,
    0 0 10px #ffeb3b,
    0 0 15px #fff8dc;
  color: #fff8dc;
  font-weight: bold;
  animation: brilhoDouradoDinamico 2s linear infinite;
}

.table-guild .td-position-reward-rank-top1{
  color: #ffdcdc; /* dourado claro, quase branco-dourado */
  font-weight: bold;
  text-shadow:
    0 0 5px #ffd700,
    0 0 7px #ffeb3b,
    0 0 10px #fff8dc;
  animation: brilhoDourado 2.5s ease-in-out infinite;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.048);
  transition: all 0.2s ease-in-out;
}
.table-guild .rank-top1:hover{
  transform: scale(1.01);
}

/* === RANKING DESTACADO === */
.rank-top1 {
  background: linear-gradient(to right, rgba(255, 221, 0, 0.12), rgba(255, 255, 255, 0.03));
  box-shadow: 0 0 12px rgba(255, 221, 0, 0.15);
  font-weight: 700;
}

.td-positionrank-top1 {
  border-left: 4px solid #ffd700;
}

.rank-top2 {
  background: linear-gradient(to right, rgba(180, 180, 180, 0.1), rgba(255, 255, 255, 0.02));
  border-left: 4px solid #c0c0c0;
  font-weight: 600;
}

.rank-top3 {
  background: linear-gradient(to right, rgba(156, 87, 41, 0.1), rgba(255, 255, 255, 0.01));
  border-left: 4px solid #cd7f32;
  font-weight: 600;
}

.rank-top5 {
  background: linear-gradient(to right, rgba(95, 53, 141, 0.08), rgba(255, 255, 255, 0.01));
  border-left: 3px solid #7d5fff;
}

.rank-top10 {
  background-color: rgba(255, 255, 255, 0.02);
  border-left: 2px solid rgba(255, 255, 255, 0.05);
}

/* Efeito de brilho sutil ao passar o mouse */
.table-ranking .rank-top1:hover{
  text-shadow: 1px 1px 3px #000000;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.048);
  transform: scale(1.01);
  transition: all 0.2s ease-in-out;
}

.rank-top2:hover{
  text-shadow: 1px 1px 3px #000000;
  color:#c0c0c0;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.055);
  transform: scale(1.01);
  transition: all 0.2s ease-in-out;
}

.rank-top3:hover {
  text-shadow: 1px 1px 3px #000000b0;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.048);
  transform: scale(1.01);
  transition: all 0.2s ease-in-out;
  color:#c0c0c0;
}

/* Animação leve ao entrar */
.table-content {
  transition: all 0.3s ease;
}


/*===Section Event===*/
.div-events-title{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.events-title {
  margin: 10px;
}
.text-title-animation {
  color: #fff8dc; /* dourado claro, quase branco-dourado */
  font-weight: bold;
  text-shadow:
    0 0 5px #ffd700,
    0 0 10px #ffeb3b,
    0 0 15px #fff8dc;
  animation: brilhoDourado 2.5s ease-in-out infinite;
  font-size: 32px;
  font-family: "Beaufort-for-LOL-Bold", sans-serif;
  margin-bottom: 0;
}

@keyframes brilhoDourado {
  0% {
    text-shadow:
      0 0 5px #ffd700,
      0 0 10px #ffeb3b,
      0 0 15px #fff8dc;
  }
  50% {
    text-shadow:
      0 0 10px #fff176,
      0 0 20px #fff59d,
      0 0 30px #fff8dc;
  }
  100% {
    text-shadow:
      0 0 5px #ffd700,
      0 0 10px #ffeb3b,
      0 0 15px #fff8dc;
  }
}

@keyframes brilhoDouradoDinamico {
  0% {
    text-shadow:
      2px 0px 6px #ffd700,
      -2px 0px 6px #ffcc00,
      0px 2px 12px #fff3b0,
      0px -2px 12px #fff9c4;
  }
  25% {
    text-shadow:
      0px 2px 6px #ffd700,
      0px -2px 6px #ffcc00,
      2px 0px 12px #fff3b0,
      -2px 0px 12px #fff9c4;
  }
  50% {
    text-shadow:
      -2px 0px 6px #ffd700,
      2px 0px 6px #ffcc00,
      0px -2px 12px #fff3b0,
      0px 2px 12px #fff9c4;
  }
  75% {
    text-shadow:
      0px -2px 6px #ffd700,
      0px 2px 6px #ffcc00,
      -2px 0px 12px #fff3b0,
      2px 0px 12px #fff9c4;
  }
  100% {
    text-shadow:
      2px 0px 6px #ffd700,
      -2px 0px 6px #ffcc00,
      0px 2px 12px #fff3b0,
      0px -2px 12px #fff9c4;
  }
}



.ranking-label {
  color: #ffffff;
  font-size: 26px;
  font-family: "Beaufort-for-LOL-Bold", sans-serif;
  margin-right: 10px;
}

.ranking-dropdown {
  background-color: rgba(61, 59, 59, 0.63);
  color: #fff8dc;
  font-size: 22px;
  font-family: "Beaufort-for-LOL-Bold", sans-serif;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}
@keyframes slideFromTop {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 12px;
}

.custom-dropdown {
  width: 100%;
  background-color: rgba(40, 40, 40, 0.95);
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  font-size: 24px;
  font-family: "Beaufort-for-LOL-Bold", sans-serif;
  color: #fff8dc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.custom-dropdown:hover {
  background-color: rgba(50, 50, 50, 0.95);
}

.custom-dropdown .arrow-down {
  font-size: 36px;
  color: #fff8dc;
  pointer-events: none;
  transform: rotate(230deg);
}

.hidden-native-dropdown {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  color: #dfdddd;
  background-color: rgba(40, 40, 40, 0.95);
  font-family: "Beaufort-for-LOL-Bold", sans-serif;
  font-size: 16px;
}

.custom-dropdown-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
  z-index: 10;
}

.custom-dropdown-hover {
  width: 100%;
  background-color: rgba(40, 40, 40, 0.95);
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  font-size: 22px;
  font-family: "Beaufort-for-LOL-Bold", sans-serif;
  color: #fff8dc;
  cursor: pointer;
  transition: background 0.2s ease;
}

.selected-option {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arrow-hover {
  transition: transform 0.3s ease;
  font-size: 36px;
  margin-left: 10px;
}

.dropdown-options {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.custom-dropdown-hover:hover .dropdown-options {
  max-height: 300px;
}

.custom-dropdown-hover:hover .arrow-hover {
  transform: rotate(180deg);
}

.dropdown-item {
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 20px;
  transition: background 0.2s ease;
}

.dropdown-item:hover {
  background-color: rgba(70, 70, 70, 0.9);
}

.dropdown-item.ativo {
  background-color: rgba(255, 215, 0, 0.1); /* leve dourado */
  color: #ffd700;
  font-weight: bold;
  position: relative;
}

.dropdown-item.ativo::before {
  color: #ffd700;
  position: absolute;
  left: 10px;
  right: 15px;
}


/* teste test teste */

.anel-dourado {
  width: 150px;
  height: 150px;
  border-radius: 100%;
  position: relative;
}

.anel-dourado img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-top1 {
  position: relative;
  overflow: hidden;
}

.rank-top1 .video-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rank-top1 .video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55; /* ajuste a opacidade conforme desejar */
}

.content-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

