/* Definição de Variáveis de Cores (Tema Claro Padrão) */
:root {
    --bg-color: #f4f7f6; /* Fundo leve e limpo */
    --sidebar-bg: #0b192c; /* Azul Marinho Profundo da Logo */
    --sidebar-text: #ecf0f1;
    --text-color: #333333;
    --text-muted: #64748b;
    --card-bg: #ffffff;
    --primary-color: #ff6600; /* Laranja Vibrante da Logo */
    --border-color: #e2e8f0;
}

/* Tema Escuro (Ativado via JavaScript no <html>) */
/* Dica: Usar tons de azul muito escuro em vez de cinza/preto puro fica muito mais premium! */
[data-theme="dark"] {
    --bg-color: #0a1120; /* Fundo Azul Marinho super escuro */
    --sidebar-bg: #040914; /* Quase preto, com toque de azul */
    --sidebar-text: #e2e8f0;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --card-bg: #111c33; /* Cartões levemente destacados do fundo */
    --primary-color: #ff6600; /* Laranja continua quebrando o padrão e dando contraste */
    --border-color: #1e293b;
}

/* Reset Básico */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; display: flex; height: 100vh; background-color: var(--bg-color); color: var(--text-color); transition: background-color 0.3s, color 0.3s; }

/* Menu Lateral (Sidebar) */
.sidebar { width: 250px; background-color: var(--sidebar-bg); color: var(--sidebar-text); display: flex; flex-direction: column; padding: 20px; transition: background-color 0.3s; }
.sidebar h2 { margin-bottom: 30px; text-align: center; }
.sidebar nav a { color: var(--sidebar-text); text-decoration: none; padding: 10px; display: block; border-radius: 5px; margin-bottom: 5px; transition: 0.2s; }
.sidebar nav a:hover { background-color: rgba(255,255,255,0.1); }
.sidebar-footer { margin-top: auto; } /* Joga o rodapé do menu pro fundo */

/* Área de Conteúdo Principal */
.main-content { flex: 1; display: flex; flex-direction: column; overflow-y: auto; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 20px; background-color: var(--card-bg); border-bottom: 1px solid var(--border-color); }
.content-area { padding: 20px; }

/* Elementos Comuns (Cartões e Botões) */
.card { background-color: var(--card-bg); padding: 20px; border-radius: 8px; border: 1px solid var(--border-color); box-shadow: 0 2px 4px rgba(0,0,0,0.05); margin-bottom: 20px; }
.btn { background-color: var(--primary-color); color: white; border: none; padding: 8px 16px; border-radius: 5px; cursor: pointer; transition: 0.2s; }
.btn:hover { opacity: 0.9; }
/* Botão Outline adaptável aos Temas Claro/Escuro */
.btn-outline { 
    background-color: transparent; 
    border: 1px solid var(--text-color); 
    color: var(--text-color); 
    padding: 8px 16px; 
    border-radius: 5px; 
    cursor: pointer; 
    transition: 0.2s; 
}

.btn-outline:hover { 
    background-color: var(--text-color); 
    color: var(--bg-color); 
}


/* =========================================
   COMPONENTE: MINI-BAR DE PERFIL (SIDEBAR)
========================================= */

.sidebar-footer {
    margin-top: auto;
    position: relative;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

/* Botão de acionamento do perfil */
.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 12px;
    color: var(--sidebar-text);
    text-align: left;
    transition: background-color 0.2s;
}

.user-menu-btn:hover {
    background-color: rgba(150, 150, 150, 0.1);
}

