@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;600;700&display=swap');

html {
    touch-action: manipulation;
}

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

body {
    font-family: 'Noto Sans', sans-serif;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.app-container {
    width: 100%;
    max-width: 420px;
    min-height: 100vh;
    background: #ffffff;
    position: relative;
    overflow-x: hidden;
}

/* Content */
.content {
    padding: 130px 15px 90px; /* Extra bottom for footer nav */
    min-height: 100vh;
    background-image: url('ChatGPT Image 3 de mar. de 2026, 13_47_00.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
}

/* Cards com pincelada de chocolate e tema Nutella Transparente */
.balance-card,
.product-card,
.affiliate-card,
.commission-card,
.total-commission-card,
.referrals-card,
.wallet-card,
.transaction-history,
.profile-card,
.profile-info-card,
.profile-stats-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 8px 32px rgba(62, 39, 35, 0.15);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.balance-card:hover,
.product-card:hover,
.affiliate-card:hover,
.commission-card:hover,
.total-commission-card:hover,
.wallet-card:hover,
.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(62, 39, 35, 0.18);
}

.chocolate-stroke {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #5d4037 0%, #3e2723 50%, #5d4037 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(93, 64, 55, 0.4);
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Balance Card */
.balance-card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(5px);
    border: 2px solid #b71c1c;
    box-shadow: 0 4px 15px rgba(183, 28, 28, 0.2) !important;
    padding: 12px !important;
    margin-bottom: 10px;
}

.balance-card .chocolate-stroke {
    display: none;
}

.balance-label {
    color: #3e2723;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    font-weight: 800;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.9);
}

.balance-value {
    color: #3e2723;
    font-size: 22px;
    font-weight: 900;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9);
}

.balance-value.small {
    font-size: 15px;
    letter-spacing: -0.3px;
}

.balance-value.highlight {
    color: #b71c1c;
}

.balance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
    background: transparent;
    padding: 8px;
    border-radius: 12px;
}

.balance-item {
    display: flex;
    flex-direction: column;
    position: relative;
}

.balance-item:first-child::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(62, 39, 35, 0.08);
}

.balance-actions-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.btn-home-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    border: none;
    border-radius: 6px;
    font-weight: 900;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
    /* Efeito de Barra de Chocolate Mini */
    box-shadow: 
        inset 2px 2px 0 rgba(255,255,255,0.1),
        inset -2px -2px 0 rgba(0,0,0,0.2),
        0 4px 8px rgba(0,0,0,0.2);
}

.btn-home-action::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: rgba(0,0,0,0.1);
    box-shadow: 1px 0 0 rgba(255,255,255,0.05);
}

.btn-home-action svg {
    width: 16px;
    height: 16px;
    z-index: 1;
}

.btn-home-action.deposit {
    background: #8b1a1a;
    color: white;
}

.btn-home-action.withdraw {
    background: #2b1b17;
    color: white;
}

.btn-home-action:active {
    transform: scale(0.95);
}

/* Animated Realistic Chocolate Bar Check-in */
.daily-checkin-mini {
    background: linear-gradient(135deg, #e0e0e0 0%, #ffffff 50%, #d1d1d1 100%); /* Silver foil effect */
    border-radius: 12px;
    padding: 10px;
    margin: 0 auto 15px;
    width: 95%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #c0c0c0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

/* Foil tear effect */
.daily-checkin-mini::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8));
    pointer-events: none;
}

.checkin-bar-wrap {
    width: 100%;
}

.chocolate-bar-slim {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    background: #3e2723; /* Dark chocolate base */
    padding: 6px;
    border-radius: 6px;
    box-shadow: 
        inset 0 4px 8px rgba(0,0,0,0.6),
        0 2px 0 rgba(255,255,255,0.1);
}

.choc-dot {
    height: 35px;
    background: #5d4037;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.15);
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    user-select: none;
    /* 3D Segment Look */
    box-shadow: 
        inset 2px 2px 2px rgba(255,255,255,0.1),
        inset -2px -2px 2px rgba(0,0,0,0.4),
        1px 1px 2px rgba(0,0,0,0.5);
}

.choc-dot::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    right: 20%;
    bottom: 20%;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 2px;
}

