/* ════════════════════════════════════════════════════════════
   DRAVYX WIN - MODERN NEON PROFILE DESIGN
   Неоновая тема с glassmorphism эффектами
   ════════════════════════════════════════════════════════════ */

/* CSS Variables - Neon Theme */
:root {
    --neon-bg: #0F1120;
    --neon-cyan: #00FFD1;
    --neon-magenta: #FF00E5;
    --neon-purple: #9D00FF;
    --neon-blue: #00B8FF;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 12px;
}

/* Profile Page Container */
.profile-page {
    min-height: 100vh;
    background: var(--neon-bg);
    padding: 40px 20px;
    font-family: 'Inter', 'Manrope', -apple-system, sans-serif;
    position: relative;
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ════════════════════════════════════════════════════════════
   WELCOME BANNER
   ════════════════════════════════════════════════════════════ */

.neon-welcome-banner {
    padding: 24px 32px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    margin-bottom: 24px;
    animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.welcome-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.welcome-greeting {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.welcome-username {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ════════════════════════════════════════════════════════════
   NEON PROFILE HEADER
   ════════════════════════════════════════════════════════════ */

.neon-profile-header {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.neon-profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-magenta), transparent);
    animation: neonSweep 3s ease-in-out infinite;
}

@keyframes neonSweep {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Avatar */
.neon-avatar-container {
    flex-shrink: 0;
}

.neon-avatar-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
    padding: 3px;
    position: relative;
    animation: neonPulse 2s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(0, 255, 209, 0.5);
}

@keyframes neonPulse {
    0%, 100% {
        filter: drop-shadow(0 0 8px var(--neon-cyan)) drop-shadow(0 0 16px var(--neon-magenta));
    }
    50% {
        filter: drop-shadow(0 0 16px var(--neon-cyan)) drop-shadow(0 0 24px var(--neon-magenta));
    }
}

.neon-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: var(--neon-bg);
}

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

/* Profile Info */
.neon-profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.neon-username-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.neon-username {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: none !important;
    filter: none !important;
    box-shadow: none !important;
    -webkit-filter: none !important;
}

/* Современные градиентные эффекты для статусов */
.neon-username.status-bronze {
    background: linear-gradient(135deg, #cd7f32 0%, #e8a15e 50%, #cd7f32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
}

.neon-username.status-silver {
    background: linear-gradient(135deg, #8b8b8b 0%, #c5c5c5 50%, #8b8b8b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
}

.neon-username.status-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffa500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
}

.neon-username.status-platinum {
    background: linear-gradient(90deg, #b8b6b4 0%, #e5e4e2 25%, #ffffff 50%, #e5e4e2 75%, #b8b6b4 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    animation: platinumShine 3s ease-in-out infinite;
}

.neon-username.status-diamond {
    background: linear-gradient(90deg, #00bcd4 0%, #4dd0e1 25%, #b9f2ff 50%, #4dd0e1 75%, #00bcd4 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    animation: diamondSparkle 2.5s ease-in-out infinite;
}

.neon-username.status-legend {
    background: linear-gradient(90deg, #ff0080 0%, #ff8c00 25%, #ffd700 50%, #40e0d0 75%, #ff0080 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    animation: legendRainbow 3s linear infinite;
}

@keyframes platinumShine {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

@keyframes diamondSparkle {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

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

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

/* Profile Level Badge */
.profile-level-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.15);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
    color: #fff;
    transition: all 0.3s ease;
}

.profile-level-badge svg {
    width: 18px;
    height: 18px;
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 6px var(--neon-cyan));
}

.profile-level-badge span {
    font-family: 'Orbitron', monospace;
    font-weight: 800;
}

/* Level-specific styles */
.profile-level-badge.level-1 {
    background: rgba(139, 139, 139, 0.15);
    border-color: rgba(139, 139, 139, 0.3);
    box-shadow: 0 0 10px rgba(139, 139, 139, 0.2);
}

.profile-level-badge.level-2,
.profile-level-badge.level-3,
.profile-level-badge.level-4 {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.4);
}

.profile-level-badge.level-2 svg,
.profile-level-badge.level-3 svg,
.profile-level-badge.level-4 svg {
    color: #667eea;
    filter: drop-shadow(0 0 8px #667eea);
}

.profile-level-badge.level-5 {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.4);
}

.profile-level-badge.level-5 svg {
    color: #3b82f6;
    filter: drop-shadow(0 0 10px #3b82f6);
}

.profile-level-badge.level-6,
.profile-level-badge.level-7,
.profile-level-badge.level-8,
.profile-level-badge.level-9 {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.profile-level-badge.level-6 svg,
.profile-level-badge.level-7 svg,
.profile-level-badge.level-8 svg,
.profile-level-badge.level-9 svg {
    color: #ffd700;
    filter: drop-shadow(0 0 12px #ffd700);
}

.profile-level-badge.level-10 {
    background: rgba(229, 228, 226, 0.25);
    border-color: rgba(229, 228, 226, 0.6);
    box-shadow: 0 0 25px rgba(229, 228, 226, 0.6);
}

.profile-level-badge.level-10 svg {
    color: #e5e4e2;
    filter: drop-shadow(0 0 15px #e5e4e2);
}

.profile-level-badge.level-11,
.profile-level-badge.level-12,
.profile-level-badge.level-13,
.profile-level-badge.level-14 {
    background: rgba(167, 139, 250, 0.25);
    border-color: rgba(167, 139, 250, 0.6);
    box-shadow: 0 0 25px rgba(167, 139, 250, 0.6);
}

.profile-level-badge.level-11 svg,
.profile-level-badge.level-12 svg,
.profile-level-badge.level-13 svg,
.profile-level-badge.level-14 svg {
    color: #a78bfa;
    filter: drop-shadow(0 0 15px #a78bfa);
}

.profile-level-badge.level-15 {
    background: rgba(16, 185, 129, 0.25);
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 0 28px rgba(16, 185, 129, 0.6);
}

.profile-level-badge.level-15 svg {
    color: #10b981;
    filter: drop-shadow(0 0 18px #10b981);
}

.profile-level-badge.level-16,
.profile-level-badge.level-17,
.profile-level-badge.level-18,
.profile-level-badge.level-19,
.profile-level-badge.level-20 {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.3), rgba(77, 208, 225, 0.3));
    border-color: rgba(77, 208, 225, 0.7);
    box-shadow: 0 0 30px rgba(77, 208, 225, 0.7);
    animation: levelGlow 2s ease-in-out infinite;
}

.profile-level-badge.level-16 svg,
.profile-level-badge.level-17 svg,
.profile-level-badge.level-18 svg,
.profile-level-badge.level-19 svg,
.profile-level-badge.level-20 svg {
    color: #4dd0e1;
    filter: drop-shadow(0 0 20px #4dd0e1);
    animation: levelIconPulse 2s ease-in-out infinite;
}

.profile-level-badge.level-21 {
    background: linear-gradient(90deg, 
        rgba(255, 0, 128, 0.4) 0%, 
        rgba(255, 140, 0, 0.4) 25%, 
        rgba(255, 215, 0, 0.4) 50%, 
        rgba(64, 224, 208, 0.4) 75%, 
        rgba(255, 0, 128, 0.4) 100%);
    background-size: 300% 100%;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 
        0 0 35px rgba(255, 0, 128, 0.7),
        0 0 50px rgba(255, 140, 0, 0.5);
    animation: legendLevelShimmer 3s linear infinite, legendLevelPulse 2s ease-in-out infinite;
    position: relative;
    overflow: visible;
}

.profile-level-badge.level-21::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(90deg, 
        rgba(255, 0, 128, 1) 0%, 
        rgba(255, 140, 0, 1) 25%, 
        rgba(255, 215, 0, 1) 50%, 
        rgba(64, 224, 208, 1) 75%, 
        rgba(255, 0, 128, 1) 100%);
    background-size: 300% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: legendLevelBorderShimmer 3s linear infinite;
    z-index: -1;
}

.profile-level-badge.level-21 svg {
    color: #fff;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
    animation: legendLevelIconRotate 3s linear infinite;
}

@keyframes levelGlow {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(77, 208, 225, 0.7);
    }
    50% { 
        box-shadow: 0 0 40px rgba(77, 208, 225, 1);
    }
}

@keyframes levelIconPulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 20px #4dd0e1);
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 30px #4dd0e1);
    }
}

@keyframes legendLevelShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 300% center; }
}

@keyframes legendLevelBorderShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 300% center; }
}

