@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap');

/* Estilo da letra dos hinos */
.hino-text {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: left;
}
.hino-text div {
  margin-bottom: 0.75rem;
}

/* Refrão destacado */
.refrain {
  background: var(--accent);
  border-left: 4px solid var(--primary);
  padding: 1rem;
  border-radius: var(--radius);
  font-style: italic;
  text-align: center;
  color: var(--text);
}

/* Cartão de fundo translúcido */
.glass-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
}
[data-theme="dark"] .glass-card {
  background: rgba(17,24,39,0.7);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Vídeo flutuante */
.video-float-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  z-index: 1000;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  transition: transform 0.3s ease;
}
.video-float-box:hover { transform: scale(1.02); }

.close-float {
  position: absolute;
  top: 5px;
  right: 8px;
  color: white;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1010;
  font-weight: bold;
}

@media (max-width: 640px) {
  .video-float-box { width: 200px; bottom: 10px; right: 10px; }
}

/* Animação de entrada */
@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }
.animate-fadeIn { animation: fadeIn 0.3s ease-in-out; }


/* ==============================
   AJUSTES DE LEGIBILIDADE - MODO ESCURO
   ============================== */

[data-theme="dark"] .hino-text {
  color: var(--text); /* deixa o texto mais branco */
}

[data-theme="dark"] .hino-text div {
  color: var(--text);
}

[data-theme="dark"] .refrain {
  background: rgba(99,102,241,0.15); /* lilás suave com transparência */
  border-left: 4px solid var(--accent);
  color: var(--text);
}

/* melhora contraste dos títulos */
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] strong {
  color: var(--accent);
}

/* mantém input visível no modo escuro */
[data-theme="dark"] input {
  background: #1e293b;
  color: #f8fafc;
  border: 1px solid #334155;
}