.choc-dot.collected {
    background: #c62828; /* Slightly brighter cherry red */
    color: #ffffff !important;
    transform: translateZ(0);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    box-shadow: 
        inset 2px 2px 4px rgba(255,255,255,0.3),
        inset -2px -2px 4px rgba(0,0,0,0.6),
        0 0 15px rgba(198, 40, 40, 0.6);
    animation: chocBite 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

@keyframes chocBite {
    0% { transform: scale(1) rotate(0); }
    20% { transform: scale(1.3) rotate(-5deg); filter: brightness(1.5); }
    40% { transform: scale(0.85) rotate(5deg); }
    70% { transform: scale(1.1) rotate(-2deg); }
    100% { transform: scale(1) rotate(0); filter: brightness(1); }
}

.choc-dot.current {
    background: #795548;
    animation: chocGlow 2s infinite alternate;
}

@keyframes chocGlow {
    from { 
        filter: brightness(1);
        box-shadow: inset 2px 2px 2px rgba(255,255,255,0.1), inset -2px -2px 2px rgba(0,0,0,0.4); 
    }
    to { 
        filter: brightness(1.3);
        box-shadow: 0 0 12px rgba(212, 175, 55, 0.5); 
    }
}

.btn-checkin-slim {
    background: #3e2723;
    color: #e0e0e0;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 0 #1a0f0d;
}

.btn-checkin-slim:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #1a0f0d;
}

.btn-checkin-slim:disabled {
    background: #d1d1d1;
    color: #888;
    box-shadow: none;
    cursor: default;
    border-color: #bbb;
}

/* Support Mini Card */
.support-mini-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px 16px;
    margin: 0 auto 12px;
    width: 95%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.support-mini-card:active {
    transform: scale(0.97);
    background: rgba(255, 255, 255, 0.25);
}

.support-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3e2723;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
}

.support-content svg {
    width: 18px;
    height: 18px;
    color: #b71c1c;
}

.support-action {
    font-size: 10px;
    font-weight: 900;
    color: #b71c1c;
    text-transform: uppercase;
    background: rgba(183, 28, 28, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.team-banner-card {
    display: block;
    text-decoration: none;
    padding: 0;
    overflow: hidden;
}

.team-banner-card .chocolate-stroke {
    display: none;
}

.team-banner-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

/* Team Goals Page */
.team-header-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin: 0 auto 12px;
    width: 95%;
    position: relative;
    overflow: hidden;
}

.team-header-card h3 {
    margin: 0 0 6px 0;
    font-size: 16px;
    color: #3e2723;
}

.team-subtitle {
    font-size: 11px;
    color: #5d4037;
    opacity: 0.9;
    margin: 0 0 8px 0;
}

.team-active-count {
    font-size: 13px;
    font-weight: 700;
    color: #3e2723;
    margin: 0;
}

.team-active-count strong {
    color: #b71c1c;
}

.team-goals-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto 12px;
    width: 95%;
}

.team-goal-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.team-goal-card.redeemed {
    opacity: 0.7;
}

.team-goal-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.team-goal-name {
    font-size: 13px;
    font-weight: 700;
    color: #3e2723;
}

.team-goal-prize {
    font-size: 14px;
    font-weight: 900;
    color: #b71c1c;
}

.btn-redeem-team-goal {
    background: #b71c1c;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-redeem-team-goal:hover {
    background: #8b0000;
}

.btn-redeem-team-goal:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.team-goal-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
}

.team-goal-badge.redeemed {
    background: rgba(76, 175, 80, 0.2);
    color: #2e7d32;
}

.team-goal-badge.locked {
    background: rgba(158, 158, 158, 0.2);
    color: #5d4037;
}

/* Compact Assets */
.assets-compact {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 8px 12px;
    margin: 0 auto 12px;
    width: 95%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.assets-mini-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 800;
    color: #3e2723;
    text-transform: uppercase;
}

.assets-mini-header .header-links {
    display: flex;
    gap: 12px;
}

.assets-mini-header a {
    color: #b71c1c;
    text-decoration: none;
    font-size: 10px;
}

.view-all-link {
    color: #5d4037 !important;
    font-weight: 600;
}

.assets-mini-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 100px;
    overflow-y: auto;
}

