/* Fundo geral do site */
body {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
}

/* Navbar aprimorada */
.navbar {
    background-color: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1050 !important;
    position: relative;
}

/* Links do menu */
.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #f72585 !important;
}

/* DROPDOWN elegante */
.dropdown-menu {
    background-color: rgba(30, 30, 30, 0.95);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0.5rem 0;
    z-index: 9999 !important;
}

/* Itens do dropdown */
.dropdown-item {
    color: #ffffff;
    font-weight: 400;
    padding: 0.5rem 1rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f72585;
    color: #ffffff;
}

/* Submenus refinados */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Mostrar submenu ao hover */
.dropdown-menu .dropdown-menu {
    display: none;
    position: absolute;
}

.dropdown-menu li:hover > .dropdown-menu {
    display: block;
}

/* Hero e z-index */
.hero-section,
.row {
    position: relative;
    z-index: 1;
}

.container {
    position: static !important;
}

/* Ajuste do footer */
footer {
    color: #aaaaaa;
    font-size: 0.9em;
}

/* Estilização dos cards principais */
.card {
    border: 1px solid #444444;
    border-radius: 12px;
    min-height: 220px;
    background-color: #1a1a1a;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: scale(1.02);
    border-color: #f72585 !important;
}

/* Alinhar os cards de carteiras */
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ajuste de espaçamento para marketing */
.hero-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Títulos em destaque */
h2, h4, h5 {
    font-weight: 700;
}

/* Links do bloco de notícias */
a.text-info:hover {
    color: #f72585 !important;
    text-decoration: underline;
}

/* Responsividade adicional para dispositivos pequenos */
@media (max-width: 576px) {
    .card {
        min-height: auto;
    }
}

/* Nome do ativo bonito */
.ativo-nome {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
}

.ativo-preco {
    font-size: 2.2rem;
    font-weight: 800;
    margin-top: 8px;
    margin-bottom: 4px;
    color: #ffffff;
}

.ativo-variacao {
    font-size: 1rem;
    font-weight: 600;
}

.ativo-valor {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 5px;
}

.func-card {
    border-radius: 12px;
    background-color: #1e1e1e;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 20px 10px;
    color: #ffffff;
    transition: transform 0.2s ease;
}

.func-card:hover {
    transform: scale(1.05);
}

#resolve problema da quebra de linha da tabela retorno relativo
table td:first-child {
    white-space: nowrap;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Botão login customizado */
.btn-primary-custom {
    background: linear-gradient(135deg, #33ff99, #00cc88);
    color: #000000;
    font-weight: bold;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-custom:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #33ff99;
}

