:root{
  --bg:#0f1724;
  --card:#0b1220;
  --muted:#9aa4b2;
  --winter:#01c3f3;
  --spring:#01f396;
  --glass: rgba(255,255,255,0.03);
  --max-width:1100px;
  --radius:10px;
  --gap:18px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

*{box-sizing:border-box;margin:0;padding:0;}
html,body{height:100%;}

/* ================= BACKGROUND ================= */
body.background{
  position:relative;
  min-height:100vh;
  background: 
    linear-gradient(180deg, rgba(7, 39, 39, 0.85) 0%, rgba(15, 36, 35, 0.9) 60%),
    url('../../../Temporadas/2026/Janeiro2026/Thumb_Jan_2026.jpg');
  background-repeat: repeat; /* Repete a imagem apenas horizontalmente */
  background-blend-mode: multiply;
  background-size: auto, auto 100%; /* Ajusta a altura da imagem para 100% */
  background-position: center, 0 0;
  animation: bgShift 70s linear infinite; /* Velocidade aumentada */
  color:#00f7d6;
  line-height:1.45;
  padding:24px 12px;
  overflow-x:hidden;
}
@keyframes bgShift{
  from { background-position: center, 0 0; }
  to { background-position: center, -1920px 0; } /* Anima até o tamanho da imagem */
}

body.background::after{
  content:"";
  position:fixed;
  top:-20%;
  left:-50%;
  width:200%;
  height:140%;
  background:
    radial-gradient(circle at 20% 50%, rgba(110, 207, 231, 0.349) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(115,103,240,0.15) 0%, transparent 50%);
  filter:blur(80px) saturate(120%);
  animation:glide 24s ease-in-out infinite alternate;
  z-index:0;pointer-events:none;
}
@keyframes glide{
  0%{transform:translateX(-50%) translateY(0);}
  100%{transform:translateX(50%) translateY(10%);}
}

/* ================= GLOBAL CONTAINERS ================= */
.container{
  position:relative;
  z-index:1;
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 16px;
}

.site-header{
  position:relative;
  z-index:1;
  margin-bottom:20px;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 0;
  transition:300ms;
}

.brand{display:flex;align-items:center;gap:12px;}
.logo{width:44px;height:44px;border-radius:8px;box-shadow:0 6px 18px rgba(2,6,23,0.6);}
#title{font-size:1.2rem;font-weight:700;color:#fff;margin:0;}

/* ================= NAVBAR ================= */
.topnav{
  display:flex;
  gap:10px;
  align-items:center;
}
.topnav a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  color:var(--muted);
  text-decoration:none;
  border-radius:8px;
  font-weight:600;
  transition:all .18s ease;
}
.topnav a.active,
.topnav a:hover{
  color:#071027;
  background:var(--winter);
  box-shadow:0 6px 18px rgba(14,42,63,0.25);
  transform:translateY(-1px);
}

.icon{
  display:none;
  background:transparent;
  border:0;
  color:var(--muted);
  padding:8px;
  border-radius:8px;
  cursor:pointer;
}

/* ================= MAIN ================= */
.main-content{
  position:relative;
  z-index:1;
  padding:10px 0 40px;
}

/* ================= DETAILS BOXES ================= */
details{
  background:rgba(11,18,32,0.5);
  backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:12px;
  padding:14px;
  margin-bottom:12px;
  box-shadow:0 6px 18px rgba(2,6,23,0.45);
  transition:.15s;
}
details[open]{transform:translateY(-3px);}
details summary{
  list-style:none;
  display:flex;
  align-items:center;
  gap:12px;
  cursor:pointer;
}
.content{margin-top:12px;}

/* ================= FOOTER ================= */
.site-footer{
  border-top:1px solid rgba(255,255,255,0.03);
  padding:18px 0;
  color:var(--muted);
  font-size:0.9rem;
  text-align:center;
  margin-top:32px;
}

/* ================= CHART WRAPPER & LOADER ================= */
.chart-wrapper {
  position: relative;
  min-height: 200px; /* Altura mínima para o loader ser visível mesmo se a grade estiver vazia */
}

.loader-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 36, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100; /* Garante que fique sobre a grade */
    border-radius: 12px;
    transition: opacity 0.3s ease;
}

.loader-spinner {
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top: 5px solid var(--winter);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

/* ================= ANIME GRID ================= */
#anime-chart{
  display: flex;
  flex-wrap: wrap;
  gap:24px;
  margin-top:12px;
  justify-content: center; /* Opcional: centraliza os itens na linha */
}