.asset-item-compact {
    background: rgba(255, 255, 255, 0.3);
    padding: 6px 10px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.asset-mini-info {
    display: flex;
    flex-direction: column;
}

.asset-mini-title {
    font-size: 11px;
    font-weight: 700;
    color: #3e2723;
}

.asset-mini-rate {
    font-size: 8px;
    color: #b71c1c;
    font-weight: 700;
}

.asset-mini-val {
    font-size: 11px;
    font-weight: 800;
    color: #3e2723;
}

.empty-assets-mini {
    text-align: center;
    padding: 10px;
    font-size: 10px;
    color: #5d4037;
    opacity: 0.6;
}

/* Welcome section */
.welcome-section {
    margin-top: 10px;
    background: transparent;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: none;
    box-shadow: none;
    border: none;
}

.welcome-title {
    color: #3e2723;
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 900;
    text-shadow: 
        2px 2px 4px rgba(255, 255, 255, 0.9),
        -1px -1px 0px rgba(255, 255, 255, 0.5);
}

.welcome-text {
    color: #3e2723;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9);
}

/* Product Badges - dentro do card */
.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: #b71c1c;
    color: white;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.product-badge.highlight {
    background: #5d4037;
}

/* Product Cards */
.product-card h3 {
    color: #3e2723;
    font-size: 18px;
    margin: 16px 0 12px;
    font-weight: 700;
}

.product-info {
    margin: 16px 0;
}

.min-value,
.return-rate,
.return-daily-brl {
    color: #5d4037;
    font-size: 14px;
    margin: 6px 0;
}

.return-rate {
    color: #b71c1c;
    font-weight: 600;
}

.return-daily-brl {
    color: #b71c1c;
    font-weight: 700;
}

/* Botões */
.btn-invest,
.btn-copy,
.btn-action,
.btn-profile {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-invest {
    background: #b71c1c;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(183, 28, 28, 0.3);
}

.btn-invest:active {
    transform: scale(0.95);
}

.btn-invest::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

/* Afiliados */
.invite-link-container {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.invite-link-container input {
    flex: 1;
    padding: 12px;
    border: 2px solid #5d4037;
    border-radius: 12px;
    font-size: 14px;
    color: #3e2723;
    background: #ffffff;
}

.btn-copy {
    background: #5d4037;
    color: #ffffff;
    width: auto;
    padding: 12px 20px;
    box-shadow: 0 4px 16px rgba(93, 64, 55, 0.3);
}

.commission-table {
    margin-top: 16px;
}

.commission-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(93, 64, 55, 0.1);
}

.commission-row:last-child {
    border-bottom: none;
}

.level {
    color: #5d4037;
    font-weight: 600;
}

.percentage {
    color: #b71c1c;
    font-weight: 700;
}

.commission-label {
    color: #5d4037;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
}

.commission-value {
    color: #b71c1c;
    font-size: 32px;
    font-weight: 700;
}

.referral-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
    border-radius: 8px;
    border-bottom: 1px solid rgba(93, 64, 55, 0.1);
}

.referral-item:last-child {
    border-bottom: none;
}

.referral-name {
    color: #3e2723;
    font-weight: 600;
    font-size: 15px;
}

.referral-date {
    color: #5d4037;
    font-size: 12px;
    margin-top: 4px;
}

.referral-level {
    background: #b71c1c;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

/* Carteira */
.wallet-summary {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.wallet-label {
    color: #5d4037;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 600;
}

.wallet-value {
    color: #3e2723;
    font-size: 28px;
    font-weight: 700;
}

.wallet-value.profit {
    color: #b71c1c;
}

.wallet-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-deposit {
    background: #b71c1c;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(183, 28, 28, 0.3);
}

.btn-deposit svg {
    width: 20px;
    height: 20px;
}

.btn-withdraw {
    background: #3e2723;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(62, 39, 35, 0.3);
}

.btn-withdraw svg {
    width: 20px;
    height: 20px;
}

.transaction-history h3,
.referrals-card h3,
.affiliate-card h3,
.commission-card h3,
.profile-info-card h3,
.profile-stats-card h3,
.product-card h3 {
    color: #3e2723;
    font-size: 18px;
    margin: 16px 0 16px;
    font-weight: 800;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.transaction-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    transition: transform 0.2s ease;
    border: 1px solid rgba(93, 64, 55, 0.1);
}

.transaction-item:hover {
    transform: translateX(4px);
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.transaction-icon svg {
    width: 20px;
    height: 20px;
}

.deposit-icon {
    background: rgba(183, 28, 28, 0.1);
    color: #b71c1c;
}

.withdraw-icon {
    background: rgba(62, 39, 35, 0.1);
    color: #3e2723;
}

.invest-icon {
    background: rgba(93, 64, 55, 0.1);
    color: #5d4037;
}

.profit-icon {
    background: rgba(183, 28, 28, 0.1);
    color: #b71c1c;
}

.transaction-info {
    flex: 1;
}

.transaction-type {
    color: #3e2723;
    font-weight: 600;
    font-size: 14px;
}

.transaction-date {
    color: #5d4037;
    font-size: 12px;
    margin-top: 4px;
}

.transaction-amount {
    font-weight: 700;
    font-size: 15px;
}

.transaction-amount.positive {
    color: #b71c1c;
}

.transaction-amount.negative {
    color: #3e2723;
}

/* Perfil */
.profile-avatar {
    width: 100px;
    height: 100px;
    margin: 20px auto 16px;
    border-radius: 50%;
    border: 4px solid #5d4037;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(93, 64, 55, 0.3);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    color: #3e2723;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.profile-email {
    color: #5d4037;
    font-size: 14px;
    text-align: center;
}

.profile-info-card h3,
.profile-stats-card h3 {
    color: #3e2723;
    font-size: 18px;
    margin: 16px 0 16px;
    font-weight: 700;
}

.info-row,
.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(93, 64, 55, 0.1);
}

.info-row:last-child,
.stat-item:last-child {
    border-bottom: none;
}

.info-label,
.stat-label {
    color: #5d4037;
    font-size: 14px;
}

.info-value,
.stat-value {
    color: #3e2723;
    font-weight: 600;
    font-size: 14px;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.btn-edit {
    background: #b71c1c;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(183, 28, 28, 0.3);
}

.btn-edit svg {
    width: 20px;
    height: 20px;
}

.btn-logout {
    background: #3e2723;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(62, 39, 35, 0.3);
}

.btn-logout svg {
    width: 20px;
    height: 20px;
}

/* Menu Lateral e Hamburger */
.hamburger-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: #3e2723;
    border: none;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 1001;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(62, 39, 35, 0.3);
}

.hamburger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.side-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: #ffffff;
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -4px 0 16px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.side-menu.open {
    right: 0;
}

.side-menu-header {
    padding: 40px 24px 20px;
    position: relative;
    background: #fdfdfd;
}

.side-menu-header h2 {
    color: #3e2723;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.side-menu-items {
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    z-index: 999;
    display: none;
}

.menu-overlay.show {
    display: block;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #5d4037;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 16px;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 16px;
}

.nav-item svg {
    width: 24px;
    height: 24px;
    opacity: 0.8;
}

.nav-item:active, .nav-item:hover {
    background: rgba(93, 64, 55, 0.05);
}

.nav-item.active {
    background: rgba(183, 28, 28, 0.08);
    color: #b71c1c;
}

.nav-item.active svg {
    color: #b71c1c;
    opacity: 1;
}

/* Custom Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(62, 39, 35, 0.8);
    backdrop-filter: blur(4px);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 360px;
    border-radius: 24px;
    padding: 30px 24px 24px;
    position: relative;
    overflow: hidden;
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-content h3 {
    color: #3e2723;
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.modal-input-group {
    margin-bottom: 16px;
}

.modal-input-group label {
    display: block;
    color: #5d4037;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.modal-input-group input,
.modal-input-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(93, 64, 55, 0.2);
    border-radius: 12px;
    font-size: 15px;
    color: #3e2723;
    outline: none;
    transition: border-color 0.2s;
}

.modal-input-group input:focus {
    border-color: #b71c1c;
}

.modal-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.btn-modal-cancel {
    background: #f5f5f5;
    color: #5d4037;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

.btn-modal-confirm {
    background: #b71c1c;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(183, 28, 28, 0.2);
}

.modal-info-box {
    background: rgba(93, 64, 55, 0.05);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 16px;
    border-left: 4px solid #b71c1c;
}

.modal-info-box p {
    font-size: 12px;
    color: #5d4037;
    line-height: 1.4;
}

/* Groups Invite Modal - estilo card suporte */
.groups-invite-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(62, 39, 35, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    padding: 20px;
}

.groups-invite-overlay.show {
    display: flex;
}

.groups-invite-modal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 24px 20px;
    max-width: 340px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.groups-invite-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(93, 64, 55, 0.1);
    color: #5d4037;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.groups-invite-content h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #3e2723;
    text-align: center;
}

.groups-invite-content > p {
    font-size: 13px;
    color: #5d4037;
    line-height: 1.4;
    margin: 0 0 20px 0;
    text-align: center;
}

.groups-invite-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 10px;
    transition: transform 0.2s, opacity 0.2s;
}

.groups-invite-btn:last-child {
    margin-bottom: 0;
}

.groups-invite-btn:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

.groups-whatsapp {
    background: #25D366;
    color: #fff;
}

.groups-telegram {
    background: #0088cc;
    color: #fff;
}

.groups-invite-btn i {
    font-size: 20px;
}

/* PIX Loading & Result */
.pix-loading-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 16px;
}