@keyframes legendLevelPulse {
    0%, 100% { 
        box-shadow: 
            0 0 35px rgba(255, 0, 128, 0.7),
            0 0 50px rgba(255, 140, 0, 0.5);
    }
    50% { 
        box-shadow: 
            0 0 45px rgba(255, 0, 128, 1),
            0 0 70px rgba(255, 140, 0, 0.7);
    }
}

@keyframes legendLevelIconRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Скрытие кнопок управления для не-владельцев профиля */
.hidden-for-non-owner,
#profile-page .neon-balance-row.hidden-for-non-owner .neon-pill-deposit:not(.transfer-money-btn):not(.provider-profile-link-btn),
#profile-page .neon-balance-row.hidden-for-non-owner .neon-pill-withdraw:not(.transfer-money-btn):not(.provider-profile-link-btn),
#profile-page .neon-balance-row.hidden-for-non-owner .neon-pill-history:not(.transfer-money-btn):not(.provider-profile-link-btn),
#profile-page .neon-balance-row.hidden-for-non-owner .neon-pill-details:not(.transfer-money-btn):not(.provider-profile-link-btn),
#profile-page .hidden-for-non-owner.neon-pill-deposit,
#profile-page .hidden-for-non-owner.neon-pill-withdraw,
#profile-page .hidden-for-non-owner.neon-pill-history,
#profile-page .hidden-for-non-owner.neon-pill-details {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Скрытие balance-row для не-владельцев */
#profile-page .neon-balance-row.hidden-for-non-owner {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.neon-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0px;
    padding: 8px 18px;
    background: rgba(100, 100, 100, 0.4);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(150, 150, 150, 0.5);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.95);
}

