/* ========== PREMIUM BALANCE SHOWCASE ========== */

.wallet-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.balance-showcase {
    position: relative;
    padding: 48px;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 165, 0, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(61, 53, 48, 0.95) 0%, 
            rgba(74, 66, 56, 0.98) 100%);
    border-radius: 28px;
    border: 2px solid rgba(255, 215, 0, 0.25);
    box-shadow: 
        0 25px 70px -12px rgba(0, 0, 0, 0.5),
        0 10px 30px -5px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.balance-showcase:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 30px 80px -12px rgba(0, 0, 0, 0.6),
        0 15px 40px -5px rgba(255, 215, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.balance-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.5) 50%, 
        transparent 100%);
}

/* Floating coin decorations */
.balance-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.8;
}

.floating-coin {
    position: absolute;
    font-size: 56px;
    opacity: 0.12;
    animation: float 8s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.3));
}

.coin-1 {
    top: 8%;
    left: 8%;
    animation-delay: 0s;
    font-size: 64px;
}

.coin-2 {
    top: 55%;
    right: 12%;
    animation-delay: 2.5s;
    font-size: 48px;
}

.coin-3 {
    bottom: 15%;
    left: 15%;
    animation-delay: 5s;
    font-size: 40px;
}

.balance-decoration::before {
    content: '✨';
    position: absolute;
    top: 35%;
    right: 20%;
    font-size: 28px;
    opacity: 0.15;
    animation: twinkle 3s ease-in-out infinite;
}

.balance-decoration::after {
    content: '💫';
    position: absolute;
    bottom: 40%;
    left: 25%;
    font-size: 32px;
    opacity: 0.1;
    animation: twinkle 4s ease-in-out infinite 1s;
}

/* Balance content */
.balance-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

.balance-label-top {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255, 215, 0, 0.6);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.balance-label-top::before,
.balance-label-top::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.4));
}

.balance-label-top::before {
    right: calc(100% + 12px);
}

.balance-label-top::after {
    left: calc(100% + 12px);
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.4), transparent);
}

.balance-display-main {
    position: relative;
    margin-bottom: 28px;
    padding: 20px;
}

.balance-amount-large {
    font-size: 84px;
    font-weight: 900;
    line-height: 0.95;
    margin: 0;
    background: linear-gradient(135deg, 
        #FFD700 0%, 
        #FFC700 25%,
        #FFB800 50%,
        #FFA500 75%,
        #FF9500 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Playfair Display', serif;
    animation: balanceGlow 4s ease-in-out infinite, gradientShift 6s ease infinite;
    filter: drop-shadow(0 6px 24px rgba(255, 215, 0, 0.4));
    letter-spacing: -2px;
}

@keyframes balanceGlow {
    0%, 100% { 
        filter: drop-shadow(0 6px 24px rgba(255, 215, 0, 0.4));
    }
    50% { 
        filter: drop-shadow(0 8px 32px rgba(255, 215, 0, 0.7));
    }
}

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

.balance-unit-large {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: 12px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px
}

.balance-label-top {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #a1a1a1;
    margin-bottom: 16px;
}

.balance-display-main {
    position: relative;
    margin-bottom: 28px;
    padding: 20px;
}

.balance-amount-large {
    font-size: 84px;
    font-weight: 900;
    line-height: 0.95;
    margin: 0;
    background: linear-gradient(135deg, 
        #FFD700 0%, 
        #FFC700 25%,
        #FFB800 50%,
        #FFA500 75%,
        #FF9500 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Playfair Display', serif;
    animation: balanceGlow 4s ease-in-out infinite, gradientShift 6s ease infinite;
    filter: drop-shadow(0 6px 24px rgba(255, 215, 0, 0.4));
    letter-spacing: -2px;
}

@keyframes shine {
    0% { 
        left: -100%; 
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    25% { 
        left: 150%; 
        opacity: 0;
    }
    100% { 
        left: 150%; 
        opacity: 0;
    }
}

@keyframes balanceGlow {
    0%, 100% { 
        filter: drop-shadow(0 6px 24px rgba(255, 215, 0, 0.4));
    }
    50% { 
        filter: drop-shadow(0 8px 32px rgba(255, 215, 0, 0.7));
    }
}

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

.balance-unit-large {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: 0;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 2px;
}

.balance-unit-large {
    font-size: 28px;
    font-weight: 600;
    color: #FFD700;
    display: block;
    margin-top: 8px;
    font-family: 'Poppins', sans-serif;
}

/* Shine effect */
.balance-shine {
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.15) 40%,
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0.15) 60%,
        transparent 100%);
    transform: skewX(-25deg);
    animation: shine 5s ease-in-out infinite;
}

@keyframes shine {
    0% { 
        left: -100%; 
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    25% { 
        left: 150%; 
        opacity: 0;
    }
    100% { 
        left: 150%; 
        opacity: 0;
    }
}

/* INR Value Card */
.balance-value-card {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.25) 100%);
    border-radius: 16px;
    border: 1.5px solid rgba(255, 215, 0, 0.25);
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.balance-value-card:hover {
    transform: scale(1.03);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.balance-inr-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-inr-amount {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e5e5e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
}

/* Balance badges */
.balance-badges {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 24px;
}

.balance-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.balance-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.balance-badge:hover::before {
    left: 100%;
}

.badge-verified {
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.2) 0%, 
        rgba(34, 197, 94, 0.12) 100%);
    color: #4ade80;
    border: 1.5px solid rgba(34, 197, 94, 0.4);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

.badge-verified svg {
    stroke: #4ade80;
    filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.4));
}

.badge-redeemable {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.2) 0%, 
        rgba(255, 165, 0, 0.15) 100%);
    color: #FFD700;
    border: 1.5px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.badge-redeemable svg {
    stroke: #FFD700;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.4));
}

.balance-badge:hover {
    transform: translateY(-3px) scale(1.05);
}

.badge-verified:hover {
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.6);
}

.badge-redeemable:hover {
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.6);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .wallet-header {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .balance-showcase {
        padding: 40px;
        min-height: 350px;
    }
    
    .balance-amount-large {
        font-size: 68px;
    }
    
    .balance-unit-large {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .balance-showcase {
        padding: 32px;
        min-height: 320px;
    }
    
    .balance-amount-large {
        font-size: 56px;
    }
    
    .balance-unit-large {
        font-size: 24px;
    }
    
    .balance-inr-amount {
        font-size: 24px;
    }
    
    .balance-value-card {
        padding: 12px 22px;
    }
    
    .balance-badges {
        flex-direction: column;
        gap: 10px;
    }
    
    .floating-coin {
        font-size: 44px;
    }
}

@media (max-width: 480px) {
    .balance-showcase {
        padding: 24px;
    }
    
    .balance-amount-large {
        font-size: 48px;
        letter-spacing: -1px;
    }
    
    .balance-unit-large {
        font-size: 20px;
    }
    
    .balance-inr-amount {
        font-size: 20px;
    }
    
    .floating-coin {
        font-size: 36px;
    }
    
    .coin-1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .balance-showcase {
        padding: 24px;
        min-height: 280px;
    }
    
    .balance-amount-large {
        font-size: 48px;
    }
    
    .balance-unit-large {
        font-size: 20px;
    }
    
    .balance-inr-amount {
        font-size: 20px;
    }
    
    .balance-badges {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .balance-amount-large {
        font-size: 40px;
    }
    
    .balance-unit-large {
        font-size: 18px;
    }
    
    .floating-coin {
        font-size: 32px;
    }
}