/* Avatar com Gradiente Laranja da Logo */
.avatar-fallback {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    /* Gradiente indo do Laranja Claro para o Laranja Escuro */
    background: linear-gradient(135deg, #ff8c00, #ff4500); 
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Textos do botão */
.user-info { flex: 1; overflow: hidden; }
.user-name { font-size: 0.9rem; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0;}
.user-action { font-size: 0.7rem; opacity: 0.7; margin: 0; }
.chevron-icon { font-size: 0.8rem; opacity: 0.5; transition: transform 0.3s; }

/* Menu Flutuante (Dropdown) */
.user-dropdown {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
    overflow: hidden;
    transform-origin: bottom;
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
    z-index: 50;
}

/* Classe para mostrar o Dropdown */
.user-dropdown.show {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.dropdown-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(150, 150, 150, 0.05);
}

.dropdown-name { font-weight: bold; font-size: 0.9rem; margin: 0 0 2px 0; color: var(--text-color);}
.dropdown-email { font-size: 0.75rem; color: gray; margin: 0 0 8px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

/* Badge com o tom Laranja */
.badge-role { 
    font-size: 0.65rem; 
    font-weight: bold; 
    padding: 3px 6px; 
    background-color: rgba(255, 102, 0, 0.15); /* Fundo laranja transparente */
    color: #ff6600; /* Texto Laranja */
    border-radius: 4px; 
    text-transform: uppercase; 
    letter-spacing: 1px;
}

.dropdown-body { padding: 5px; }

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-color);
    cursor: pointer;
    font-size: 0.85rem;
    transition: background-color 0.2s;
    text-align: left;
}

.dropdown-item:hover { background-color: rgba(150, 150, 150, 0.1); }
.dropdown-item.text-red { color: #ef4444; }
.dropdown-item.text-red:hover { background-color: rgba(239, 68, 68, 0.1); }

/* =========================================
   COMPONENTE: MODAL (MEU PERFIL)
========================================= */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(10, 17, 32, 0.6);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
    opacity: 1; transition: opacity 0.2s ease-in-out;
}

.modal-overlay.hidden {
    opacity: 0; pointer-events: none;
}

.modal-content {
    width: 90%; max-width: 400px;
    position: relative;
    transform: scale(1); transition: transform 0.2s ease-in-out;
}

.modal-overlay.hidden .modal-content {
    transform: scale(0.95);
}

.btn-close {
    position: absolute; top: 15px; right: 15px;
    background: transparent; border: none;
    font-size: 1.2rem; color: gray;
    cursor: pointer; transition: color 0.2s;
}

.btn-close:hover { color: #ef4444; }

.input-group { margin-bottom: 15px; text-align: left; }
.input-group label { display: block; font-size: 0.8rem; font-weight: bold; color: gray; margin-bottom: 5px; }
.input-group input { 
    width: 100%; padding: 10px; border-radius: 8px; 
    border: 1px solid var(--border-color); 
    background-color: var(--bg-color); color: var(--text-color);
    outline: none; transition: border-color 0.2s;
}
.input-group input:focus { border-color: var(--primary-color); }
.input-group input:disabled { opacity: 0.7; cursor: not-allowed; }

/* =========================================
   COMPONENTE: TABELAS DE DADOS E VIEWS
========================================= */
/* Controle de Telas (SPA) */
.view-section { display: none; animation: fadeIn 0.3s ease-in-out; }
.view-section.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Estilo de Tabelas */
.table-responsive { width: 100%; overflow-x: auto; margin-top: 15px; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.9rem; }
.data-table th { background-color: rgba(150, 150, 150, 0.1); color: var(--text-color); padding: 12px; border-bottom: 2px solid var(--border-color); }
.data-table td { padding: 12px; border-bottom: 1px solid var(--border-color); color: var(--text-color); }
.data-table tr:hover td { background-color: rgba(150, 150, 150, 0.05); }

/* Badge de Cores para Grupos Musculares */
.color-badge { display: inline-block; width: 15px; height: 15px; border-radius: 50%; vertical-align: middle; margin-right: 8px; border: 1px solid var(--border-color); }

/* Form Grid para organizar inputs lado a lado */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 15px; }

/* ==========================================
   BOTTOM NAVIGATION BAR (MOBILES E PWA)
   ========================================== */
.bottom-nav {
    display: none; /* Escondido por padrão no Desktop */
}

/* Quando a tela for menor que 768px (Celulares) */
@media (max-width: 768px) {
    /* Esconde a barra lateral original */
    .sidebar {
        display: none !important;
    }

    /* Ajusta a área principal para ocupar 100% e não ficar escondida atrás da bottom bar */
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        padding-bottom: 80px; /* Espaço para a barra inferior não cobrir o conteúdo */
    }

    /* Estiliza e exibe a Bottom Bar */
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background-color: var(--bg-color);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
        z-index: 9999;
        justify-content: space-around;
        align-items: center;
        padding: 0 10px;
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: gray;
        font-size: 0.75rem;
        gap: 5px;
        flex: 1;
        transition: all 0.3s ease;
    }

    .bottom-nav-item span.icon {
        font-size: 1.5rem;
        transition: transform 0.2s ease;
    }

    .bottom-nav-item.active {
        color: #10b981; /* Verde do Aluno */
        font-weight: bold;
    }

    .bottom-nav-item.active span.icon {
        transform: translateY(-3px); /* Efeito de 'pulo' no ícone selecionado */
    }
}

