/* ─────────────────────────────────────────────
   YUKANIMES — style.css  (Página Principal)
   Design: Dark + Alto contraste roxo
───────────────────────────────────────────── */

html { overflow-x: hidden; }

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --p:       #8b5cf6;   /* purple base      */
  --p2:      #6d28d9;   /* purple deep       */
  --p3:      #a78bfa;   /* purple light      */
  --p-glow:  rgba(139,92,246,0.35);
  --p-dim:   rgba(139,92,246,0.12);
  --bg:      #08080a;
  --bg2:     #0f0f12;
  --bg3:     #16161b;
  --card:    #111115;
  --border:  rgba(139,92,246,0.18);
  --border2: rgba(255,255,255,0.06);
  --text:    #f0f0f5;
  --muted:   #7c7c90;
  --nav-h:   68px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

body {
  background: var(--bg);
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  width: 100%;
}

/* fundo com textura subtil */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(109,40,217,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 90% 80%, rgba(139,92,246,0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ═══════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════ */

.barra {
  width: 100%;
  height: var(--nav-h);
  background: rgba(8,8,10,0.88);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0; left: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: top 0.3s cubic-bezier(.4,0,.2,1);
}

.barra::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--p2) 20%,
    var(--p) 50%,
    var(--p3) 70%,
    transparent 100%);
  opacity: 0.7;
}

.conteudo {
  width: 100%;
  max-width: 1440px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  gap: 20px;
}

/* LOGO */
.logotipo img {
  width: 200px;
  height: auto;
  display: block;
  transition: transform 0.3s, filter 0.3s;
  filter: drop-shadow(0 0 3px rgba(139,92,246,0.15));
  animation: logoGlow 4s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  from { filter: drop-shadow(0 0 2px rgba(139,92,246,0.1)); }
  to   { filter: drop-shadow(0 0 10px rgba(139,92,246,0.5))
                 drop-shadow(0 0 22px rgba(167,139,250,0.15)); }
}

.logotipo img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 14px rgba(139,92,246,0.7))
          drop-shadow(0 0 30px rgba(167,139,250,0.25));
  animation-play-state: paused;
}

/* MENU */
.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.menu a {
  text-decoration: none;
  color: var(--muted);
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 7px 14px;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.menu a:hover {
  color: var(--text);
  background: var(--p-dim);
}

.menu a.active {
  color: var(--p3);
  background: var(--p-dim);
}


/* ── DROPDOWN GÉNEROS — abre/fecha por clique (.ativo via JS) ── */
.dropdown-generos { position: relative; }
.btn-generos { display: flex !important; align-items: center; gap: 6px; cursor: pointer; }
.btn-generos .fa-chevron-down { font-size: 9px; transition: transform 0.25s; }
.dropdown-generos.ativo .fa-chevron-down { transform: rotate(180deg); }

.generos-content {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-top: 2px solid var(--p);
  border-radius: 0 0 12px 12px;
  min-width: 210px;
  z-index: 1100;
  padding: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(139,92,246,0.1);
  animation: dropdownIn 0.18s ease;
}
@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown-generos.ativo .generos-content { display: block; }

.generos-content a {
  color: var(--muted) !important;
  padding: 9px 14px !important;
  border-radius: 6px;
  font-size: 13.5px !important;
  background: transparent !important;
  display: block !important;
  text-decoration: none;
  transition: color 0.15s, background 0.15s, padding-left 0.15s !important;
}
.generos-content a:hover {
  color: var(--text) !important;
  background: var(--p-dim) !important;
  padding-left: 20px !important;
}

/* SEARCH BAR */
.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 0 14px;
  height: 40px;
  gap: 10px;
  width: 210px;
  transition: border-color 0.2s, box-shadow 0.2s, width 0.3s;
}

.search-bar:focus-within {
  border-color: var(--p);
  box-shadow: 0 0 0 3px var(--p-glow);
}

.search-icon { color: var(--muted); font-size: 14px; cursor: pointer; transition: color 0.2s; flex-shrink: 0; }
.search-bar:focus-within .search-icon { color: var(--p3); }

.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  min-width: 0;
}

