:root {
    --background-color: #ffffff;
    --text-color: #333;
    --primary-color: #10B981;
    --secondary-color: #10B981;
    --dark-background: #ffffff;
    --card-background: #ffffff;
    --font-family: 'Inter', sans-serif;
    --border-gold: #10B981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    max-width: 100vw;
    overflow-x: hidden;
    padding-bottom: 85px;
}

.container {
    width: 100%;
    padding: 0;
    margin: 0 auto;
    max-width: 480px;
}

/* Banner com logo */
header {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 0;
}

header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://i.ytimg.com/vi/BXJJqwFKIGM/hq720.jpg?sqp=-oaymwEhCK4FEIIDSFryq4qpAxMIARUAAAAAGAElAADIQj0AgKJD&rs=AOn4CLBm5SDL63K8l1LQ4uYb7eksYtucXQ');
    background-size: cover;
    background-position: center;
}

.logo-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 20px;
    padding: 15px;
    object-fit: contain;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Mensagem de boas-vindas - removida */
.welcome-message {
    display: none;
}

/* Swiper - removido */
.swiper {
    display: none;
}

/* Seção de gráficos - removida */
.charts-section {
    display: none;
}

/* Botões de ação */
.actions {
    display: flex;
    justify-content: space-around;
    padding: 20px 16px;
    background: #ffffff;
    margin: 0;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 500;
}

.action-btn i {
    font-size: 28px;
    color: #10b981;
}

.action-btn span {
    color: #1a1a1a;
}

/* Título da seção */
.investments-header {
    background: var(--primary-color);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.investments-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.shopping-icon {
    color: white;
    font-size: 24px;
}

/* Cards de investimento */
.investment-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin: 16px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #059669ad;
    transition: transform 0.2s ease;
}

.investment-card:active {
    transform: scale(0.98);
}

.investment-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.investment-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
    background: #f5f5f5;
}

.header-text h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.ativo {
    background: rgb(0 149 100);
    color: #ffffff;
}

.badge.inativo {
    background: rgb(145 7 7);
    color: #ffffff;
}

.card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 11px;
    color: #9CA3AF;
    font-weight: 500;
}

.stat-value {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
}

.stat-value.highlight {
    color: #10B981;
}

.invest-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #10B981;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.invest-btn:hover {
    background: #059669;
}

.invest-btn:disabled {
    background: #E5E7EB;
    color: #9CA3AF;
    cursor: not-allowed;
}

/* Bottom Navigation */
.bottom-nav {
    background: var(--primary-color);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-top: 1px solid var(--primary-color);
}

.bottom-nav-content {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background: #ffffff73;
    border-radius: 5px;
    padding: 10px 10px 6px;
    width: 80%;
    max-width: 340px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    position: relative;
}

.popup-image-wrapper {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.popup-image {
    width: 100%;
    height: auto;
    max-height: 320px;
    display: block;
    object-fit: contain;
}

.popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: #fff;
    border: none;
    font-size: 20px;
    color: rgb(0 149 100);
    cursor: pointer;
}

.popup-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 13px;
    color: #4B5563;
}

.popup-checkbox input[type="checkbox"] {
    accent-color: #10b981;
}

.nav-item {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    transition: all 0.3s ease;
    padding: 8px 12px;
}

.nav-item i {
    font-size: 22px;
    margin-bottom: 2px;
}

.nav-item.active {
    color: white;
}

.wallet-btn {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    transition: all 0.3s ease;
    padding: 8px 12px;
}

.wallet-btn i {
    font-size: 22px;
    margin-bottom: 2px;
}

@media (max-width: 480px) {
    header {
        height: 180px;
    }

    .logo-img {
        width: 120px;
        height: 120px;
    }

    .action-btn i {
        font-size: 24px;
    }

    .action-btn span {
        font-size: 11px;
    }
}
