
.reveal-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

/* Balance container */
.balance-text {
    font-weight: 600;
    font-size: 1.25rem;
    min-width: 100px;
    display: inline-block;
    position: relative;
    height: 1.6em;
}

/* === SIGNAL STYLE MASK === */
.signal-mask {
    width: 100%;
    height: 95%;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    position: relative;
    box-shadow: 0 0 2px rgba(255, 255, 255, 0.3) inset;
}

.mask-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0.15) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
    border-radius: inherit;
}

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

/* Revealed value animation */
.balance-value {
    animation: fadeSlideIn 0.4s ease forwards;
    display: inline-block;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Eye icon button === */
.eye-btn {
    background: rgba(255, 255, 255, 0.25);
    border: none;
    outline: none;
    padding: 6px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.eye-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1);
}

.eye-btn.active {
    color: #0d6efd;
    transform: rotate(12deg) scale(1.15);
}

.eye-icon {
    width: 22px;
    height: 20px;
    color: #fff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease, color 0.3s ease;
}

/* MOBILE */
@media (max-width: 480px) {
    .balance-text {
        font-size: 1.1rem;
        min-width: 80px;
    }
    .eye-icon {
        width: 20px;
        height: 20px;
    }
    .reveal-wrapper {
        gap: 6px;
    }
}