.pix-loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(93, 64, 55, 0.2);
    border-top-color: #b71c1c;
    border-radius: 50%;
    animation: pixSpin 0.8s linear infinite;
}

@keyframes pixSpin {
    to { transform: rotate(360deg); }
}

.pix-loading-text {
    font-size: 14px;
    font-weight: 700;
    color: #5d4037;
}

.pix-result-box {
    padding: 8px 0;
    text-align: center;
}

.pix-result-value {
    font-size: 22px;
    font-weight: 900;
    color: #b71c1c;
    margin-bottom: 8px;
}

.pix-result-hint {
    font-size: 12px;
    color: #5d4037;
    margin-bottom: 16px;
}

.pix-qr-wrap {
    display: flex;
    justify-content: center;
    margin: 16px 0;
    padding: 16px;
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    border: 1px solid rgba(93, 64, 55, 0.2);
}

.pix-qr-img {
    width: 180px;
    height: 180px;
    border-radius: 8px;
}

.pix-copy-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.pix-code-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 10px;
    font-family: monospace;
    border: 1px solid rgba(93, 64, 55, 0.3);
    border-radius: 8px;
    background: rgba(93, 64, 55, 0.05);
    color: #3e2723;
    resize: none;
}

.btn-pix-copy {
    padding: 10px 20px;
    background: #b71c1c;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-pix-copy:hover {
    background: #8b1a1a;
}

