:root{
      --bg:#050507;
      --bg-soft:#0b0c10;
      --panel:#101116;
      --panel-2:#14161c;
      --line:rgba(255,255,255,.08);

      --brown:#2b1c11;
      --brown-soft:#5a3e22;
      --bronze:#8b6539;

      --gold:#c8b07a;
      --gold-soft:#ead9a8;

      --text:rgba(255,255,255,.92);
      --muted:rgba(255,255,255,.56);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body{
      margin:0;
      font-family:'Inter',sans-serif;
      color:var(--text);
      background:
        radial-gradient(circle at top, rgba(200,176,122,.09), transparent 18%),
        linear-gradient(180deg, #040405 0%, #07080b 45%, #040405 100%);
    }

    .title-medieval{
      font-family:'Cinzel',serif;
      letter-spacing:.08em;
    }

    .nav-link{
      position:relative;
      transition:.25s ease;
    }

    .nav-link::after{
      content:"";
      position:absolute;
      left:0;
      bottom:-8px;
      width:0;
      height:1px;
      background:linear-gradient(90deg, transparent, #ead9a8 48%, transparent) !important;
      transition:.25s ease;
    }

    .nav-link:hover{
      color:var(--gold);
    }

    .nav-link:hover::after{
      width:100%;
    }

    .panel{
      background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
      border:1px solid rgba(255,255,255,.08);
      box-shadow:
        0 16px 40px rgba(0,0,0,.42),
        inset 0 1px 0 rgba(255,255,255,.03);
      backdrop-filter:blur(10px);
    }

    .panel-dark{
      background:linear-gradient(180deg, rgba(0,0,0,.46), rgba(255,255,255,.02));
      border:1px solid rgba(255,255,255,.08);
      box-shadow:
        0 16px 40px rgba(0,0,0,.42),
        inset 0 1px 0 rgba(255,255,255,.03);
      backdrop-filter:blur(8px);
    }

    .hero-overlay{
      background:
        linear-gradient(to bottom, rgba(0,0,0,.76), rgba(0,0,0,.48), rgba(0,0,0,.90)),
        radial-gradient(circle at center, rgba(200,176,122,.10), transparent 30%);
    }

    .btn-accent{
      background:linear-gradient(180deg, #9b7444 0%, #5a3e22 100%);
      border:1px solid #d7bb83;
      color:#fff8e5;
      box-shadow:0 8px 20px rgba(43,28,17,.42), inset 0 1px 0 rgba(255,248,229,.20);
      transition:.25s ease;
    }

    .btn-accent:hover{
      transform:translateY(-1px);
      background:linear-gradient(180deg, #b58a53 0%, #6f4e2c 100%);
      box-shadow:0 0 24px rgba(200,176,122,.24), inset 0 1px 0 rgba(255,248,229,.26);
    }

    .btn-dark{
      background:rgba(255,255,255,.03);
      border:1px solid rgba(255,255,255,.09);
      transition:.25s ease;
    }

    .btn-dark:hover{
      background:rgba(255,255,255,.05);
      border-color:rgba(255,255,255,.14);
    }

    .gold-text{
      color:var(--gold);
      text-shadow:0 0 16px rgba(200,176,122,.08);
    }

    .divider{
      display:flex;
      align-items:center;
      justify-content:center;
      gap:16px;
    }

    .divider::before,
    .divider::after{
      content:"";
      width:110px;
      height:1px;
      background:linear-gradient(90deg, transparent, rgba(200,176,122,.72), transparent);
    }

    .news-row:hover{
      background:rgba(255,255,255,.025);
    }

    .badge-type{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-width:74px;
      padding:4px 10px;
      border-radius:2px;
      font-size:11px;
      letter-spacing:.08em;
      color:#fff;
      background:linear-gradient(180deg, #1474b7, #0d5f97);
    }

    .frame-border{
      position:relative;
    }

    .frame-border::before{
      content:"";
      position:absolute;
      inset:0;
      border-top:1px solid rgba(200,176,122,.28);
      border-bottom:1px solid rgba(200,176,122,.28);
      pointer-events:none;
    }

    .hero-logo {
      filter: drop-shadow(0 0 24px rgba(200,176,122,.28)) 
              contrast(1.2) 
              brightness(1.3);
    }

    .tiny-label{
      letter-spacing:.30em;
    }

    /* Destaques em dourado envelhecido */
.accent-text{
  color:var(--gold-soft);
  text-shadow:0 0 8px rgba(200,176,122,.25);
}

/* Listas */
.accent-list li::before{
  background:var(--gold);
}

/* Sidebar ativa */
.accent-active{
  background:linear-gradient(180deg, rgba(139,101,57,.25), rgba(90,62,34,.15));
  border-color:rgba(200,176,122,.35);
  color:#fff;
}

.accent-active i{
  color:var(--gold-soft);
}

/* Caixa de dica */
.accent-tip{
  border:1px solid rgba(200,176,122,.35);
  background:linear-gradient(
    180deg,
    rgba(139,101,57,.16),
    rgba(90,62,34,.08)
  );
}

.classe-img{
  border:none !important;
  outline:none !important;
  box-shadow:none !important;
  background:transparent !important;
  transition:all 0.2s ease;
}

.classe-img--hero{
  width:100%;
  height:100%;
  object-fit:contain;
}

.classe-btn .classe-img{
  width:40px;
  height:40px;
  object-fit:cover;
}

.table .classe-img,
td .classe-img{
  width:34px;
  height:34px;
  object-fit:cover;
}

.classe-btn img,
.ranking-class-icon{
  border:none !important;
  outline:none !important;
  box-shadow:none !important;
  background:transparent !important;
}

.classe-btn:hover .classe-img{
  filter:brightness(1.2);
}

.classe-btn.active .classe-img,
.classe-btn.ranking-active .classe-img{
  filter:brightness(1.4);
}

.mobile-menu-panel{
  position:fixed;
  top:96px;
  left:0;
  right:0;
  z-index:49;
  padding:10px 14px 14px;
}

.mobile-menu-nav{
  border-radius:18px;
  overflow:hidden;
}

.mobile-menu-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:46px;
  padding:0 16px;
  border-bottom:1px solid rgba(255,255,255,.06);
  color:rgba(255,255,255,.82);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:12px;
  transition:.22s ease;
}

.mobile-menu-link:hover{
  color:#fff;
  background:rgba(255,255,255,.03);
}

.mobile-menu-link--head{
  border-bottom:none;
  flex:1;
}

.mobile-submenu-group{
  border-bottom:1px solid rgba(255,255,255,.06);
}

.mobile-submenu-head{
  display:flex;
  align-items:center;
}

.mobile-submenu-toggle{
  width:40px;
  height:40px;
  margin-right:6px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:rgba(255,255,255,.78);
  transition:.22s ease;
}

.mobile-submenu-toggle[aria-expanded="true"]{
  color:#fff;
  border-color:rgba(200,176,122,.35);
  background:linear-gradient(180deg, rgba(139,101,57,.20), rgba(90,62,34,.12));
}

.mobile-submenu{
  padding:0 10px 10px;
}

.mobile-submenu-link{
  min-height:40px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.02);
  color:rgba(255,255,255,.78);
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 12px;
  font-size:13px;
  transition:.22s ease;
}

.mobile-submenu-link:hover{
  color:#fff;
  border-color:rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
}

.mobile-menu-open{
  overflow:hidden;
}

@media (min-width: 1024px){
  .mobile-menu-panel{
    display:none !important;
  }
}

.social-sidebar{
  position:fixed;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index:45;
}

.social-item{
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.03);
  color:rgba(255,255,255,.82);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:
    0 12px 28px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.03);
  backdrop-filter:blur(8px);
  transition:.25s ease;
}

.social-item:hover{
  color:#fff;
  border-color:rgba(200,176,122,.35);
  background:linear-gradient(180deg, rgba(139,101,57,.20), rgba(90,62,34,.12));
  transform:translateX(-2px);
  box-shadow:0 0 16px rgba(200,176,122,.16);
}

.social-item i{
  font-size:18px;
  line-height:1;
}

@media (max-width: 1024px){
  .social-sidebar{
    right:12px;
    top:auto;
    bottom:16px;
    transform:none;
  }

  .social-item{
    width:40px;
    height:40px;
    border-radius:12px;
  }

  .social-item i{
    font-size:16px;
  }
}