.search-bar input::placeholder { color: var(--muted); }

/* USUARIO */
.usuario-area {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--p-dim);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.usuario-area:hover {
  border-color: var(--p);
  background: rgba(139,92,246,0.2);
  box-shadow: 0 0 12px var(--p-glow);
}

.icone-usuario {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--p2);
  border: 2px solid var(--p);
  object-fit: cover;
  padding: 0;
}

.nome-usuario { color: var(--text); font-size: 13.5px; font-weight: 500; }

/* MENU TOGGLE */
.menu-toggle {
  display: none;
  font-size: 20px;
  color: var(--text);
  cursor: pointer;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--p-dim);
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.menu-toggle:hover { background: rgba(139,92,246,0.2); border-color: var(--p); }

/* RESPONSIVE ≤1070px */
@media (max-width: 1070px) {
  .menu {
    position: absolute;
    top: var(--nav-h);
    left: 0; width: 100%;
    background: rgba(8,8,10,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s;
  }

  .menu.ativo {
    max-height: 160px;
    opacity: 1;
    padding: 12px 14px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--p) transparent;
  }

  .menu::-webkit-scrollbar { height: 3px; }
  .menu::-webkit-scrollbar-thumb { background: var(--p); border-radius: 4px; }

  /* item de login mobile */
  .menu-login-item {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    border-top: 1px solid var(--border2);
    width: 100%;
    margin-top: 4px;
    color: var(--muted);
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
  }

  .menu-login-item:hover { background: var(--p-dim); color: var(--text); }
  .menu-login-item img { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--p); background: var(--p2); }

  .menu-toggle { display: flex; order: 1; }
  .logotipo { order: 2; flex: 1; display: flex; justify-content: center; margin-right: 0; }
  .usuario-area { display: none !important; }

  .search-bar {
    order: 3;
    flex-shrink: 0;
    width: 40px;
    padding: 0 12px;
    overflow: hidden;
    transition: width 0.4s cubic-bezier(.4,0,.2,1), border-color 0.2s, box-shadow 0.2s;
  }

  .search-bar input {
    width: 0; opacity: 0; padding: 0; pointer-events: none;
    transition: width 0.4s cubic-bezier(.4,0,.2,1), opacity 0.25s;
  }

  .search-bar.ativo { width: 175px; border-color: var(--p); box-shadow: 0 0 0 3px var(--p-glow); }
  .search-bar.ativo input { width: 100%; opacity: 1; pointer-events: auto; padding: 0; }
  .search-icon { display: flex; }
}

@media (max-width: 650px) {
  .menu a { font-size: 13px; padding: 6px 10px; }
  .dropdown-generos:hover .generos-content { display: none; }
  .dropdown-generos.ativo .generos-content { display: block; }
}

@media (max-width: 480px) {
  .search-bar.ativo { width: 140px; }
}

/* ═══════════════════════════════════════════
   MODAL
═══════════════════════════════════════════ */

.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(8px);
}

.auth-box {
  background: var(--bg3);
  padding: 32px;
  width: 340px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(109,40,217,0.3), 0 30px 60px rgba(0,0,0,0.7);
  position: relative;
}

.fechar-auth {
  position: absolute;
  right: 16px; top: 12px;
  font-size: 22px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}
.fechar-auth:hover { color: var(--text); }

.auth-tabs {
  display: flex;
  margin-bottom: 22px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}

.auth-tabs button {
  flex: 1; padding: 9px;
  border: none; cursor: pointer;
  background: transparent;
  color: var(--muted);
  border-radius: 7px;
  font-family: 'Syne', sans-serif;
  font-size: 14px; font-weight: 700;
  transition: all 0.2s;
}

