:root {
    --primary-color: #46B5B7;
    --secondary-color: #FFDF8E;
    --danger-color: #EA4335;
    --warning-color: #FBBC05;
    --dark-color: #202124;
    --light-color: #F8F9FA;
    --gray-color: #5F6368;
    --header-height: 80px;
}

/* Estilo MiniMax - Modo Retrô/Tecnológico */
.minimax-mode .app-container {
    position: relative;
    background-color: #000;
    overflow: hidden; /* Importante para conter o blur */
}

.minimax-mode .app-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/images/background-minimax.gif');
    background-size: cover;
    background-position: center;
    filter: blur(4px); /* Ajuste o valor para mais/menos blur */
    opacity: 0.8; /* Opcional: reduz um pouco a opacidade para melhor legibilidade */
}

/* Ajustes para o conteúdo ficar legível sobre o fundo com blur */
.minimax-mode .app-main {
    position: relative;
    z-index: 1;
}

.minimax-mode .logo img {
    display: none;
}

.minimax-mode .logo-text .velh {
    color: #1a73e8; /* Azul */
    text-shadow: 1px 1px 2px #0d47a1;
}

.minimax-mode .logo-text .ia {
    color: #ea4335; /* Vermelho */
    text-shadow: 1px 1px 2px #b71c1c;
}

.minimax-mode .app-header {
    background-color: #000;
    border-bottom: 2px solid #1a73e8;
}

.minimax-mode .main-nav {
    background-color: #000;
    transition: all 15s ease;
}

.minimax-mode .main-nav a {
    color: #9aa0a6;
}

.minimax-mode .main-nav a:hover,
.minimax-mode .main-nav a.active {
    background-color: #1a73e8;
    color: #fff;
}

.minimax-mode .app-footer {
    background-color: #000;
    border-top: 2px solid #ea4335;
    color: #9aa0a6;
}

/* Efeito de terminal para o conteúdo MiniMax */
.minimax-mode .app-main {
    font-family: 'Courier New', monospace;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    background-image: url('/assets/images/site_background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.logo .velh,
.logo .ia {
    font-family: 'Fredoka One', cursive;
    display: inline-block;
    text-shadow: 1px 1px 2px #111918;
}

.logo .velh {
    color: var(--secondary-color);
}

.logo .ia {
    color: var(--primary-color);
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--gray-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.main-nav a i {
    font-size: 1.2rem;
}

.menu-toggle {
    display: none;
}

/* Layout principal */
.app-main {
    flex: 1;
    padding: 2rem 1rem;
    padding-top: calc(var(--header-height) + 1rem);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Rodapé */
.app-footer {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #0f172a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    font-size: 0.9rem;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

/* Transicoes para minimax */

/* Transições específicas para o modo MiniMax */
.minimax-mode .app-container {
    transition: background-image 1.2s ease;
}

.minimax-mode .logo-text .velh,
.minimax-mode .logo-text .ia {
    transition: color 0.8s ease, text-shadow 0.8s ease;
}

.minimax-mode .app-header,
.minimax-mode .app-footer {
    transition: background-color 0.8s ease, border-color 0.8s ease;
}

/* .minimax-mode .main-nav a {
    transition: all 0.8s ease;
} */