/* ================= IMAGE CARDS ================= */
.image-container{
  position:relative;
  display:flex;
  flex-direction:column;
  background:rgba(11,18,32,0.4);
  backdrop-filter:blur(12px);
  border:1px solid rgba(110,231,183,0.1);
  border-radius:12px;
  overflow:hidden;
  transition: all 0.4s ease;
  box-shadow:0 8px 24px rgba(2,6,23,0.45);
  flex: 1 1 240px; /* Flexbox: base de 240px, pode crescer mas não encolher */
  max-width: calc(25% - 18px); /* Garante 4 colunas em telas grandes, ajustando pelo gap */
}
.image-container:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 40px rgba(2,6,23,0.6);
}

.image-container a.anime-card-trigger {
  display: block; /* Garante que o 'a' se comporte como um bloco */
  position: relative; /* Essencial para o posicionamento do overlay */
  text-decoration: none; /* Remove sublinhado do link */
  height: 100%;
}

/* Classe para animar o filtro */
.image-container.hidden {
  /* Anima a saída e depois colapsa o espaço */
  transition: transform 0.3s ease, opacity 0.3s ease, max-width 0.4s 0.1s, flex-basis 0.4s 0.1s, margin 0.4s 0.1s, padding 0.4s 0.1s;
  transform: scale(0.8);
  opacity: 0;
  pointer-events: none; /* Impede interação com o card escondido */
  max-width: 0;
  flex-basis: 0;
  padding: 0;
  margin: 0;
  border-width: 0;
}

.title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
  color: #fff;
  padding: 20px 10px 8px 10px; /* Mais padding no topo e em baixo para o gradiente */
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  opacity: 1; /* Deixa a faixa sempre visível */
}


.image-container img.image{
  width:auto;
  height:280px;
  object-fit:cover;
  margin:auto;
  display:block;
  border-radius:12px;
  cursor:pointer;
  transition:.2s;
}
.image-container img.image:hover{transform:scale(1.03);}

/* ================= FILTER CONTAINER ================= */
.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px; /* Aumentar um pouco o espaçamento */
  margin-bottom: 28px;
  justify-content: center;
  padding: 10px 0;
}

#type-filter-container {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

#type-filter-container {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03); /* Fundo mais sutil */
  backdrop-filter: blur(5px); /* Efeito de vidro */
  border: 1px solid rgba(255, 255, 255, 0.08); /* Borda mais sutil */
  color: var(--muted);
  padding: 10px 20px; /* Mais espaçamento interno */
  border-radius: 8px; /* Bordas mais modernas */
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Transição com mais impacto */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff; /* Cor do texto mais clara no hover */
  transform: translateY(-2px); /* Efeito de levantar */
}

.filter-btn.active {
  background: var(--winter);
  color: var(--bg);
  border-color: var(--winter);
  transform: translateY(-2px) scale(1.05); /* Destaca o botão ativo */
  box-shadow: 0 8px 20px rgba(1, 195, 243, 0.2); /* Sombra colorida para o botão ativo */
}

/* ================= SORT CONTAINER ================= */
.sort-container {
    display: flex;
    justify-content: space-between; /* Alinha itens nas extremidades */
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap; /* Permite que os itens quebrem para a próxima linha em telas pequenas */
    gap: 16px; /* Adiciona espaço quando os itens quebram a linha */
    color: var(--muted);
    font-weight: 600;
}

.sort-left-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.anime-count {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    transition: color 0.2s ease;
}

.anime-count #anime-count {
    color: #fff;
}