/* Posicionamento Global do Dropdown Menu */
.user-dropdown {
    position: fixed !important;
    bottom: 80px;
    left: 20px;
    z-index: 10000;
    width: 260px !important; /* Trava o tamanho no PC */
}

/* Centraliza o Menu Flutuante no Celular */
@media (max-width: 768px) {
    .user-dropdown {
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 90% !important;
        bottom: 90px !important;
    }
}

/* =========================================
   CABEÇALHO DE TREINO RESPONSIVO
========================================= */
.treino-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap; /* O segredo: permite quebrar linha se a tela for estreita */
}

.treino-info {
    flex: 1;
    min-width: 220px; /* Garante que o dropdown não fique esmagado */
}

.btn-concluir {
    border-color: #10b981 !important;
    color: #10b981 !important;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 10px 15px;
    width: 100%; /* No desktop ele se ajusta, no celular ocupa a linha toda */
}

@media (min-width: 480px) {
    .btn-concluir {
        width: auto; /* Volta a ficar do lado direito em telas maiores */
    }
}

/* =========================================
   CARD DE EXERCÍCIO (RESPONSIVO PC VS MOBILE)
========================================= */
.exercicio-card {
    display: flex;
    flex-direction: row; /* PC: Formato deitado (lista) */
    align-items: center;
    padding: 15px;
    gap: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

/* Modificadores de Estado */
.exercicio-card.pendente { background-color: var(--card-bg); }
.exercicio-card.feito {
    opacity: 0.5;
    background-color: rgba(150, 150, 150, 0.05);
}

/* Imagem Padrão (PC) */
.exercicio-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}
.exercicio-card.feito .exercicio-img { filter: grayscale(100%); }

/* Organização Interna */
.exercicio-info-container {
    flex: 1;
    display: flex;
    flex-direction: row; /* PC: Textos na esquerda, botão na direita */
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.exercicio-header {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

/* No PC, o checkbox fica à esquerda do Título */
.exercicio-check {
    width: 22px; height: 22px;
    accent-color: #10b981;
    cursor: pointer;
    order: -1; 
    flex-shrink: 0;
}

.exercicio-title { margin: 0; font-size: 1.05rem; color: var(--text-color); }
.exercicio-card.feito .exercicio-title { text-decoration: line-through; color: var(--text-muted); }

.exercicio-footer { display: flex; align-items: center; gap: 15px; }

.exercicio-detalhes p { margin: 0 0 4px 0; font-size: 0.85rem; color: var(--text-muted); }

.btn-carga { padding: 8px 16px; font-size: 0.85rem; font-weight: bold; white-space: nowrap; }

/* =========================================
   APENAS CELULAR (Abaixo de 768px)
========================================= */
@media (max-width: 768px) {
    .exercicio-card {
        flex-direction: column; /* Celular: Formato Empilhado */
        align-items: stretch;
        padding: 0; /* Tira o padding para a imagem encostar nas bordas */
        overflow: hidden;
    }

    .exercicio-img {
        width: 100%;
        height: 200px; /* Imagem grande e imersiva no topo */
        border-radius: 12px 12px 0 0;
        border: none;
        border-bottom: 1px solid var(--border-color);
    }

    .exercicio-info-container {
        flex-direction: column; /* Empilha os textos e botão */
        align-items: stretch;
        padding: 15px;
        gap: 15px;
    }

    .exercicio-header {
        justify-content: space-between; /* Título na esq, Checkbox na dir */
    }

    /* O checkbox vai para a direita do título no celular */
    .exercicio-check {
        order: 2;
        width: 26px; height: 26px;
    }

    .exercicio-footer {
        justify-content: space-between; /* Infos na esq, Botão na dir */
        align-items: flex-end;
    }
}

/* =========================================
   CRONÔMETRO FLUTUANTE (MODERNO / PÍLULA)
========================================= */
.timer-flutuante {
    position: fixed;
    bottom: 30px; /* Padrão no Desktop */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 280px; /* Mais compacto */
    background-color: var(--card-bg);
    border: 2px solid #10b981;
    border-radius: 50px; /* Transforma num formato de pílula arredondada */
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 9000; /* Fica abaixo dos modais (10000) mas acima do resto */
    transition: bottom 0.3s ease;
}

/* Os botões dentro do cronômetro ficam redondinhos */
.timer-flutuante .btn-redondo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 1rem;
}

/* Quando estiver no Celular, ele sobe para não cobrir a aba de navegação */
@media (max-width: 768px) {
    .timer-flutuante {
        bottom: 90px; /* Pula os 70px da Bottom Nav + 20px de respiro */
    }
}

/* Organização responsiva do card de convite do professor */
.codigo-box-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

@media (min-width: 480px) {
    .codigo-box-container {
        flex-direction: row; /* Fica lado a lado em telas maiores que 480px */
    }
}

/* =========================================
   ESTILOS ESPECÍFICOS: TELA DE LOGIN / AUTENTICAÇÃO
========================================= */

.auth-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    background-color: var(--bg-color);
}