/* Убираем иконку статуса */
.status-badge-icon {
    display: none;
}

/* Градиентные эффекты для бейджей статусов - контрастные цвета */
.neon-status-badge.status-bronze {
    background: rgba(205, 127, 50, 0.35);
    border-color: #e8a15e;
    color: #ffd4a3;
    font-weight: 700;
}

.neon-status-badge.status-silver {
    background: rgba(139, 139, 139, 0.4);
    border-color: #c5c5c5;
    color: #e8e8e8;
    font-weight: 700;
}

.neon-status-badge.status-gold {
    background: rgba(255, 215, 0, 0.35);
    border-color: #ffed4e;
    color: #fffacd;
    font-weight: 700;
}

.neon-status-badge.status-platinum {
    background: rgba(184, 182, 180, 0.4);
    border-color: #e5e4e2;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(229, 228, 226, 0.3);
}

.neon-status-badge.status-diamond {
    background: rgba(0, 188, 212, 0.45);
    border: 2px solid #4dd0e1;
    color: #e0f7ff;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(77, 208, 225, 0.4);
}

.neon-status-badge.status-legend {
    background: linear-gradient(90deg, 
        rgba(255, 0, 128, 0.5) 0%, 
        rgba(255, 140, 0, 0.5) 25%, 
        rgba(255, 215, 0, 0.5) 50%, 
        rgba(64, 224, 208, 0.5) 75%, 
        rgba(255, 0, 128, 0.5) 100%);
    background-size: 300% 100%;
    border: 2px solid transparent;
    background-clip: padding-box;
    color: #ffffff;
    font-weight: 800;
    position: relative;
    overflow: visible;
    letter-spacing: 1px;
    box-shadow: 
        0 0 20px rgba(255, 0, 128, 0.5),
        0 0 40px rgba(255, 140, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: legendBadgeShimmer 3s linear infinite, legendBadgePulse 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.neon-status-badge.status-legend::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(90deg, 
        rgba(255, 0, 128, 1) 0%, 
        rgba(255, 140, 0, 1) 25%, 
        rgba(255, 215, 0, 1) 50%, 
        rgba(64, 224, 208, 1) 75%, 
        rgba(255, 0, 128, 1) 100%);
    background-size: 300% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: legendBorderShimmer 3s linear infinite;
    z-index: -1;
}

@keyframes legendBadgeShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 300% center; }
}

