/* TEMA ESCURO - TOTAL BLACK */

:root {
    --primary: #2d2d2d;
    --primary-dark: #1a1a1a;
    --secondary: #444444;
    --background: #000000;
    --surface: #0a0a0a;
    --surface-light: #151515;
    --text: #ffffff;
    --text-muted: #888888;
    --border: #222222;
    --error: #ef4444;
    --success: #10b981;
}

.hero-title {
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-background::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.btn-hero-primary {
    background: #2d2d2d;
    border-color: #2d2d2d;
}

.btn-hero-primary:hover {
    background: #1a1a1a;
}

.discord-widget {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.logo {
    color: #ffffff;
}

.hero-background {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
}

.notice-icon-E {
    background: rgba(239, 68, 68, 0.3);
}

.notice-icon-U {
    background: rgba(255, 255, 255, 0.2);
}

.tutorial-icon-I {
    background: rgba(255, 255, 255, 0.2);
}
/* ======================= HEADER FINAL AJUSTADO WYD ROGUE ======================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 999;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, height 0.3s ease;
}
.header.scrolled {
  background: rgba(0, 0, 0, 0.85);
}

/* ======================= CONTAINER ======================= */
.header .container {
  width: 100%;
  max-width: none !important;
  margin: 0;
  padding: 0;
}

.header-container,
.header-content {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  height: 25px; /* altura reduzida */
  line-height: 1;
  padding: 0;
}

/* ======================= LOGO ======================= */
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  padding-left: 118px;
}
.logo img {
  height: 64px;
  width: auto;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.logo:hover img {
  transform: translateY(-3px) rotate(5deg);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.35)) brightness(1.25);
}

/* ======================= MENU CENTRAL ======================= */
.nav-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex !important;
  align-items: center;
  gap: 32px;
}
.nav-center .nav-link {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1px;
  transition: color 0.2s ease, text-shadow 0.3s ease;
  text-decoration: none !important;
}
.nav-center .nav-link:hover {
  color: #f8a33a;
  text-shadow: 0 0 6px rgba(248, 163, 58, 0.6);
}

/* ======================= DIREITA ======================= */
.nav-right {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  padding-right: 58px;
  height: 100%;
}

/* --- DASHBOARD ICON --- */
.nav-right .dash-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  text-decoration: none !important;
}
.nav-right .dash-link i {
  font-size: 22px;
  color: #fff !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-right .dash-link:hover i {
  transform: scale(1.15);
  opacity: 0.85;
}

/* --- SAIR --- */
.nav-right .logout-btn {
  display: flex;
  align-items: center;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none !important;
}
.nav-right .logout-btn i {
  margin-right: 6px;
  color: #b02a2a;
}

/* --- LOGIN: contorno super fino --- */
.nav-right .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  border: none;
  box-shadow: inset 0 0 0 0.6px rgba(255, 255, 255, 0.3);
  transition: all 0.2s ease;
  text-decoration: none !important;
}
.nav-right .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 0.8px rgba(255, 255, 255, 0.55);
}

/* --- CADASTRAR: sólido branco --- */
.nav-right .btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none !important;
}
.nav-right .btn-solid:hover {
  background: #f2f2f2;
  color: #000;
}

/* ======================= MENU MOBILE ======================= */
.menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  display: none;
  cursor: pointer;
  padding-right: 12px;
}

/* --- MENU EXPANSÍVEL --- */
.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: rgba(0, 0, 0, 0.96);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 18px 0 25px;
  text-align: center;
  z-index: 999;
}
.mobile-menu.show {
  display: flex !important;
}
.mobile-menu a {
  color: #fff;
  text-decoration: none;
  padding: 10px 0;
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.mobile-menu a:hover {
  color: #f8a33a;
}

/* --- Ícones lado a lado no mobile --- */
.mobile-icons {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
}
.mobile-icons a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mobile-icons a i {
  font-size: 22px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-icons a:hover i {
  transform: scale(1.15);
  opacity: 0.85;
}

/* ======================= RESPONSIVO ======================= */
@media (max-width: 960px) {
  header.header .nav-left,
  header.header .nav-center,
  header.header .nav-right,
  header.header .header-content .nav-left,
  header.header .header-content .nav-center,
  header.header .header-content .nav-right {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  header.header .menu-toggle {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.96);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    padding: 18px 0 25px;
  }

  .mobile-menu.show {
    display: flex !important;
  }

  .mobile-icons {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 12px;
  }
}

/* ======================= FIX: HEADER PRESO ESCURO AO ROLAR ======================= */

/* força o header a voltar para transparente quando estiver no topo */
body:not(.scrolled) .header,
html:not(.scrolled) .header {
  background: rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: blur(6px) !important;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* quando o JS marca .scrolled no header (rolagem ativa), aplica o escuro */
.header.scrolled {
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(10px) !important;
}

/* garante que o header volta para o estado normal se a classe scrolled for removida */
html, body {
  scroll-behavior: smooth;
}

/* fallback seguro e compatível (sem :has) */
@supports not (selector(:has(*))) {
  body .header:not(.scrolled) {
    background: rgba(0, 0, 0, 0.25) !important;
    backdrop-filter: blur(6px) !important;
  }
}




















