/* Enhanced Brightness & Professional Polish */

/* ========== BRIGHTER BASE COLORS ========== */
:root {
    --primary-bg: #2d2620 !important;
    --secondary-bg: #3d3530 !important;
    --card-bg: #4a4238 !important;
    --hover-bg: #544c42 !important;
    --text-primary: #ffffff !important;
    --text-secondary: #e5e5e5 !important;
}

body {
    background: linear-gradient(135deg, #2d2620 0%, #38301a 50%, #2d2620 100%) !important;
}

/* ========== GLOBAL SMOOTH TRANSITIONS ========== */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ========== MAKE "M SIKKA" TEXT WHITE ========== */
.balance-unit,
.balance-amount span,
.stat-value span,
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
}

/* ========== BRIGHTER WALLET CARD ========== */
.wallet-card {
    background: linear-gradient(135deg, 
        rgba(31, 31, 31, 0.95) 0%, 
        rgba(37, 37, 37, 0.9) 100%) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
}

/* ========== BRIGHTER STAT CARDS ========== */
.stat-card {
    background: rgba(37, 37, 37, 0.8) !important;
    transition: all 0.3s ease !important;
}

.stat-card:hover {
    background: rgba(45, 45, 45, 0.9) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.15) !important;
}

/* ========== BRIGHTER TRANSACTION ITEMS ========== */
.transaction-item {
    background: rgba(37, 37, 37, 0.7) !important;
}

.transaction-item:hover {
    background: rgba(45, 45, 45, 0.9) !important;
    transform: translateX(8px) !important;
}

/* ========== BRIGHTER ACHIEVEMENTS ========== */
.achievement-card {
    background: rgba(37, 37, 37, 0.7) !important;
}

.achievement-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
}

.achievement-card.unlocked {
    background: rgba(255, 215, 0, 0.15) !important;
}

/* ========== BRIGHTER QUICK LINKS ========== */
.quick-link-card {
    background: rgba(37, 37, 37, 0.7) !important;
}

.quick-link-card:hover {
    background: rgba(45, 45, 45, 0.9) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2) !important;
}

/* ========== BRIGHTER REFERRAL BANNER ========== */
.referral-banner {
    background: linear-gradient(135deg, 
        rgba(31, 31, 31, 0.9) 0%, 
        rgba(37, 37, 37, 0.85) 100%) !important;
}

/* ========== BRIGHTER TIMELINE ========== */
.timeline-item {
    background: rgba(37, 37, 37, 0.8) !important;
}

.timeline-item:hover {
    background: rgba(45, 45, 45, 0.95) !important;
}

/* ========== ENHANCED PROFILE DROPDOWN ========== */
.user-dropdown {
    background: rgba(31, 31, 31, 0.98) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 215, 0, 0.2) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
    min-width: 280px !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.dropdown-header {
    padding: 20px;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.1) 0%, 
        rgba(255, 165, 0, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.dropdown-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dropdown-user-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff !important;
}

.dropdown-user-email {
    font-size: 13px;
    color: #a1a1a1 !important;
}

.dropdown-divider {
    height: 1px;
    background: linear-gradient(to right, 
        transparent 0%, 
        rgba(255, 215, 0, 0.2) 50%, 
        transparent 100%);
    margin: 8px 0;
}

.dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 20px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    border: none !important;
    background: transparent !important;
    width: 100% !important;
    text-align: left !important;
}

.dropdown-item:hover {
    background: rgba(255, 215, 0, 0.1) !important;
    padding-left: 24px !important;
    color: var(--gold-primary) !important;
}

.dropdown-item svg {
    color: var(--gold-primary) !important;
    flex-shrink: 0;
}

.dropdown-item.logout-item {
    color: #ef4444 !important;
}

.dropdown-item.logout-item:hover {
    background: rgba(239, 68, 68, 0.1) !important;
}

.dropdown-item.logout-item svg {
    color: #ef4444 !important;
}

/* ========== BUTTON ENHANCEMENTS ========== */
.wallet-btn,
.btn-copy,
.btn-login {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.wallet-btn:hover,
.btn-copy:hover {
    transform: translateY(-3px) scale(1.02) !important;
}

.wallet-btn:active,
.btn-copy:active {
    transform: translateY(-1px) scale(0.98) !important;
}

/* ========== NAVIGATION BAR BRIGHTNESS ========== */
.topbar {
    background: rgba(31, 31, 31, 0.9) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

/* ========== SMOOTH SCROLL ========== */
html {
    scroll-behavior: smooth !important;
}

/* ========== ENHANCED FOCUS STATES ========== */
input:focus,
button:focus,
a:focus {
    outline: 2px solid rgba(255, 215, 0, 0.5) !important;
    outline-offset: 2px !important;
}

/* ========== MILESTONE BRIGHTNESS ========== */
.milestone {
    background: rgba(37, 37, 37, 0.6) !important;
}

.milestone.active {
    background: rgba(255, 215, 0, 0.15) !important;
    transform: scale(1.1) !important;
}

/* ========== TIER BADGE ENHANCEMENT ========== */
.user-tier-badge {
    background: rgba(255, 215, 0, 0.18) !important;
    border: 1px solid rgba(255, 215, 0, 0.35) !important;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2) !important;
}

/* ========== SECTION HEADERS ========== */
.section-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

.section-subtitle {
    color: #e5e5e5 !important;
}

/* ========== MODAL BRIGHTNESS ========== */
.modal-content-info,
.login-card {
    background: rgba(31, 31, 31, 0.98) !important;
}

/* ========== LOADING ANIMATIONS ========== */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
    }
}

.wallet-btn.primary:hover {
    animation: pulse-glow 2s infinite !important;
}

/* ========== PROGRESS TRACKER BRIGHTNESS ========== */
.rewards-tracker {
    background: rgba(37, 37, 37, 0.6) !important;
}

/* ========== FOOTER BRIGHTNESS ========== */
.footer {
    background: rgba(31, 31, 31, 0.9) !important;
}

/* ========== REFERRAL CODE BOX BRIGHTNESS ========== */
.referral-code-box,
.referral-link-box {
    background: rgba(45, 45, 45, 0.8) !important;
}

.code-value {
    color: var(--gold-primary) !important;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* ========== SOCIAL BUTTONS ENHANCEMENT ========== */
.social-btn:hover {
    transform: scale(1.15) rotate(5deg) !important;
}

/* ========== ACHIEVEMENT ICON GLOW ========== */
.achievement-card.unlocked .achievement-icon {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

/* ========== COIN ANIMATION BRIGHTNESS ========== */
.coin {
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.4));
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 768px) {
    .user-dropdown {
        min-width: 260px !important;
        right: -10px !important;
    }
}