@keyframes legendBorderShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 300% center; }
}

@keyframes legendBadgePulse {
    0%, 100% { 
        box-shadow: 
            0 0 20px rgba(255, 0, 128, 0.5),
            0 0 40px rgba(255, 140, 0, 0.3),
            inset 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% { 
        box-shadow: 
            0 0 30px rgba(255, 0, 128, 0.8),
            0 0 60px rgba(255, 140, 0, 0.5),
            inset 0 0 30px rgba(255, 255, 255, 0.2);
    }
}

/* Balance Row */
.neon-balance-row {
    display: flex !important;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    visibility: visible !important;
    opacity: 1 !important;
}

.neon-balance-display {
    font-size: 40px;
    font-weight: 800;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(135deg, var(--neon-cyan), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px var(--neon-cyan));
}

/* Pill Buttons */
.neon-pill-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    visibility: visible !important;
    opacity: 1 !important;
}

.neon-pill-btn svg {
    width: 16px;
    height: 16px;
}

.neon-pill-deposit {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: #0F1120;
    box-shadow: 0 0 20px rgba(0, 255, 209, 0.5);
}

.neon-pill-deposit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 209, 0.8);
}

.neon-pill-deposit:active {
    transform: scale(0.95);
}

.neon-pill-withdraw {
    background: linear-gradient(135deg, var(--neon-magenta), var(--neon-purple));
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 229, 0.5);
}

.neon-pill-withdraw:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 0, 229, 0.8);
}

.neon-pill-withdraw:active {
    transform: scale(0.95);
}

.neon-pill-history {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-magenta));
    color: #fff;
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.5);
}

.neon-pill-history:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(157, 0, 255, 0.8);
}

.neon-pill-history:active {
    transform: scale(0.95);
}

.neon-pill-details {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-cyan));
    color: #0F1120;
    box-shadow: 0 0 20px rgba(0, 184, 255, 0.5);
}

.neon-pill-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 184, 255, 0.8);
}

.neon-pill-details:active {
    transform: scale(0.95);
}

/* Transfer Money Button */
.neon-pill-btn.transfer-money-btn,
.neon-pill-btn.transfer-money-btn:visited {
    color: white;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.neon-pill-btn.transfer-money-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.8);
}

.neon-pill-btn.transfer-money-btn:active {
    transform: scale(0.95);
}

/* Provider Profile Link Button */
.neon-pill-btn.provider-profile-link-btn {
    color: white !important;
    text-decoration: none !important;
}

.neon-pill-btn.provider-profile-link-btn:hover {
    transform: translateY(-2px);
}

.neon-pill-btn.provider-profile-link-btn:active {
    transform: scale(0.95);
}

/* VK Button */
.neon-pill-btn.provider-profile-link-btn[style*="#4a76a8"] {
    box-shadow: 0 0 20px rgba(74, 118, 168, 0.5);
}

.neon-pill-btn.provider-profile-link-btn[style*="#4a76a8"]:hover {
    box-shadow: 0 0 30px rgba(74, 118, 168, 0.8);
}

/* Telegram Button */
.neon-pill-btn.provider-profile-link-btn[style*="#2aabee"] {
    box-shadow: 0 0 20px rgba(42, 171, 238, 0.5);
}

.neon-pill-btn.provider-profile-link-btn[style*="#2aabee"]:hover {
    box-shadow: 0 0 30px rgba(42, 171, 238, 0.8);
}