.auth-tabs .ativo { background: var(--p); color: #fff; box-shadow: 0 4px 14px rgba(139,92,246,0.4); }

.auth-form { display: none; flex-direction: column; gap: 10px; }
.auth-form.ativo { display: flex; }

.auth-form input {
  padding: 11px 14px;
  border-radius: 9px;
  border: 1px solid var(--border2);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form input:focus {
  border-color: var(--p);
  box-shadow: 0 0 0 3px var(--p-glow);
}

.auth-form button {
  background: var(--p);
  border: none;
  padding: 12px;
  color: white;
  border-radius: 9px;
  cursor: pointer;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(139,92,246,0.4);
}

.auth-form button:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(139,92,246,0.5);
}

/* ═══════════════════════════════════════════
   MAIN CONTENT
═══════════════════════════════════════════ */

main {
  min-height: 100vh;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
  padding-top: calc(var(--nav-h) + 32px);
  position: relative;
  z-index: 1;
}

/* ─── CARROSSEL ─── */
.carrossel-topo { width: 100%; }

.viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.carrossel-topo .viewport { padding: 0; }

.track {
  display: flex;
  gap: 12px;
  padding: 4px;
  transition: transform 0.8s cubic-bezier(.4,0,.2,1);
}

.slide-item {
  flex-shrink: 0;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}

.slide-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.slide-item:hover::after {
  border-color: var(--p);
  box-shadow: inset 0 0 0 1px var(--p), 0 0 20px var(--p-glow);
}

.slide-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: var(--bg3);
  transition: transform 0.4s ease, filter 0.3s;
  filter: brightness(0.9);
}

.slide-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.05);
}

@media (min-width: 901px)  { .slide-item { width: calc((100% - 24px) / 3); } }
@media (max-width: 900px)  { .slide-item { width: calc((100% - 12px) / 2); } }
@media (max-width: 520px)  { .slide-item { width: 100%; } }

.carousel-indicators { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.carousel-indicators span { width: 6px; height: 6px; background: #333; border-radius: 50%; transition: all 0.3s; }
.carousel-indicators span.active { width: 22px; background: var(--p); border-radius: 6px; }

/* ─── DIVISOR ─── */
hr {
  width: 100%;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 40px 0 32px;
}

/* ─── TÍTULOS ─── */
.titulo1 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  position: relative;
  letter-spacing: -0.2px;
  padding-left: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.titulo1::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 70%;
  background: linear-gradient(180deg, var(--p), var(--p3));
  border-radius: 2px;
  box-shadow: 0 0 8px var(--p-glow);
}

/* ─── EPISÓDIOS ─── */
.episodios { width: 100%; }

.lista-episodios {
  display: grid;
  gap: 24px 16px;
}

.episodio-card {
  text-decoration: none;
  color: var(--text);
  background: transparent;
  display: block;
}

.thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  transition: border-color 0.2s;
}

/* Sem brilho roxo — só play branco no hover */
.episodio-card:hover .thumb { border-color: var(--border2); }

/* Overlay + play branco apenas no hover */
.thumb::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .28s ease; pointer-events: none;
}
.episodio-card:hover .thumb::before { opacity: 1; }

.thumb::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(.75); z-index: 2;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 2.5px solid rgba(255,255,255,.6);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 55% 50%; background-size: 48%;
  box-shadow: 0 6px 28px rgba(0,0,0,.4);
  opacity: 0; transition: opacity .28s ease, transform .28s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
.episodio-card:hover .thumb::after { opacity: 1; transform: translate(-50%,-50%) scale(1); }

.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.episodio-card:hover .thumb img { transform: scale(1.04); }