.sort-select {
    background: rgba(11, 18, 32, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-appearance: none; /* Remove a aparência padrão no Safari/Chrome */
    appearance: none;
}

.sort-select:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.sort-select:focus {
    outline: none;
    border-color: var(--winter);
    box-shadow: 0 0 15px rgba(1, 195, 243, 0.2);
}

/* ================= CLEAR FILTER BUTTON ================= */
.clear-btn {
    background: none;
    border: none;
    color: var(--muted);
    padding: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.clear-btn:hover {
    color: #fc9d9d;
    transform: scale(1.05);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.image-container .star{
  position:absolute;
  top:12px;right:12px;
  background:rgba(0,0,0,0.6);
  border-radius:50%;
  width:44px;height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:.2s;
  z-index:10;
}
.image-container .star:hover{
  background:rgba(110, 231, 215, 0.8);
  transform:scale(1.1);
}
.image-container .star i{font-size:20px;color:#fff;}
.image-container .star i.fas{color:#ffd700;}

/* =================== ANIMECARD (NOVO) =================== */
.animeCard{
  background:rgba(11,18,32,0.55);
  backdrop-filter:blur(14px);
  border:1px solid rgba(110,231,183,0.18);
  border-radius:16px;
  padding:24px;
  margin:30px 0;
  display:flex;
  flex-direction:column;
  gap:28px;
  box-shadow:0 12px 32px rgba(2,6,23,0.55);
}


.anime-card h2{
  font-size:28px;
  text-align:center;
  color:#e8f7f1;
}
.anime-card .english{
  font-size:16px;
  opacity:.75;
}

/* Grid layout - slideshow + info */
.grid-thumb {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Duas colunas: slideshow e texto */
  gap: 28px; /* Espaço entre as colunas */
  align-items: center; /* Alinha verticalmente o texto com o slideshow */
}


.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 400px; /* Ajuste conforme necessário */
    margin: auto;
    overflow: hidden; /* Garante que a imagem não saia do container arredondado */
    aspect-ratio: 2 / 3; /* Proporção de poster, evita distorção */
    border-radius: 12px; /* Bordas arredondadas para o container */
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.5); /* Sombra para dar profundidade */
}

.slideshow-slide {
    display: none; /* Oculto por padrão */
}

.slideshow-slide img {
    width: 100%;
    vertical-align: middle;
    height: 100%;
    object-fit: cover; /* Evita que a imagem estique */
}
.slideshow-slide img:hover {
    cursor: zoom-in;
}
/* Botões de navegação */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    border-radius: 50%;
    user-select: none;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.next {
    right: 0;
    margin-right: 10px;
}

.prev {
    left: 0;
    margin-left: 10px;
}

.prev:hover, .next:hover {
    background-color: var(--winter);
    color: #0f1724;
    transform: translateY(-50%) scale(1.1);
}

/* Texto de contagem (1 / 3) */
.numbertext {
  color: #f2f2f2;
  font-size: 13px;
  padding: 6px 14px;
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Pontos de navegação */
.dot-container {
  text-align: center;
  padding: 10px 0;
  position: absolute;
  bottom: 5px;
  width: 100%;
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.active, .dot:hover {
  background-color: var(--winter);
  transform: scale(1.2);
}

/* Animação de Fade */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .5; transform: scale(1.05);} 
  to {opacity: 1; transform: scale(1);}
}

.info {
  font-size: 15px;
  line-height: 1.6;
  color: #e2e9ef;
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.info b {
  color: var(--winter);
}

/* Responsividade */
@media (max-width: 900px) {
  .grid-thumb {
    grid-template-columns: 1fr; /* Altera para uma única coluna em telas menores */
  }

  .slideshow-container {
    max-width: 100%; /* Garante que o slideshow ocupe toda a largura disponível */
  }

}

.Studio{
  height: auto; /* Altura automática para manter proporção */
  max-height: 42px; /* Altura máxima para logos altos */
  max-width: 150px; /* Largura máxima para logos largos */
  margin-right:8px;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,0.45));
  vertical-align: middle; /* Alinha melhor com o texto ao redor */
  transition: transform 0.3s ease, filter 0.3s ease; /* Adiciona transição suave */
  object-fit: contain; /* Garante que a imagem caiba sem distorcer */
}

.Studio:hover {
  transform: scale(1.05); /* Aumenta ligeiramente o tamanho */
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6)); /* Sombra mais pronunciada */
}

.Studio.white-bg {
  mix-blend-mode: multiply;
}

.info a{
  color:var(--winter);
  font-weight:600;
  text-decoration:none;
}
/* Estilo para os botões "Ler mais" e "Ler menos" */
.read-more-btn, .read-less-btn {
  background: none;
  border: none;
  color: var(--winter);
  font-weight: bold;
  cursor: pointer;
  padding: 2px 4px;
  margin-left: 5px;
  font-size: 14px;
  text-decoration: underline;
  display: inline;
}


.source {
  height: 80px; /* Define uma altura padrão menor */
  width: auto; /* Mantém a proporção da imagem */
  vertical-align: middle; /* Alinha verticalmente com outros elementos */
  margin: 0 4px; /* Adiciona um pequeno espaçamento */
  border-radius: 4px;
  transition: transform 0.2s ease;
}

.source:hover { transform: scale(1.1); }
.info a:hover{text-decoration:underline;}

/* ================= LIGHTBOX (MODAL DE IMAGEM) ================= */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 18, 32, 0.9);
  backdrop-filter: blur(8px);
  animation: lightboxFadeIn 0.4s ease;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-container {
  width: 100%;
  height: 85%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Para o zoom funcionar bem */
}

#lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: grab;
}

#lightbox-img.zooming {
  cursor: grabbing;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10001;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #bbb;
  text-decoration: none;
}

.lightbox-prev,
.lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1; /* Garante que os botões fiquem sobre a imagem com zoom */
}