/* ════════════════════════════════════════════════════════════
   NEON STATS SCROLL
   ════════════════════════════════════════════════════════════ */

.neon-stats-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 4px;
    margin: 0 -4px 32px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-cyan) transparent;
}

.neon-stats-scroll::-webkit-scrollbar {
    height: 6px;
}

.neon-stats-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.neon-stats-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    border-radius: 10px;
}

.neon-stat-card {
    min-width: 200px;
    flex-shrink: 0;
    padding: 24px;
    background: rgba(0, 255, 209, 0.05);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 209, 0.2);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.neon-stat-card[data-animate="fade-up"] {
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.neon-stat-card[data-delay="100"] { animation-delay: 0.1s; }
.neon-stat-card[data-delay="200"] { animation-delay: 0.2s; }
.neon-stat-card[data-delay="300"] { animation-delay: 0.3s; }
.neon-stat-card[data-delay="400"] { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.neon-stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 209, 0.8), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.neon-stat-card:hover::after {
    transform: scaleX(1);
}

.neon-stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 209, 0.6);
    box-shadow: 0 0 40px rgba(0, 255, 209, 0.4);
}

.neon-stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--neon-cyan);
    filter: drop-shadow(0 0 8px var(--neon-cyan));
}

.neon-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    font-family: 'Orbitron', monospace;
}

.neon-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .profile-page {
        padding: 20px 10px;
    }

    .neon-profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 24px;
    }

    .neon-avatar-ring {
        width: 80px;
        height: 80px;
    }

    .neon-username-row {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .profile-level-badge {
        padding: 6px 12px;
        font-size: 13px;
    }

    .profile-level-badge svg {
        width: 16px;
        height: 16px;
    }

    .neon-status-badge {
        padding: 6px 14px;
        font-size: 13px;
    }

    .neon-balance-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        width: 100%;
    }

    .neon-balance-display {
        grid-column: 1 / -1;
        font-size: 32px;
        text-align: center;
        margin-bottom: 12px;
    }

    .neon-pill-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 18px;
        font-size: 14px;
        gap: 8px;
        border-radius: 16px;
        font-weight: 600;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .neon-pill-btn svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
    
    .neon-pill-btn:active {
        transform: scale(0.96);
    }

    .neon-stats-scroll {
        padding-bottom: 20px;
    }

    .neon-stat-card {
        min-width: 160px;
        padding: 20px;
    }

    .neon-username {
        font-size: 24px;
    }
    
    /* Adjust button shadows on mobile */
    .neon-pill-btn.transfer-money-btn {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 20px rgba(16, 185, 129, 0.5) !important;
    }
    
    .neon-pill-btn.provider-profile-link-btn[style*="#4a76a8"] {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 20px rgba(74, 118, 168, 0.5) !important;
    }
    
    .neon-pill-btn.provider-profile-link-btn[style*="#2aabee"] {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 20px rgba(42, 171, 238, 0.5) !important;
    }
}

@media (max-width: 480px) {
    .profile-page {
        padding: 15px 10px;
    }

    .neon-profile-header {
        padding: 20px;
        gap: 16px;
    }

    .neon-avatar-ring {
        width: 70px;
        height: 70px;
    }

    .neon-username {
        font-size: 20px;
    }

    .neon-username-row {
        flex-direction: column;
        gap: 10px;
    }

    .profile-level-badge {
        padding: 5px 10px;
        font-size: 12px;
    }

    .profile-level-badge svg {
        width: 14px;
        height: 14px;
    }

    .neon-status-badge {
        padding: 5px 12px;
        font-size: 12px;
    }

    .neon-balance-row {
        gap: 10px;
        grid-template-columns: 1fr;
    }

    .neon-balance-display {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .neon-pill-btn {
        padding: 12px 16px;
        font-size: 13px;
        gap: 6px;
        border-radius: 14px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    }

    .neon-pill-btn svg {
        width: 17px;
        height: 17px;
    }

    .neon-stat-value {
        font-size: 24px;
    }

    .neon-stat-card {
        min-width: 140px;
        padding: 16px;
    }
}