.info { margin-top: 10px; }
.info h3 { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 3px; }
.info p { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.info span { font-size: 11.5px; color: #4a4a5a; }

/* Novos episódios na home: 4 col PC / 3 tablet / 2 mobile */
@media (min-width: 1025px) { .lista-episodios { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1024px) { .lista-episodios { grid-template-columns: repeat(3, 1fr); } }
@media (max-width:  600px) { .lista-episodios { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; } }

/* ─── SECÇÃO HEADER (título + ver todos) ─── */
.secao-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.secao-header .titulo1 { margin-bottom: 0; }

.ver-todos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--p3);
  background: var(--p-dim);
  padding: 7px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  border: 1px solid var(--border);
  transition: background 0.2s, box-shadow 0.2s;
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ver-todos:hover {
  background: rgba(139,92,246,0.22);
  box-shadow: 0 0 12px var(--p-glow);
}

/* ─── GRID HOME (destaques + recentes) ─── */
.destaques { width: 100%; }
.adicionados { width: 100%; }

.grid-home {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px 12px;
  width: 100%;
}
@media (max-width: 1024px) { .grid-home { grid-template-columns: repeat(4, 1fr); gap: 16px 10px; } }
@media (max-width:  600px) { .grid-home { grid-template-columns: repeat(3, 1fr); gap: 12px 8px; } }

.grid-home-card {
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}
.grid-home-thumb {
  width: 100%;
  aspect-ratio: 2/3;
  background: var(--bg3);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border2);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.grid-home-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s;
}
/* Sem lift nem brilho roxo — apenas play no hover */
.grid-home-card:hover .grid-home-thumb { border-color: var(--border2); }
.grid-home-card:hover .grid-home-thumb img { transform: scale(1.04); }

/* Overlay + play branco aparecem SÓ no hover */
.grid-home-thumb::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: rgba(0,0,0,0.42);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .28s ease; pointer-events: none;
}
.grid-home-card:hover .grid-home-thumb::before { opacity: 1; }
.grid-home-thumb::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(.75); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 2px solid rgba(255,255,255,.6);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23111'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 55% 50%; background-size: 48%;
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
  opacity: 0; transition: opacity .28s ease, transform .28s cubic-bezier(.34,1.56,.64,1); pointer-events: none;
}
.grid-home-card:hover .grid-home-thumb::after { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* Info: apenas nome + data */
.grid-home-titulo {
  font-family: 'Syne', sans-serif;
  font-size: 12.5px; font-weight: 700;
  margin-top: 9px; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.grid-home-sub {
  font-size: 11px; color: var(--muted);
  margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.grid-home-badge {
  position: absolute; top: 7px; left: 7px;
  background: var(--p); color: #fff;
  font-family: 'Syne', sans-serif; font-size: 9px; font-weight: 700;
  padding: 2px 6px; border-radius: 4px; z-index: 2;
  letter-spacing: 0.4px; text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(109,40,217,.5);
}

/* ─── DESTAQUES (legado) ─── */
.destaque-card { text-decoration: none; color: var(--text); }
.grid1 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px 12px;
  width: 100%;
}
@media (max-width: 1024px) { .grid1 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width:  600px) { .grid1 { grid-template-columns: repeat(3, 1fr); } }
.item1 { display: flex; flex-direction: column; }
.thumb1 {
  width: 100%; aspect-ratio: 2/3; background: var(--bg3); border-radius: 10px;
  object-fit: cover; overflow: hidden; border: 1px solid var(--border2);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.thumb1 img { width: 100%; height: 100%; object-fit: cover; }
.thumb1 { cursor: pointer; }

/* BADGE TAG */
.tag {
  position: absolute;
  top: 7px; left: 7px;
  background: var(--p);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(109,40,217,0.5);
}

/* ── BADGE ONLINE NA NAVBAR ── */
.nav-online-badge{display:inline-flex;align-items:center;gap:5px;font-family:'Syne',sans-serif;font-size:11.5px;font-weight:700;color:#22c55e;letter-spacing:.3px;padding:3px 8px 3px 5px;border-radius:999px;background:rgba(34,197,94,.1);border:1px solid rgba(34,197,94,.2);white-space:nowrap;}
.nav-online-dot{width:6px;height:6px;border-radius:50%;background:#22c55e;display:inline-block;flex-shrink:0;animation:onlinePulse 2s ease-in-out infinite;box-shadow:0 0 6px rgba(34,197,94,.7);}
@keyframes onlinePulse{0%,100%{opacity:1;transform:scale(1);}50%{opacity:.5;transform:scale(.8);}}

/* ── BOTÃO ADMIN NO MENU ── */
.menu-admin-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--p3) !important;
  font-family: 'Syne', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  background: var(--p-dim) !important;
  border: 1px solid var(--border) !important;
  transition: background 0.2s, box-shadow 0.2s !important;
  white-space: nowrap;
}
.menu-admin-link::after { display: none !important; }
.menu-admin-link:hover {
  background: rgba(139,92,246,0.22) !important;
  box-shadow: 0 0 12px var(--p-glow) !important;
}