.lightbox-prev { left: 0; border-radius: 3px 0 0 3px; }
.lightbox-next { right: 0; border-radius: 0 3px 3px 0; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: var(--winter);
  color: #0f1724;
}

.lightbox-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  gap: 10px;
}

.lightbox-controls button {
  background: none;
  border: 1px solid #fff;
  color: #fff;
  font-size: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
}

.lightbox-caption {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #ccc;
  font-size: 16px;
}

/* ================= TRAILERS ================= */
#orientTrailers details{
  background:rgba(255,255,255,0.04);
  padding:16px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.08);
  margin-top:5px;
}
#orientTrailers summary p{
  text-align:center;
  font-size:18px;
  color:#d9f9ee;
}

.trailer{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
  gap:22px;
  margin-top:16px;
}

/* ================= CUSTOM VIDEO PLAYER ================= */
.video-player-container {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 6px 20px rgba(0,0,0,0.42);
  display: flex;
  flex-direction: column;
}

.video-player {
  width:100%;
  height: auto;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.video-caption {
  padding: 10px 14px;
  background: rgba(11,18,32,0.7);
  font-size: 14px;
  text-align: center;
  color: #e2e9ef;
  margin: 0;
}

.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2;
}

.video-player-container:hover .video-controls {
  opacity: 1;
  visibility: visible;
}

.control-button {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.control-button:hover {
  color: var(--winter);
  transform: scale(1.1);
}

.control-button.subtitles-active {
  color: var(--winter);
  transform: scale(1.1);
}

.youtube-subs-btn {
  display: none; /* Escondido por padrão, ativado via JS para vídeos do YouTube */
}
.progress-bar-container {
  flex-grow: 1;
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
  cursor: pointer;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: var(--winter);
  border-radius: 3px;
}

.time-display {
  font-size: 13px;
  color: #fff;
  font-weight: 500;
}

.volume-slider {
  width: 70px;
  cursor: pointer;
  /* O slider agora fica sempre visível para ser compatível com mobile. */
  /* A barra de controles como um todo só aparece no hover do container do vídeo. */
  display: inline-block;
}

/* ================= TO TOP BUTTON CONTAINER ================= */
#buttons {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
}

/* ================= TO TOP BUTTON STYLE ================= */
.to-top {
  width: 50px; 
  height: 50px;
  background-color: var(--winter);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.5);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.to-top.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.to-top:hover { transform: scale(1.1); }

/* ================= RESPONSIVE ================= */
/* Tablet (até 1024px) - 3 colunas */
@media (max-width: 1024px) {
    .image-container {
        max-width: calc(33.333% - 16px);
    }
}

/* Mobile (até 768px) - 2 colunas */
@media (max-width: 768px) {
    .image-container {
        max-width: calc(50% - 12px);
    }
    .image-container img.image { height: 240px; }
}

/* Small Mobile (até 480px) */
@media (max-width: 480px) {
    .image-container img.image { height: 220px; }
    .image-container .star { width: 36px; height: 36px; }
    .image-container .star i { font-size: 16px; }
}

@media(max-width:880px){
  .icon{
    display:flex!important;
    width:44px;height:44px;
    background:rgba(255,255,255,0.02);
    border:1px solid rgba(255,255,255,0.04);
    border-radius:8px;
    position:fixed;
    top:12px;right:12px;
    z-index:10099;
  }

  .header-inner{padding-right:72px;}
  .topnav{display:none;opacity:0;}

  .topnav[aria-hidden="false"]{
    display:flex;
    flex-direction:column;
    position:relative;
    width:calc(100% + 24px);
    margin-right:-12px;
    padding:12px;
    background:rgba(11,18,32,0.5);
    backdrop-filter:blur(12px);
    border:1px solid rgba(110,231,183,0.15);
    border-radius:10px;
    box-shadow:0 12px 34px rgba(2,6,23,0.6);
    opacity:1;
    align-items: stretch; /* Faz os itens se esticarem */
  }

  .topnav[aria-hidden="false"] a {
    width: 100%; /* Garante que o link ocupe todo o espaço */
  }
}

/* ================= SUBTITLE STYLING ================= */
::cue {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem; /* Tamanho base */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
@media(max-width: 768px) {
  ::cue { font-size: 1rem; }
}

/* AnimeCard responsive */
@media(max-width:900px){
  .grid-thumb{grid-template-columns:1fr;}
  .slideshow-container{max-width:350px;}
}

@media(max-width:500px){
  .animeCard{padding:16px;}
  .anime-card h2{font-size:20px;}
  .trailer{grid-template-columns:1fr;}
}