/* Toast notification */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #3e2723;
    color: #ffffff;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(62, 39, 35, 0.3);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    width: 90%;
    max-width: 340px;
    text-align: center;
}

.toast strong {
    display: block;
    margin-bottom: 4px;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Full Assets Page */
.assets-full-header {
    text-align: center;
    margin-bottom: 24px;
}

.assets-full-header h2 {
    color: #3e2723;
    font-size: 24px;
    font-weight: 800;
}

.assets-full-header p {
    color: #5d4037;
    font-size: 13px;
    font-weight: 600;
}

.full-assets-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.asset-card-full {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(62, 39, 35, 0.1);
    position: relative;
    overflow: hidden;
}

.asset-card-full .chocolate-stroke {
    height: 4px;
}

.asset-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.asset-card-top h4 {
    color: #3e2723;
    font-size: 16px;
    font-weight: 800;
}

.asset-card-date {
    font-size: 10px;
    color: #5d4037;
    font-weight: 600;
}

.asset-card-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.asset-card-yield {
    color: #b71c1c;
    font-size: 13px;
    font-weight: 700;
}

.asset-card-value {
    color: #3e2723;
    font-size: 18px;
    font-weight: 900;
}

.empty-assets-state {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    color: #5d4037;
}

/* Login & Registration Page */
.login-content {
    padding: 60px 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-logo {
    text-align: center;
    margin-bottom: 40px;
}

.login-logo h1 {
    font-size: 36px;
    font-weight: 900;
    color: #3e2723;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9);
}

.login-logo p {
    font-size: 14px;
    color: #5d4037;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.auth-forms-container {
    width: 100%;
    max-width: 420px;
    position: relative;
    min-height: 500px;
}

.auth-form {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px rgba(62, 39, 35, 0.2);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-form.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.auth-form h2 {
    color: #3e2723;
    font-size: 28px;
    font-weight: 900;
    text-align: center;
    margin: 20px 0 30px;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: #3e2723;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.9);
}

.form-group input {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid rgba(93, 64, 55, 0.3);
    border-radius: 16px;
    font-size: 15px;
    color: #3e2723;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    outline: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.form-group input::placeholder {
    color: rgba(93, 64, 55, 0.5);
    font-weight: 500;
}

.form-group input:focus {
    border-color: #b71c1c;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 4px rgba(183, 28, 28, 0.1);
}

.btn-auth {
    display: inline-block;
    padding: 10px 24px;
    background: #b71c1c;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(183, 28, 28, 0.3);
    transition: all 0.2s ease;
    margin-top: 8px;
}

.btn-auth-submit {
    width: 100%;
    padding: 18px 24px;
    font-size: 18px;
    margin-top: 16px;
    margin-bottom: 12px;
    border-radius: 16px;
}

.btn-auth:active {
    transform: scale(0.98);
}

.btn-auth:hover {
    background: #8b1a1a;
    box-shadow: 0 4px 16px rgba(183, 28, 28, 0.4);
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.forgot-link {
    color: #5d4037;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: #b71c1c;
}

.auth-switch {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
}

.switch-btn {
    flex: 1;
    padding: 14px;
    background: transparent;
    color: #5d4037;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.switch-btn.active {
    background: rgba(183, 28, 28, 0.9);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(183, 28, 28, 0.3);
}

.auth-switch-link {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 0;
}

.auth-switch-link a {
    color: #b71c1c;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-switch-link a:hover {
    color: #8b1a1a;
    text-decoration: underline;
}

/* Footer Nav - Bootstrap Icons guloseimas */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 2px solid rgba(93, 64, 55, 0.2);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 4px 12px;
    z-index: 998;
    box-shadow: 0 -4px 20px rgba(62, 39, 35, 0.1);
}

.footer-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #5d4037;
    text-decoration: none;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 6px 8px;
    border-radius: 10px;
    transition: all 0.2s;
}

.footer-nav a i {
    font-size: 20px;
}

.footer-nav a:hover {
    color: #b71c1c;
    background: rgba(183, 28, 28, 0.06);
}

.footer-nav a.active {
    color: #b71c1c;
    background: rgba(183, 28, 28, 0.08);
}

.footer-nav a.active i {
    color: #b71c1c;
}

/* Produtos - imagem DENTRO do card */
.product-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 4px;
}

.product-card-img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(93, 64, 55, 0.08);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card-body {
    flex: 1;
    min-width: 0;
}

.product-card-body h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.product-card-body .product-info {
    margin: 8px 0 12px;
}

/* Check-in celebration modal - transparente com guloseimas */
.checkin-celebration-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(62, 39, 35, 0.5);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    padding: 20px;
}

