@media (max-width: 993px) {
  .light-animation,
  .sparks {
    display: none;
  }
  .topPanel {
    background: rgba(7, 10, 17, 0.95);
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.2);
    height: 70px;
  }
  .topPanel .topPanel-left {
    border-bottom: 0px;
    transition: 0.3s;
    width: 320px;
    height: 100vh;
    left: -320px;
    top: 0px;
    position: fixed;
    max-height: 100vh; /* ou outro valor desejado */
    background: rgba(7, 10, 17, 0.95);
    z-index: 11;
    display: block;
    padding-top: 140px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .topPanel .topPanel-left.active {
    left: 0px;
  }

  /* Nav Menu */
  .nav-menu {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .topPanel-right {
    width: auto;
  }
  .logo-mini {
    display: block;
    margin-right: 15px;
    position: absolute;
    left: 20px;
    top: 20px;
  }

  .nav {
    width: 100%;
    height: 100%;
    overflow-y: auto;
  }
  .nav li {
    display: block;
  }
  .nav li a {
    padding: 30px 55px 30px 35px;
    height: auto;
    line-height: 1;
    font-size: 20px;
  }
  .nav li ul {
    position: relative;
    left: auto;
    top: auto;
    opacity: 1;
    visibility: visible;
    transition: none;
  }
  .nav li ul li a {
    font-size: 18px;
  }
  .nav .sub-menu a {
    padding: 30px 55px 30px 35px;
  }
  .nav .sub-menu:before {
    top: 37px;
    margin-top: 0px;
    right: 15px;
  }
  .topPanel.topPanel-fixed .nav li {
    background: none !important;
  }

  .btn {
    width: 50px;
    height: 40px;
    display: flex;
    align-items: center;
  }

  .btn .btn-wrap {
    width: 100%;
    height: max-content;
  }

  .btn.active .btn-wrap {
    height: 27px;
  }

  .btn,
  .btn.active {
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-menu li a {
    height: auto;
    line-height: 54px;
  }

  .nav-menu li ul {
    position: unset;
  }

  .sub-menu.active .btn-dropdown {
    background-color: #04050891;
  }

  .slideContent {
    padding: 120px 120px 70px 30px;
  }

  .slide-hero {
    right: 0;
  }
}

@media screen and (min-width: 1px) and (max-width: 768px) {
  body {
    background-position: -455px top;
    background-size: 1459px;
  }

  .wrapper {
    width: 100%;
  }

  /* Botão toggle fixo (visível no mobile) */
  .toggle-panel-btn {
    position: fixed;
    top: 85px;
    right: 20px;
    z-index: 10;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px 14px;
    font-size: 24px;
    border-radius: 8px;
    cursor: pointer;
    display: none; /* só aparece no mobile */
    transition: background-color 0.3s ease;
  }
  .toggle-panel-btn:hover {
    background-color: #333;
  }

  .mainHomeBlockPlugin {
    gap: 1rem;
  }

  .mainHomeBlockPlugin > div {
    height: auto;
  }

  .blockHomePlugin {
    width: 100%;
    height: auto;
    background-size: cover;
  }

  .mainHomeBlock > div {
    height: auto;
  }

  .bottom-block {
    width: 100%;
  }

  .mainHomeBlock {
    gap: 1rem;
  }

  .mainHomeBlock .blockHome {
    width: 100%;
    height: auto;
    background-size: contain;
    margin-right: 0 !important;
  }

  .events-list {
    width: auto;
    height: auto;
  }

  .socHome {
    margin: 0 auto;
  }

  .toTop span {
    padding-top: 41px;
    display: block;
  }

  .rankings.blockHome {
    width: 100%;
    background-size: contain;
  }

  .ghallfame span.top-lvl {
    text-align: end;
  }

  .top-block .top-lvl {
    width: 200px;
  }

  .footerMenu {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 1rem;
    left: 0;
  }

  .footerMenu > div {
    width: 100%;
  }

  .footerInfo {
    text-align: center;
  }

  .footerInfo-block {
    justify-content: center;
  }

  .copy {
    margin: 0;
  }
}

@media screen and (min-width: 1px) and (max-width: 992px) {
  .posts .nav li a,
  .events-list .nav li a {
    font-size: smaller;
    padding: 0;
  }

  /* Castle Siege */
  .nxt-cs {
    top: 10px;
  }

  /* Top Classes */
  .slideContent {
    padding: 0;
    height: 684px;
  }
  .slide-hero {
    right: -88px;
  }

  .slideInfo {
    top: 100px;
    padding: 0 20px;
  }

  .slideInfo-text,
  .slideInfo-name {
    margin-bottom: 0;
  }

  .slideInfo::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    filter: blur(15px);
    z-index: -1;
  }

  .bigSlider .slick-arrow.slick-prev {
    --size-pixel-poition: -57px;
    left: var(--size-pixel-poition);
  }

  .bigSlider .slick-arrow.slick-next {
    --size-pixel-poition: -57px;
    right: var(--size-pixel-poition);
  }

  .hand-animation {
    display: none;
  }

  .logo {
    max-width: 300px;
    margin: 0 auto;
    padding-top: 150px;
  }

  header {
    height: 100%;
  }

  .topPanel-wrapper {
    border: none;
  }

  .posts .nav li a,
  .events-list .nav li a {
    font-size: smaller;
    padding: 0;
  }

  .onlinetop,
  .logo,
  .download,
  .countdowns {
    position: unset;
  }

  .countdowns {
    margin: 1rem auto;
  }

  .download {
    margin: 0 auto;
  }

  aside {
    display: none;
  }

  .content {
    width: 100%;
  }
}

@media screen and (min-width: 576px) and (max-width: 991px) {
  .nxt-cs {
    top: -33px;
  }
}

@media screen and (max-width: 376px) {
  .rankings.blockHome {
    margin: 0;
  }

  .ghallfame .top-block {
    width: 100%;
  }

  .ghallfame .bottom-block {
    gap: 1rem;
  }

  .ghallfame .top-block .top-title {
    width: auto;
    margin: 0;
    padding: 0 22px;
  }

  .ghallfame .top-block .top-lvl {
    width: auto;
  }

  .socHome {
    width: 100%;
  }

  .socHome .socButton,
  .socHome .socBlock {
    width: inherit;
  }

  .newsLink-info {
    width: 100%;
  }

  .newsLink-info a,
  .newsLink-info div {
    width: inherit;
  }

  .download-button {
    background-size: contain;
    max-width: 360px;
    min-width: 324px;
    width: 100%;
  }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
  .mainHomeBlockPlugin .blockHomePlugin,
  .mainHomeBlock .bottom-block {
    flex: 1;
  }

  .cs-result #cs-owner {
    margin-left: 67px;
  }

  .cs-result #cs-master {
    margin-right: 67px;
  }

  .siege-date {
    top: 25px;
  }

  .top-title {
    margin: 0;
    width: 100%;
  }

  .top-block .top-lvl {
    width: 340px;
  }

  .bottom-block .rankings.blockHome {
    flex: 1;
    width: 47%;
  }

  body {
    background-position: -233px top;
  }

  .mainHomeBlockPlugin {
    gap: 1rem;
  }

  .mainHomeBlockPlugin > div {
    width: 100%;
  }

  .kingHome {
    flex-direction: column;
  }

  .mainHomeBlock > div.socHome {
    height: auto;
  }

  .bottom-block > div {
    background-size: contain;
  }

  .mainHomeBlock {
    gap: 1rem;
  }

  .mainHomeBlock .bottom-block {
    width: 49%;
  }

  .mainHomeBlock .bottom-block > div {
    width: 100%;
    margin-right: 0 !important;
  }

  .events-list,
  .list-i {
    width: 100%;
  }

  .nav {
    height: auto;
  }

  .socHome {
    width: 100%;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .socHome .socButton {
    width: 50%;
    flex: 1 0 0;
    margin-bottom: 0;
  }

  .ghallfame .rankings.blockHome {
    padding: 35px 26px;
  }

  .ghallfame .top-title {
    padding: 0 22px;
  }

  .ghallfame .top-list {
    width: 100%;
    padding: 5px 17px;
  }

  .ghallfame span.top-lvl {
    text-align: end;
  }

  .top-block .top-lvl {
    width: 92px;
  }

  .top-block .top-name {
    width: 162px;
  }

  .top-block .top-flag {
    width: 44px;
  }

  .top-block .top-number {
    width: 36px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
  .bottom-block > div {
    background-size: contain;
  }

  .mainHomeBlock .bottom-block {
    gap: 1rem;
  }

  .mainHomeBlock .bottom-block {
    width: 49%;
  }

  .mainHomeBlock .bottom-block > div {
    width: 100%;
    margin-right: 0 !important;
  }

  .posts .nav li a,
  .events-list .nav li a {
    font-size: smaller;
    padding: 0;
  }
  .mainHomeBlockPlugin > div {
    flex: 1;
  }

  .mainHomeBlockPlugin {
    gap: 1rem;
  }

  .blockHomePlugin {
    width: 100%;
  }

  .kingHome {
    flex-direction: column;
  }

  .mainHomeBlock > div.socHome {
    height: auto;
  }

  .socHome {
    width: 100%;
    display: flex;
    gap: 1rem;
    margin-top: 15px;
    flex-wrap: wrap;
  }
  .socHome .socButton {
    width: 50%;
    flex: 1 0 0;
    margin-bottom: 0;
  }

  .bottom-block .rankings.blockHome {
    width: 47%;
    flex: 1 0 0;
  }

  .events-list,
  .list-i {
    width: 100%;
  }

  .list-i li {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  /* Castle Siege */
  .nxt-cs {
    top: -23px;
  }
}

@media screen and (min-width: 576px) and (max-width: 1400px) {
  .hero-logo {
    display: none !important;
  }
}

@media screen and (min-width: 993px) and (max-width: 1400px) {
  .slideInfo {
    left: 50px;
  }

  .slideInfo {
    position: absolute;
    left: 0;
    padding: 15px;
  }

  .slide-hero {
    right: -50px;
  }

  .slideContent {
    max-width: 1015px;
    margin: 0 auto;
  }
}

@media screen and (min-width: 1400px) {
  .slideContent {
    max-width: 1050px;
    width: 100%;
    margin: 0 auto;
    padding: 120px 120px 70px 0;
  }

  .slide-hero {
    right: 0;
  }
}

/* Mostrar botão apenas em telas menores que 768px */
@media (max-width: 768px) {
  .toggle-panel-btn {
    display: block;
  }

  .rightBodyLinks {
    transition: right 0.4s ease;
    right: -150px; /* esconde fora da tela */
  }

  .rightBodyLinks.active {
    right: 0; /* mostra o painel */
  }
}
