<div class="menu-container"> <!-- Quadro flutuante de Eventos --> <div class="floating-event" onclick="showEventDetails()"> <img src="img/guia_principal.png" alt="GUIA PRINCIPAL" class="event-image"> <div class="event-title">GUIA PRINCIPAL</div> </div> </div> <!-- SweetAlert2 Script --> <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script> <!-- JavaScript para abrir o SweetAlert2 --> <script> function showEventDetails() { Swal.fire({ title: 'Guia para novos jogadores.', html: ` <p><strong style="color: #ff6600;">Objetivo:</strong> Orientar os novos jogadores sobre o básico da rotina do servidor.</p> <p><strong style="color: #ff6600;">Dicas:</strong> Utilize com frequência o Aion Codex, ele poderá te orientar sobre os itens, missões, monstros e muito mais.</p> <p><strong style="color: #ff6600;">Conteúdo Principal:</strong> Clique no botão vermelho para assistir ao tutorial completo</p> `, imageUrl: 'img/guia_principal.png', imageWidth: 400, imageAlt: 'Imagem do evento Natal', showCancelButton: true, confirmButtonText: 'OK', cancelButtonText: 'Assista ao tutorial', confirmButtonColor: '#ff6600', cancelButtonColor: '#ff0000', background: '#333', color: '#fff' }).then((result) => { if (result.dismiss === Swal.DismissReason.cancel) { window.location.href = 'https://youtu.be/0APHx5t9G_s'; } }); } </script>