/* Card Principal de Autenticação */
.auth-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px 30px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, border-color 0.3s;
}

/* Cabeçalho da Marca */
.auth-header {
    text-align: center;
    margin-bottom: 25px;
}

.auth-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.auth-title span {
    color: var(--primary-color); /* Laranja da marca */
}

.auth-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Formulários */
.auth-form h2 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: center;
}

.custom-select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    color: var(--text-color);
    outline: none;
    transition: border-color 0.2s;
}

.custom-select:focus {
    border-color: var(--primary-color);
}

/* Botões em bloco */
.btn-block {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 10px;
}

/* Links de Alternância */
.toggle-form-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.toggle-form-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.toggle-form-text a:hover {
    text-decoration: underline;
}

/* Botão Flutuante de Alternar Tema (Claro / Escuro) */
.theme-toggle-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    z-index: 100;
}

.theme-toggle-btn:hover {
    transform: scale(1.08);
}

/* =========================================
   ESTILOS DA LANDING PAGE
========================================= */

/* Limpa o display flex padrão do body do app para a Landing Page rolar normalmente */
body:not(.auth-body):not(:has(.main-content)) {
    display: block;
    height: auto;
    overflow-x: hidden;
}

/* Cabeçalho */
.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.landing-header .logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-color);
}
.landing-header .logo span { color: var(--primary-color); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Ajuste do botão de tema na landing page */
.landing-theme-btn {
    position: relative;
    top: 0; right: 0;
    box-shadow: none;
    border: 1px solid var(--border-color);
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 5%;
    min-height: 80vh;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 12px 24px;
    font-size: 1.1rem;
}

/* Mockup Placeholder */
.hero-image-placeholder {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 300px;
}

.mockup-screen {
    width: 300px;
    height: 600px;
    background-color: var(--sidebar-bg);
    border-radius: 30px;
    border: 8px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sidebar-text);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Funcionalidades */
.features-section {
    padding: 60px 5%;
    text-align: center;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Rodapé */
.landing-footer {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

/* Responsividade Básica da Landing Page */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
    }
    .hero-content p {
        margin: 0 auto 30px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

/* =========================================
   SISTEMA DE LOGO DINÂMICA (CLARO/ESCURO)
========================================= */

/* Tamanhos Base */
.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.mockup-logo {
    width: 80%;
    border-radius: 20px;
    object-fit: contain;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

/* 1. Tema Claro (Padrão) */
.logo-dark { display: none; } /* Esconde a preta */
.logo-light { display: block; } /* Mostra a branca */

/* 2. Tema Escuro (Ativado) */
[data-theme="dark"] .logo-light { display: none; } /* Esconde a branca */
[data-theme="dark"] .logo-dark { display: block; } /* Mostra a preta */

/* =========================================
   TELA DE CARREGAMENTO (SPLASH SCREEN)
========================================= */
#splash-screen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--bg-color); /* Segue o tema da pessoa */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999; /* Fica por cima de absolutamente tudo */
    transition: opacity 0.5s ease-out; /* Suavidade ao sumir */
}

.splash-logo {
    width: 280px;
    max-width: 80%;
    height: auto;
    animation: pulse 1.5s infinite; /* Chama a animação */
}

/* Animação de pulsação como o batimento cardíaco */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* Aproveitando a mesma regra de esconder imagens baseado no tema */
#splash-screen .logo-dark { display: none; }
#splash-screen .logo-light { display: block; }

[data-theme="dark"] #splash-screen .logo-light { display: none; }
[data-theme="dark"] #splash-screen .logo-dark { display: block; }