.checkin-celebration-overlay.show {
    display: flex;
}

.checkin-celebration-modal {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 32px 24px;
    max-width: 320px;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(62, 39, 35, 0.25);
    animation: checkinPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes checkinPop {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.checkin-candies {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.checkin-candy {
    position: absolute;
    font-size: 32px;
    color: #b71c1c;
    opacity: 0.9;
    animation: candyFloat 2s ease-out forwards;
}

.checkin-candy.bi-cookie { color: #8b4513; }
.checkin-candy.bi-cake2 { color: #c62828; }
.checkin-candy.bi-gift { color: #5d4037; }
.checkin-candy.bi-cup-straw { color: #b71c1c; }
.checkin-candy.bi-star-fill { color: #ffc107; }

@keyframes candyFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5) rotate(0deg);
    }
    15% {
        opacity: 1;
        transform: translateY(-20px) scale(1) rotate(10deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-120px) scale(0.8) rotate(360deg);
    }
}

.checkin-celebration-title {
    font-size: 22px;
    font-weight: 900;
    color: #b71c1c;
    margin-bottom: 8px;
}

.checkin-celebration-amount {
    font-size: 28px;
    font-weight: 900;
    color: #3e2723;
    margin-bottom: 20px;
}

.checkin-celebration-modal .chocolate-stroke {
    height: 6px;
}

/* Responsividade para telas menores */
@media (max-width: 420px) {
    .app-container {
        max-width: 100%;
    }
    
    .header,
    .bottom-nav {
        max-width: 100%;
    }
    
    .auth-form {
        padding: 35px 25px;
    }
    
    .login-logo h1 {
        font-size: 32px;
    }
}