        /* Preloader Styles */
        .app-preloader {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(154.24deg, rgb(191, 255, 228) 11.19%, rgb(74, 33, 239) 62.38%), rgb(196, 196, 196);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            opacity: 1;
            visibility: visible;
            transition: all 0.8s ease-out;
        }
        
        .app-preloader.hidden {
            opacity: 0;
            visibility: hidden;
            transform: translateY(-20px);
        }
        
        .main-interface {
            opacity: 0;
            transition: opacity 1s ease-out;
        }
        
        .main-interface.visible {
            opacity: 1;
        }
        
        .preloader-logo {
            width: 120px;
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 40px;
            animation: logoFloat 3s ease-in-out infinite;
        }
        
        .preloader-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        
        @keyframes logoFloat {
            0%, 100% {
                transform: translateY(0) scale(1);
            }
            50% {
                transform: translateY(-10px) scale(1.05);
            }
        }
        
        .preloader-content {
            text-align: center;
            color: white;
        }
        
        .preloader-title {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 12px;
            background: linear-gradient(135deg, #FFFFFF, #E0E7FF);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: titlePulse 2s ease-in-out infinite;
        }
        
        .preloader-subtitle {
            font-size: 16px;
            color: rgba(255, 255, 255, 0.8);
            margin-bottom: 40px;
            animation: subtitleFade 3s ease-in-out infinite;
        }
        
        @keyframes titlePulse {
            0%, 100% {
                opacity: 1;
                transform: scale(1);
            }
            50% {
                opacity: 0.8;
                transform: scale(1.02);
            }
        }
        
        @keyframes subtitleFade {
            0%, 100% {
                opacity: 0.8;
            }
            50% {
                opacity: 0.6;
            }
        }
        
        .preloader-spinner {
            width: 60px;
            height: 60px;
            position: relative;
            margin: 0 auto 24px auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .spinner-ring {
            position: absolute;
            width: 100%;
            height: 100%;
            border: 3px solid transparent;
            border-radius: 50%;
            animation: spinnerRotate 1.5s linear infinite;
        }
        
        .spinner-ring:nth-child(1) {
            border-top: 3px solid rgba(255, 255, 255, 0.8);
            animation-delay: 0s;
        }
        
        .spinner-ring:nth-child(2) {
            border-right: 3px solid rgba(255, 255, 255, 0.6);
            animation-delay: -0.3s;
            animation-duration: 1.2s;
        }
        
        .spinner-ring:nth-child(3) {
            border-bottom: 3px solid rgba(255, 255, 255, 0.4);
            animation-delay: -0.6s;
            animation-duration: 1.8s;
        }
        
        @keyframes spinnerRotate {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }
        
        .preloader-progress {
            width: 200px;
            height: 4px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 2px;
            overflow: hidden;
            margin-bottom: 16px;
        }
        
        .preloader-progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #FFFFFF, rgba(255, 255, 255, 0.8));
            border-radius: 2px;
            width: 0%;
            transition: width 0.3s ease;
            animation: progressShine 2s ease-in-out infinite;
        }
        
        @keyframes progressShine {
            0%, 100% {
                box-shadow: 0 0 0 rgba(255, 255, 255, 0);
            }
            50% {
                box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
            }
        }
        
        .preloader-status {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
            font-weight: 500;
            animation: statusFade 2s ease-in-out infinite;
        }
        
        @keyframes statusFade {
            0%, 100% {
                opacity: 0.7;
            }
            50% {
                opacity: 1;
            }
        }
        
        .preloader-particles {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
            overflow: hidden;
        }
        
        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(255, 255, 255, 0.6);
            border-radius: 50%;
            animation: particleFloat 8s linear infinite;
        }
        
        .particle:nth-child(1) { left: 10%; animation-delay: 0s; }
        .particle:nth-child(2) { left: 20%; animation-delay: -1s; }
        .particle:nth-child(3) { left: 30%; animation-delay: -2s; }
        .particle:nth-child(4) { left: 40%; animation-delay: -3s; }
        .particle:nth-child(5) { left: 50%; animation-delay: -4s; }
        .particle:nth-child(6) { left: 60%; animation-delay: -5s; }
        .particle:nth-child(7) { left: 70%; animation-delay: -6s; }
        .particle:nth-child(8) { left: 80%; animation-delay: -7s; }
        .particle:nth-child(9) { left: 90%; animation-delay: -1.5s; }
        .particle:nth-child(10) { left: 15%; animation-delay: -2.5s; }
        
        @keyframes particleFloat {
            0% {
                bottom: -10px;
                opacity: 0;
                transform: translateX(0) scale(0);
            }
            10% {
                opacity: 1;
                transform: translateX(10px) scale(1);
            }
            90% {
                opacity: 1;
                transform: translateX(-10px) scale(1);
            }
            100% {
                bottom: 110vh;
                opacity: 0;
                transform: translateX(20px) scale(0);
            }
        }
        
        /* Мобильная адаптация */
        @media (max-width: 768px) {
            .preloader-logo {
                width: 100px;
                height: 100px;
                margin-bottom: 32px;
            }
            
            .preloader-title {
                font-size: 24px;
            }
            
            .preloader-subtitle {
                font-size: 14px;
                margin-bottom: 32px;
            }
            
            .preloader-spinner {
                width: 50px;
                height: 50px;
            }
            
            .preloader-progress {
                width: 160px;
            }
        }
        
        .gradient-bg {
            background: linear-gradient(154.24deg, rgb(191, 255, 228) 11.19%, rgb(74, 33, 239) 62.38%), rgb(196, 196, 196);
        }
        
        .card-gradient {
            background: url('/assets/img/SP9xqWZ30TE11zJpe6edn.png') center/cover;
            position: relative;
            overflow: hidden;
        }
        
        .card-gradient::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.3);
            z-index: 0;
        }
        
        .card-gradient > * {
            position: relative;
            z-index: 1;
        }
        
        .decorative-star {
            position: absolute;
            color: rgba(255, 255, 255, 0.3);
            font-size: 12px;
        }
        
        .star-1 { top: 20%; left: 15%; }
        .star-2 { top: 30%; right: 20%; }
        .star-3 { top: 60%; left: 10%; }
        .star-4 { top: 70%; right: 15%; }
        .star-5 { top: 15%; left: 50%; }
        
        .wallet-icon {
            width: 80px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
        }
        
        .primary-button {
            background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
            transition: all 0.3s ease;
        }
        
        .primary-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
        }
        
        .secondary-button {
            background: rgba(55, 65, 81, 0.8);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }
        
        .secondary-button:hover {
            background: rgba(75, 85, 99, 0.9);
            transform: translateY(-1px);
        }

        .import-option {
            background: rgba(55, 65, 81, 0.6);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            border: 1px solid rgba(75, 85, 99, 0.5);
        }
        
        .import-option:hover {
            background: rgba(75, 85, 99, 0.8);
            border-color: rgba(99, 102, 241, 0.5);
        }

        .green-header {
            background: linear-gradient(135deg, #A7F3D0 0%, #6EE7B7 100%);
        }

        .smooth-enter {
            width: 100%;
            max-width: 28rem;
            margin-left: auto;
            margin-right: auto;
            overflow: hidden;
            border-radius: 1.5rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }

        .smooth-enter > .green-header,
        .smooth-enter > .card-gradient {
            width: 100%;
            max-width: none;
            margin-left: 0;
            margin-right: 0;
            box-sizing: border-box;
        }

        .smooth-enter > .green-header {
            border-radius: 1.5rem 1.5rem 0 0;
        }

        .smooth-enter > .card-gradient {
            border-radius: 0 0 1.5rem 1.5rem;
        }

        .word-selector-container {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-bottom: 24px;
            flex-wrap: wrap;
        }
        
        .word-selector {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 50px;
            height: 44px;
            padding: 12px 16px;
            background: rgba(31, 41, 55, 0.8);
            border: 2px solid rgba(75, 85, 99, 0.4);
            border-radius: 12px;
            color: #9CA3AF;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-weight: 600;
            font-size: 14px;
            backdrop-filter: blur(10px);
            overflow: auto;
        }
        
        .word-selector::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .word-selector:hover {
            border-color: rgba(99, 102, 241, 0.6);
            color: #E5E7EB;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
        }
        
        .word-selector:hover::before {
            opacity: 1;
        }
        
        .word-selector.active {
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            border-color: #6366F1;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
        }
        
        .word-selector.active::before {
            opacity: 0;
        }
        
        .word-selector.active::after {
            content: '';
            position: absolute;
            top: 2px;
            left: 2px;
            right: 2px;
            bottom: 2px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
            border-radius: 8px;
            pointer-events: none;
        }
        
        .word-selector-label {
            color: #9CA3AF;
            font-size: 14px;
            font-weight: 500;
            margin-left: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .word-selector-label::before {
            content: '';
            display: inline-block;
            width: 16px;
            height: 16px;
            background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%239CA3AF"><path d="M9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4zm2.5 2.25h-15c-.69 0-1.25-.56-1.25-1.25V5.75c0-.69.56-1.25 1.25-1.25h15c.69 0 1.25.56 1.25 1.25v12.25c0 .69-.56 1.25-1.25 1.25z"/></svg>');
            background-size: contain;
            margin-right: 4px;
        }
        
        /* Мобильная адаптация */
        @media (max-width: 768px) {
            .word-selector-container {
                gap: 6px;
            }
            
            .word-selector {
                min-width: 44px;
                height: 40px;
                padding: 10px 12px;
                font-size: 13px;
            }
            
            .word-selector-label {
                font-size: 13px;
                margin-left: 8px;
            }
        }

        .seed-input {
            background: rgba(31, 41, 55, 0.8);
            border: 1px solid rgba(75, 85, 99, 0.5);
            border-radius: 6px;
            padding: 5px 6px;
            color: white;
            width: 100%;
            min-width: 0;
            height: 2rem;
            font-size: 0.75rem;
            line-height: 1.2;
            box-sizing: border-box;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            transition: all 0.2s ease;
        }

        .seed-input:focus {
            outline: none;
            border-color: #6366F1;
            background: rgba(31, 41, 55, 0.9);
        }

        .private-key-input {
            background: rgba(31, 41, 55, 0.8);
            border: 1px solid rgba(75, 85, 99, 0.5);
            border-radius: 12px;
            padding: 16px;
            color: #9CA3AF;
            width: 100%;
            min-height: 120px;
            resize: none;
            transition: all 0.2s ease;
        }

        .private-key-input:focus {
            outline: none;
            border-color: #6366F1;
            background: rgba(31, 41, 55, 0.9);
            color: white;
        }

        .hidden { display: none; }
        
        /* Современные анимации */
        .slide-enter {
            transform: translateX(100%);
            opacity: 0;
        }
        
        .slide-enter-active {
            transform: translateX(0);
            opacity: 1;
            transition: all 0.3s ease-out;
        }
        
        .slide-exit {
            transform: translateX(0);
            opacity: 1;
        }
        
        .slide-exit-active {
            transform: translateX(-100%);
            opacity: 0;
            transition: all 0.3s ease-in;
        }
        
        .processing-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .processing-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .processing-card {
            background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
            border-radius: 24px;
            padding: 40px;
            max-width: 400px;
            width: 90%;
            text-align: center;
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }
        
        .processing-overlay.active .processing-card {
            transform: scale(1);
        }
        
        .loader {
            width: 60px;
            height: 60px;
            border: 4px solid rgba(99, 102, 241, 0.3);
            border-top: 4px solid #6366F1;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .success-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #10B981, #059669);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            transform: scale(0);
            animation: successPop 0.5s ease-out forwards;
        }
        
        @keyframes successPop {
            0% { transform: scale(0); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        .checkmark {
            width: 30px;
            height: 30px;
            stroke: white;
            stroke-width: 3;
            fill: none;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-dasharray: 100;
            stroke-dashoffset: 100;
            animation: checkmarkDraw 0.5s ease-out 0.3s forwards;
        }
        
        @keyframes checkmarkDraw {
            to { stroke-dashoffset: 0; }
        }
        
        .pulse {
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }
        
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        
        .smooth-enter {
            animation: smoothEnter 0.4s ease-out;
        }
        
        @keyframes smoothEnter {
            0% { 
                opacity: 0; 
                transform: translateY(20px);
            }
            100% { 
                opacity: 1; 
                transform: translateY(0);
            }
        }
        
        .fade-in {
            animation: fadeIn 0.5s ease-out;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .gradient-text {
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .progress-bar {
            width: 100%;
            height: 4px;
            background: rgba(99, 102, 241, 0.2);
            border-radius: 2px;
            overflow: hidden;
            margin: 20px 0;
        }
        
        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #6366F1, #8B5CF6);
            border-radius: 2px;
            width: 0%;
            transition: width 0.3s ease;
        }
        
        /* Валидация полей */
        .seed-input.error {
            border-color: #DC2626 !important;
            background: rgba(239, 68, 68, 0.1) !important;
            box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.3);
            animation: shake 0.5s ease-in-out;
        }
        
        .seed-input.valid {
            border-color: #10B981 !important;
            background: rgba(16, 185, 129, 0.1) !important;
            box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.3);
        }
        
        .seed-input-container {
            position: relative;
        }

        .seed-input-container .seed-input {
            padding-right: 1.25rem;
        }
        
        .seed-validation-icon {
            position: absolute;
            top: 50%;
            right: 5px;
            transform: translateY(-50%);
            font-size: 10px;
            z-index: 10;
            pointer-events: none;
        }

        #seedInputs > div,
        #hardwareRecoveryInputs > div {
            min-width: 0;
        }

        #seedInputs .text-gray-400.text-sm,
        #hardwareRecoveryInputs .text-gray-400.text-sm {
            font-size: 0.65rem;
            margin-bottom: 2px;
        }

        #seedInputs.grid,
        #hardwareRecoveryInputs.grid {
            gap: 0.375rem;
        }
        
        .seed-validation-icon.valid {
            color: #10B981;
        }
        
        .seed-validation-icon.invalid {
            color: #DC2626;
        }
        
        .seed-suggestions {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: rgba(31, 41, 55, 0.95);
            border: 1px solid rgba(75, 85, 99, 0.5);
            border-radius: 8px;
            max-height: 150px;
            overflow-y: auto;
            z-index: 1000;
            margin-top: 2px;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            scrollbar-width: thin;
            scrollbar-color: rgba(99, 102, 241, 0.5) transparent;
        }
        
        .seed-suggestions::-webkit-scrollbar {
            width: 4px;
        }
        
        .seed-suggestions::-webkit-scrollbar-track {
            background: transparent;
        }
        
        .seed-suggestions::-webkit-scrollbar-thumb {
            background: rgba(99, 102, 241, 0.5);
            border-radius: 2px;
        }
        
        .seed-suggestion-item {
            padding: 8px 12px;
            color: #9CA3AF;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s ease;
            border-bottom: 1px solid rgba(75, 85, 99, 0.3);
        }
        
        .seed-suggestion-item:last-child {
            border-bottom: none;
        }
        
        .seed-suggestion-item:hover {
            background: rgba(99, 102, 241, 0.2);
            color: white;
        }
        
        .seed-suggestion-item.highlighted {
            background: rgba(99, 102, 241, 0.3);
            color: white;
        }
        
        .seed-validation-message {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: rgba(220, 38, 38, 0.9);
            color: white;
            padding: 4px 8px;
            font-size: 12px;
            border-radius: 4px;
            margin-top: 2px;
            z-index: 1000;
            animation: fadeIn 0.3s ease-out;
        }
        
        .seed-validation-message.valid {
            background: rgba(16, 185, 129, 0.9);
        }
        
        .private-key-input.error {
            border-color: #DC2626 !important;
            background: rgba(239, 68, 68, 0.1) !important;
            box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.3);
            animation: shake 0.5s ease-in-out;
        }
        
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
            20%, 40%, 60%, 80% { transform: translateX(5px); }
        }
        
        /* Система уведомлений */
        .notification-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 2000;
            max-width: 400px;
            width: 100%;
        }
        
        @media (max-width: 768px) {
            .notification-container {
                top: 10px;
                right: 10px;
                left: 10px;
                max-width: none;
            }
        }
        
        .notification {
            background: linear-gradient(135deg, #DC2626, #B91C1C);
            color: white;
            padding: 16px 20px;
            border-radius: 12px;
            margin-bottom: 10px;
            box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            transform: translateX(100%);
            opacity: 0;
            transition: all 0.3s ease-out;
            display: flex;
            align-items: center;
            gap: 12px;
            position: relative;
            overflow: hidden;
        }
        
        .notification.success {
            background: linear-gradient(135deg, #10B981, #059669);
            box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
        }
        
        .notification.show {
            transform: translateX(0);
            opacity: 1;
        }
        
        .notification::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            transform: translateX(-100%);
            animation: shimmer 2s infinite;
        }
        
        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        
        .notification-icon {
            font-size: 20px;
            flex-shrink: 0;
        }
        
        .notification-content {
            flex: 1;
        }
        
        .notification-title {
            font-weight: 600;
            font-size: 14px;
            margin-bottom: 2px;
        }
        
        .notification-message {
            font-size: 13px;
            opacity: 0.9;
        }
        
        .notification-close {
            background: none;
            border: none;
            color: white;
            font-size: 18px;
            cursor: pointer;
            padding: 0;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.2s ease;
        }
        
        .notification-close:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        
        /* Мобильная адаптация уведомлений */
        @media (max-width: 768px) {
            .notification {
                padding: 14px 16px;
                border-radius: 10px;
                font-size: 14px;
            }
            
            .notification-title {
                font-size: 13px;
            }
            
            .notification-message {
                font-size: 12px;
            }
            
            .notification-icon {
                font-size: 18px;
            }
        }
        
        /* Прогресс-бар для автозакрытия */
        .notification-progress {
            position: absolute;
            bottom: 0;
            left: 0;
            height: 3px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 0 0 12px 12px;
            width: 100%;
            transform-origin: left;
            animation: notificationProgress 4s linear;
        }
        
        @keyframes notificationProgress {
            0% { transform: scaleX(1); }
            100% { transform: scaleX(0); }
        }
        
        /* Help Modal */
        .help-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 3000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            padding: 20px;
        }
        
        .help-modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .help-modal-content {
            background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
            border-radius: 20px;
            padding: 0;
            max-width: 500px;
            width: 100%;
            max-height: 80vh;
            overflow: hidden;
            border: 1px solid rgba(75, 85, 99, 0.3);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }
        
        .help-modal.active .help-modal-content {
            transform: scale(1);
        }
        
        .help-modal-header {
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            padding: 20px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-radius: 20px 20px 0 0;
        }
        
        .help-modal-title {
            color: white;
            font-size: 20px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .help-modal-close {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            padding: 8px;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.2s ease;
        }
        
        .help-modal-close:hover {
            background: rgba(255, 255, 255, 0.3);
        }
        
        .help-modal-body {
            padding: 24px;
            max-height: 60vh;
            overflow-y: auto;
            /* Скрываем стандартный скроллбар */
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* Internet Explorer 10+ */
        }
        
        /* Скрываем стандартный скроллбар в WebKit браузерах */
        .help-modal-body::-webkit-scrollbar {
            width: 0;
            background: transparent;
        }
        
        /* Создаем кастомный скроллбар */
        .help-modal-body {
            position: relative;
        }
        
        .help-modal-body::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 4px;
            height: 100%;
            background: rgba(75, 85, 99, 0.2);
            border-radius: 2px;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }
        
        .help-modal-body:hover::after {
            opacity: 1;
        }
        
        /* Кастомный скроллбар для WebKit */
        .help-modal-body::-webkit-scrollbar {
            width: 6px;
        }
        
        .help-modal-body::-webkit-scrollbar-track {
            background: transparent;
        }
        
        .help-modal-body::-webkit-scrollbar-thumb {
            background: rgba(99, 102, 241, 0.5);
            border-radius: 3px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .help-modal-body:hover::-webkit-scrollbar-thumb {
            opacity: 1;
        }
        
        .help-modal-body::-webkit-scrollbar-thumb:hover {
            background: rgba(99, 102, 241, 0.8);
        }
        
        .faq-item {
            margin-bottom: 20px;
            border: 1px solid rgba(75, 85, 99, 0.3);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .faq-item:hover {
            border-color: rgba(99, 102, 241, 0.4);
        }
        
        .faq-question {
            background: rgba(31, 41, 55, 0.8);
            padding: 16px 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all 0.3s ease;
            user-select: none;
        }
        
        .faq-question:hover {
            background: rgba(55, 65, 81, 0.8);
        }
        
        .faq-question-text {
            color: white;
            font-weight: 500;
            font-size: 15px;
        }
        
        .faq-icon {
            color: #6366F1;
            font-size: 18px;
            transition: transform 0.3s ease;
        }
        
        .faq-item.active .faq-icon {
            transform: rotate(180deg);
        }
        
        .faq-answer {
            background: rgba(17, 24, 39, 0.9);
            padding: 0 20px;
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .faq-item.active .faq-answer {
            max-height: 200px;
            padding: 16px 20px;
        }
        
        .faq-answer-text {
            color: #9CA3AF;
            font-size: 14px;
            line-height: 1.6;
        }
        
        .help-contact {
            background: rgba(99, 102, 241, 0.1);
            border: 1px solid rgba(99, 102, 241, 0.3);
            border-radius: 12px;
            padding: 16px 20px;
            margin-top: 20px;
            text-align: center;
        }
        
        .help-contact-text {
            color: #9CA3AF;
            font-size: 14px;
            margin-bottom: 12px;
        }
        
        .help-contact-button {
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .help-contact-button:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
        }
        
        /* Мобильная адаптация */
        @media (max-width: 768px) {
            .help-modal {
                padding: 10px;
            }
            
            .help-modal-content {
                max-height: 90vh;
            }
            
            .help-modal-header {
                padding: 16px 20px;
            }
            
            .help-modal-title {
                font-size: 18px;
            }
            
            .help-modal-body {
                padding: 20px;
            }
            
            .faq-question {
                padding: 14px 16px;
            }
            
            .faq-question-text {
                font-size: 14px;
            }
        }
        
        /* Hardware Wallet Styles */
        .hardware-option {
            background: rgba(55, 65, 81, 0.6);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            border: 1px solid rgba(75, 85, 99, 0.5);
            cursor: pointer;
        }
        
        .hardware-option:hover {
            background: rgba(75, 85, 99, 0.8);
            border-color: rgba(99, 102, 241, 0.5);
            transform: translateY(-2px);
        }
        
        .connection-step {
            background: rgba(31, 41, 55, 0.6);
            border: 1px solid rgba(75, 85, 99, 0.3);
            border-radius: 12px;
            padding: 16px;
            display: flex;
            align-items: center;
            gap: 16px;
            transition: all 0.3s ease;
        }
        
        .connection-step.active {
            border-color: rgba(99, 102, 241, 0.5);
            background: rgba(99, 102, 241, 0.1);
        }
        
        .connection-step.completed {
            border-color: rgba(16, 185, 129, 0.5);
            background: rgba(16, 185, 129, 0.1);
        }
        
        .connection-step.failed {
            border-color: rgba(239, 68, 68, 0.5);
            background: rgba(239, 68, 68, 0.1);
        }
        
        .step-icon {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: rgba(75, 85, 99, 0.5);
            flex-shrink: 0;
        }
        
        .step-number {
            color: white;
            font-weight: 600;
            font-size: 16px;
        }
        
        .step-status {
            position: absolute;
            top: -4px;
            right: -4px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: rgba(31, 41, 55, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            border: 2px solid rgba(75, 85, 99, 0.5);
        }
        
        .step-content {
            flex: 1;
        }
        
        .step-title {
            color: white;
            font-weight: 600;
            font-size: 15px;
            margin-bottom: 4px;
        }
        
        .step-description {
            color: #9CA3AF;
            font-size: 13px;
            line-height: 1.4;
        }
        
        .connection-step.active .step-icon {
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
        }
        
        .connection-step.completed .step-icon {
            background: linear-gradient(135deg, #10B981, #059669);
        }
        
        .connection-step.failed .step-icon {
            background: linear-gradient(135deg, #EF4444, #DC2626);
        }
        
        .connection-step.active .step-status {
            border-color: rgba(99, 102, 241, 0.5);
        }
        
        .connection-step.completed .step-status {
            border-color: rgba(16, 185, 129, 0.5);
        }
        
        .connection-step.failed .step-status {
            border-color: rgba(239, 68, 68, 0.5);
        }
        
        .hardware-connection-loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(99, 102, 241, 0.3);
            border-radius: 50%;
            border-top-color: #6366F1;
            animation: spin 1s linear infinite;
        }
        
        /* Create Wallet Styles */
        .create-option {
            background: rgba(55, 65, 81, 0.6);
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            border: 1px solid rgba(75, 85, 99, 0.5);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 16px;
            cursor: pointer;
        }
        
        .create-option:hover {
            background: rgba(75, 85, 99, 0.8);
            border-color: rgba(99, 102, 241, 0.5);
            transform: translateY(-2px);
        }
        
        .create-option-icon {
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 12px;
            font-size: 24px;
        }
        
        .seed-word-display {
            background: rgba(31, 41, 55, 0.8);
            border: 1px solid rgba(75, 85, 99, 0.5);
            border-radius: 8px;
            padding: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
            transition: all 0.2s ease;
        }
        
        .seed-word-display:hover {
            background: rgba(55, 65, 81, 0.8);
            border-color: rgba(99, 102, 241, 0.3);
        }
        
        .seed-word-number {
            background: rgba(99, 102, 241, 0.2);
            color: #6366F1;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
            min-width: 24px;
            text-align: center;
        }
        
        .seed-word-text {
            color: white;
            font-family: monospace;
            font-size: 14px;
            font-weight: 500;
        }
        
        .seed-actions {
            display: flex;
            gap: 12px;
            margin-top: 24px;
        }
        
        .secondary-action-btn {
            background: rgba(75, 85, 99, 0.6);
            border: 1px solid rgba(99, 102, 241, 0.3);
            color: white;
            padding: 12px 20px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .secondary-action-btn:hover {
            background: rgba(99, 102, 241, 0.2);
            border-color: rgba(99, 102, 241, 0.5);
        }
        
        .secondary-action-btn:active {
            transform: translateY(1px);
            box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
        }
        
        .copy-btn-clicked {
            background: rgba(16, 185, 129, 0.2) !important;
            border-color: rgba(16, 185, 129, 0.5) !important;
            color: #10B981 !important;
            transform: scale(0.98);
            transition: all 0.2s ease;
        }
        
        .secondary-action-btn.text-xs {
            font-size: 12px;
            padding: 8px 12px;
        }
        
        .blur-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            border-radius: 12px;
        }
        
        .blurred {
            filter: blur(8px);
            pointer-events: none;
        }
        
        .reveal-btn {
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            color: white;
            border: none;
            padding: 16px 24px;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .reveal-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
        }
        
        .confirmation-input-group {
            margin-bottom: 16px;
        }
        
        .confirmation-label {
            display: block;
            color: #9CA3AF;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 6px;
        }
        
        .confirmation-input {
            background: rgba(31, 41, 55, 0.8);
            border: 1px solid rgba(75, 85, 99, 0.5);
            border-radius: 8px;
            padding: 12px;
            color: white;
            width: 100%;
            font-size: 14px;
            transition: all 0.2s ease;
        }
        
        .confirmation-input:focus {
            outline: none;
            border-color: #6366F1;
            background: rgba(31, 41, 55, 0.9);
        }
        
        .confirmation-input.error {
            border-color: #DC2626 !important;
            background: rgba(239, 68, 68, 0.1) !important;
            box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.3);
            animation: shake 0.5s ease-in-out;
        }
        
        .wallet-setup-input {
            background: rgba(31, 41, 55, 0.8);
            border: 1px solid rgba(75, 85, 99, 0.5);
            border-radius: 8px;
            padding: 12px;
            color: white;
            width: 100%;
            font-size: 14px;
            transition: all 0.2s ease;
            margin-bottom: 16px;
        }
        
        .wallet-setup-input:focus {
            outline: none;
            border-color: #6366F1;
            background: rgba(31, 41, 55, 0.9);
        }
        
        .wallet-setup-input.error {
            border-color: #DC2626 !important;
            background: rgba(239, 68, 68, 0.1) !important;
            box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.3);
            animation: shake 0.5s ease-in-out;
        }
        
        .security-note {
            background: rgba(255, 193, 7, 0.1);
            border: 1px solid rgba(255, 193, 7, 0.3);
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 24px;
        }
        
        .security-note-title {
            color: #FFC107;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .security-note-text {
            color: #9CA3AF;
            font-size: 13px;
            line-height: 1.5;
        }
        
        .success-screen {
            text-align: center;
            padding: 40px 20px;
        }
        
        .success-icon-large {
            width: 120px;
            height: 120px;
            background: linear-gradient(135deg, #10B981, #059669);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
            font-size: 48px;
            color: white;
            animation: successPulse 2s infinite;
        }
        
        @keyframes successPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }
        
        .wallet-info-card {
            background: rgba(31, 41, 55, 0.8);
            border: 1px solid rgba(75, 85, 99, 0.5);
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 24px;
            text-align: left;
        }
        
        .wallet-info-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }
        
        .wallet-info-row:last-child {
            margin-bottom: 0;
        }
        
        .wallet-info-label {
            color: #9CA3AF;
            font-size: 14px;
        }
        
        .wallet-info-value {
            color: white;
            font-size: 14px;
            font-weight: 500;
        }
        
        /* Support Chat Widget */
        .support-chat-widget {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 4000;
        }
        
        .support-chat-button {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            border: none;
            border-radius: 50%;
            color: white;
            font-size: 24px;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }
        
        .support-chat-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(99, 102, 241, 0.6);
        }
        
        .support-chat-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            transform: scale(0);
            transition: transform 0.3s ease;
        }
        
        .support-chat-button:hover::before {
            transform: scale(1);
        }
        
        .support-chat-notification {
            position: absolute;
            top: -5px;
            right: -5px;
            width: 20px;
            height: 20px;
            background: #EF4444;
            border: 2px solid white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 600;
            animation: pulse 2s infinite;
        }
        
        .support-chat-window {
            position: fixed;
            bottom: 100px;
            right: 20px;
            width: 350px;
            height: 500px;
            background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
            border-radius: 20px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(75, 85, 99, 0.3);
            display: flex;
            flex-direction: column;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px) scale(0.9);
            transition: all 0.3s ease;
            z-index: 4000;
        }
        
        .support-chat-window.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }
        
        .support-chat-header {
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            padding: 16px 20px;
            border-radius: 20px 20px 0 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .support-chat-header-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .support-chat-avatar {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }
        
        .support-chat-user-info {
            color: white;
        }
        
        .support-chat-name {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 2px;
        }
        
        .support-chat-status {
            font-size: 12px;
            opacity: 0.8;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .support-chat-status-dot {
            width: 8px;
            height: 8px;
            background: #10B981;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }
        
        .support-chat-close {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            padding: 8px;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.2s ease;
        }
        
        .support-chat-close:hover {
            background: rgba(255, 255, 255, 0.3);
        }
        
        .support-chat-messages {
            flex: 1;
            padding: 16px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
            /* Скрываем скроллбар */
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
        
        .support-chat-messages::-webkit-scrollbar {
            width: 0;
            background: transparent;
        }
        
        .support-chat-message {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            animation: messageSlide 0.3s ease-out;
        }
        
        @keyframes messageSlide {
            0% { opacity: 0; transform: translateY(10px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        
        .support-chat-message.user {
            flex-direction: row-reverse;
        }
        
        .support-chat-message-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            flex-shrink: 0;
        }
        
        .support-chat-message.user .support-chat-message-avatar {
            background: linear-gradient(135deg, #10B981, #059669);
        }
        
        .support-chat-message-content {
            background: rgba(31, 41, 55, 0.8);
            border: 1px solid rgba(75, 85, 99, 0.3);
            border-radius: 16px;
            padding: 12px 16px;
            max-width: 250px;
            word-wrap: break-word;
            position: relative;
        }
        
        .support-chat-message.user .support-chat-message-content {
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            border-color: transparent;
        }
        
        .support-chat-message-text {
            color: #E5E7EB;
            font-size: 14px;
            line-height: 1.4;
            margin: 0;
        }
        
        .support-chat-message.user .support-chat-message-text {
            color: white;
        }
        
        .support-chat-message-time {
            font-size: 11px;
            color: #6B7280;
            margin-top: 4px;
        }
        
        .support-chat-typing {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 16px;
            background: rgba(31, 41, 55, 0.6);
            border-radius: 16px;
            margin-bottom: 8px;
            opacity: 0;
            animation: fadeIn 0.3s ease-out forwards;
        }
        
        .support-chat-typing-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }
        
        .support-chat-typing-dots {
            display: flex;
            gap: 4px;
            align-items: center;
        }
        
        .support-chat-typing-dot {
            width: 8px;
            height: 8px;
            background: #9CA3AF;
            border-radius: 50%;
            animation: typingDots 1.4s infinite;
        }
        
        .support-chat-typing-dot:nth-child(2) {
            animation-delay: 0.2s;
        }
        
        .support-chat-typing-dot:nth-child(3) {
            animation-delay: 0.4s;
        }
        
        @keyframes typingDots {
            0%, 60%, 100% { transform: scale(1); opacity: 0.5; }
            30% { transform: scale(1.2); opacity: 1; }
        }
        
        .support-chat-input-container {
            padding: 16px;
            border-top: 1px solid rgba(75, 85, 99, 0.3);
            background: rgba(17, 24, 39, 0.9);
            border-radius: 0 0 20px 20px;
        }
        
        .support-chat-input-wrapper {
            display: flex;
            gap: 12px;
            align-items: flex-end;
        }
        
        .support-chat-input {
            flex: 1;
            background: rgba(31, 41, 55, 0.8);
            border: 1px solid rgba(75, 85, 99, 0.5);
            border-radius: 12px;
            padding: 12px 16px;
            color: white;
            font-size: 14px;
            resize: none;
            min-height: 20px;
            max-height: 80px;
            transition: all 0.2s ease;
        }
        
        .support-chat-input:focus {
            outline: none;
            border-color: #6366F1;
            background: rgba(31, 41, 55, 0.9);
        }
        
        .support-chat-send-btn {
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            border: none;
            color: white;
            padding: 12px;
            border-radius: 12px;
            cursor: pointer;
            font-size: 16px;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 44px;
            height: 44px;
        }
        
        .support-chat-send-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
        }
        
        .support-chat-send-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        .support-chat-quick-actions {
            display: flex;
            gap: 8px;
            margin-bottom: 12px;
            flex-wrap: wrap;
        }
        
        .support-chat-quick-action {
            background: rgba(75, 85, 99, 0.6);
            border: 1px solid rgba(99, 102, 241, 0.3);
            color: #E5E7EB;
            padding: 8px 12px;
            border-radius: 20px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .support-chat-quick-action:hover {
            background: rgba(99, 102, 241, 0.2);
            border-color: rgba(99, 102, 241, 0.5);
            color: white;
        }
        
        /* Мобильная адаптация */
        @media (max-width: 768px) {
            .support-chat-window {
                bottom: 90px;
                right: 10px;
                left: 10px;
                width: auto;
                height: 450px;
            }
            
            .support-chat-widget {
                bottom: 15px;
                right: 15px;
            }
            
            .support-chat-button {
                width: 50px;
                height: 50px;
                font-size: 20px;
            }
            
            .support-chat-message-content {
                max-width: 200px;
            }
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        /* Wallet Profile Styles */
        .asset-item {
            background: rgba(31, 41, 55, 0.6);
            border: 1px solid rgba(75, 85, 99, 0.3);
            border-radius: 12px;
            padding: 16px;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .asset-item:hover {
            background: rgba(55, 65, 81, 0.8);
            border-color: rgba(99, 102, 241, 0.3);
            transform: translateY(-1px);
        }
        
        .asset-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            color: white;
            font-size: 14px;
        }
        
        .asset-info {
            flex: 1;
            margin-left: 12px;
        }
        
        .asset-name {
            color: white;
            font-weight: 600;
            font-size: 16px;
            margin-bottom: 2px;
        }
        
        .asset-symbol {
            color: #9CA3AF;
            font-size: 14px;
        }
        
        .asset-balance {
            text-align: right;
        }
        
        .asset-amount {
            color: white;
            font-weight: 600;
            font-size: 16px;
            margin-bottom: 2px;
        }
        
        .asset-value {
            color: #9CA3AF;
            font-size: 14px;
        }
        
        .asset-change {
            font-size: 12px;
            display: flex;
            align-items: center;
            gap: 2px;
            margin-top: 2px;
        }
        
        .asset-change.positive {
            color: #10B981;
        }
        
        .asset-change.negative {
            color: #EF4444;
        }
        
        .balance-hidden {
            filter: blur(8px);
            transition: filter 0.3s ease;
        }
        
        .balance-visible {
            filter: blur(0);
            transition: filter 0.3s ease;
        }
        
        .price-loading {
            animation: pulse 2s infinite;
        }
        
        .refresh-icon.spinning {
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        .crypto-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            color: white;
            font-size: 14px;
        }
        
        .crypto-icon.btc {
            background: linear-gradient(135deg, #F7931A, #FF8C00);
        }
        
        .crypto-icon.eth {
            background: linear-gradient(135deg, #627EEA, #4169E1);
        }
        
        .crypto-icon.bnb {
            background: linear-gradient(135deg, #F3BA2F, #FFA500);
        }
        
        .crypto-icon.usdt {
            background: linear-gradient(135deg, #26A17B, #009688);
        }
        
        .crypto-icon.usdc {
            background: linear-gradient(135deg, #2775CA, #1976D2);
        }
        
        .crypto-icon.ada {
            background: linear-gradient(135deg, #0033AD, #0066CC);
        }
        
        .crypto-icon.sol {
            background: linear-gradient(135deg, #9945FF, #14F195);
        }
        
        .crypto-icon.dot {
            background: linear-gradient(135deg, #E6007A, #FF69B4);
        }
        
        .crypto-icon.matic {
            background: linear-gradient(135deg, #8247E5, #A855F7);
        }
        
        .crypto-icon.avax {
            background: linear-gradient(135deg, #E84142, #FF6B6B);
        }
        
        /* Price update animation */
        .price-update {
            animation: priceFlash 0.6s ease-out;
        }
        
        @keyframes priceFlash {
            0% { background-color: rgba(99, 102, 241, 0.3); }
            100% { background-color: transparent; }
        }
        
        /* Error state */
        .price-error {
            color: #EF4444;
            font-size: 12px;
        }
        
        /* Offline indicator */
        .offline-indicator {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            border-radius: 8px;
            padding: 8px 12px;
            margin-bottom: 16px;
            text-align: center;
        }
        
        .offline-indicator-text {
            color: #EF4444;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
         
        *:not(html):not(body) {
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE and Edge */
        }
        
        *:not(html):not(body)::-webkit-scrollbar {
            display: none; /* Chrome, Safari and Opera */
        }
        
        /* Settings Modal */
        .settings-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 5000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            padding: 20px;
        }
        
        /* MetaMask Connect Modal */
        .metamask-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 6000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            padding: 20px;
        }
        
        .metamask-modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .metamask-modal-content {
            background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
            border-radius: 20px;
            padding: 0;
            max-width: 400px;
            width: 100%;
            max-height: 90vh;
            overflow: hidden;
            border: 1px solid rgba(75, 85, 99, 0.3);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }
        
        .metamask-modal.active .metamask-modal-content {
            transform: scale(1);
        }
        
        .metamask-modal-header {
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            padding: 20px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-radius: 20px 20px 0 0;
        }
        
        .metamask-modal-title {
            color: white;
            font-size: 20px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .metamask-modal-close {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            padding: 8px;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.2s ease;
        }
        
        .metamask-modal-close:hover {
            background: rgba(255, 255, 255, 0.3);
        }
        
        .metamask-modal-body {
            padding: 24px;
            text-align: center;
        }
        
        .metamask-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 40px;
            color: white;
            font-weight: bold;
            position: relative;
            overflow: hidden;
        }
        
        /* Fox Head Animation */
        .fox-head {
            width: 50px;
            height: 50px;
            position: relative;
            animation: foxFloat 3s ease-in-out infinite;
        }
        
        .fox-head-svg {
            width: 100%;
            height: 100%;
            fill: white;
        }
        
        @keyframes foxFloat {
            0%, 100% {
                transform: translateY(0px) rotate(-2deg);
            }
            33% {
                transform: translateY(-3px) rotate(2deg);
            }
            66% {
                transform: translateY(-1px) rotate(-1deg);
            }
        }
        
        /* Fox Eye Blink Animation */
        .fox-eye {
            animation: foxBlink 4s ease-in-out infinite;
        }
        
        @keyframes foxBlink {
            0%, 90%, 100% {
                transform: scaleY(1);
            }
            95% {
                transform: scaleY(0.1);
            }
        }
        
        /* Fox Ear Twitch */
        .fox-ear {
            transform-origin: bottom center;
            animation: foxEarTwitch 2.5s ease-in-out infinite;
        }
        
        .fox-ear:nth-child(2) {
            animation-delay: 0.3s;
        }
        
        @keyframes foxEarTwitch {
            0%, 85%, 100% {
                transform: rotate(0deg);
            }
            90% {
                transform: rotate(5deg);
            }
            95% {
                transform: rotate(-2deg);
            }
        }
        
        .metamask-description {
            color: #9CA3AF;
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 24px;
        }
        
        .metamask-actions {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .metamask-connect-btn {
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            color: white;
            border: none;
            padding: 16px 24px;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        .metamask-connect-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
        }
        
        .metamask-import-btn {
            background: rgba(75, 85, 99, 0.6);
            border: 1px solid rgba(99, 102, 241, 0.3);
            color: white;
            padding: 12px 20px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .metamask-import-btn:hover {
            background: rgba(99, 102, 241, 0.2);
            border-color: rgba(99, 102, 241, 0.5);
        }
        
        /* Change Password Modal */
        .change-password-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 5500;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            padding: 20px;
        }
        
        .change-password-modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .change-password-modal-content {
            background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
            border-radius: 20px;
            padding: 0;
            max-width: 400px;
            width: 100%;
            max-height: 90vh;
            overflow: hidden;
            border: 1px solid rgba(75, 85, 99, 0.3);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }
        
        .change-password-modal-header {
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            padding: 20px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-radius: 20px 20px 0 0;
        }
        
        .change-password-modal-title {
            color: white;
            font-size: 20px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .change-password-modal-close {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            padding: 8px;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.2s ease;
        }
        
        .change-password-modal-close:hover {
            background: rgba(255, 255, 255, 0.3);
        }
        
        .change-password-modal-body {
            padding: 24px;
        }
        
        .change-password-modal.active .change-password-modal-content {
            transform: scale(1);
        }
        
        .password-input-group {
            margin-bottom: 16px;
        }
        
        .password-label {
            display: block;
            color: #9CA3AF;
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 6px;
        }
        
        .password-input {
            background: rgba(31, 41, 55, 0.8);
            border: 1px solid rgba(75, 85, 99, 0.5);
            border-radius: 8px;
            padding: 12px;
            color: white;
            width: 100%;
            font-size: 14px;
            transition: all 0.2s ease;
        }
        
        .password-input:focus {
            outline: none;
            border-color: #6366F1;
            background: rgba(31, 41, 55, 0.9);
        }
        
        .password-input.error {
            border-color: #DC2626 !important;
            background: rgba(239, 68, 68, 0.1) !important;
            box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.3);
            animation: shake 0.5s ease-in-out;
        }
        
        .password-strength {
            margin-top: 8px;
            font-size: 12px;
        }
        
        .password-strength.weak {
            color: #EF4444;
        }
        
        .password-strength.medium {
            color: #F59E0B;
        }
        
        .password-strength.strong {
            color: #10B981;
        }
        
        /* Backup Phrase Modal */
        .backup-phrase-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 5500;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            padding: 20px;
        }
        
        .backup-phrase-modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .backup-phrase-modal-content {
            background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
            border-radius: 20px;
            padding: 0;
            max-width: 500px;
            width: 100%;
            max-height: 90vh;
            overflow: hidden;
            border: 1px solid rgba(75, 85, 99, 0.3);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }
        
        .backup-phrase-modal.active .backup-phrase-modal-content {
            transform: scale(1);
        }
        
        .backup-phrase-words {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin: 24px 0;
        }
        
        .backup-word-item {
            background: rgba(31, 41, 55, 0.8);
            border: 1px solid rgba(75, 85, 99, 0.5);
            border-radius: 8px;
            padding: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s ease;
        }
        
        .backup-word-item:hover {
            background: rgba(55, 65, 81, 0.8);
            border-color: rgba(99, 102, 241, 0.3);
        }
        
        .backup-word-number {
            background: rgba(99, 102, 241, 0.2);
            color: #6366F1;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
            min-width: 24px;
            text-align: center;
        }
        
        .backup-word-text {
            color: white;
            font-family: monospace;
            font-size: 14px;
            font-weight: 500;
        }
        
        .backup-actions {
            display: flex;
            gap: 12px;
            margin-top: 24px;
        }
        
        .backup-warning {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 24px;
        }
        
        .backup-warning-title {
            color: #EF4444;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .backup-warning-text {
            color: #9CA3AF;
            font-size: 13px;
            line-height: 1.5;
        }
        
        .settings-modal.active {
            opacity: 1;
            visibility: visible;
        }
        
        .settings-modal-content {
            background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
            border-radius: 20px;
            padding: 0;
            max-width: 400px;
            width: 100%;
            max-height: 90vh;
            overflow: hidden;
            border: 1px solid rgba(75, 85, 99, 0.3);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }
        
        .settings-modal.active .settings-modal-content {
            transform: scale(1);
        }
        
        .settings-modal-header {
            background: linear-gradient(135deg, #6366F1, #8B5CF6);
            padding: 20px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-radius: 20px 20px 0 0;
        }
        
        .settings-modal-title {
            color: white;
            font-size: 20px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .settings-modal-close {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            padding: 8px;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.2s ease;
        }
        
        .settings-modal-close:hover {
            background: rgba(255, 255, 255, 0.3);
        }
        
        .settings-modal-body {
            padding: 24px;
        }
        
        .settings-section {
            margin-bottom: 24px;
        }
        
        .settings-section:last-child {
            margin-bottom: 0;
        }
        
        .settings-section-title {
            color: white;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(75, 85, 99, 0.3);
        }
        
        .settings-option {
            background: rgba(31, 41, 55, 0.8);
            border: 1px solid rgba(75, 85, 99, 0.3);
            border-radius: 12px;
            padding: 16px 20px;
            margin-bottom: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .settings-option:hover {
            background: rgba(55, 65, 81, 0.8);
            border-color: rgba(99, 102, 241, 0.3);
        }
        
        .settings-option-content {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .settings-option-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }
        
        .settings-option-text {
            flex: 1;
        }
        
        .settings-option-title {
            color: white;
            font-weight: 600;
            font-size: 15px;
            margin-bottom: 2px;
        }
        
        .settings-option-desc {
            color: #9CA3AF;
            font-size: 13px;
        }
        
        .settings-option-arrow {
            color: #6B7280;
            font-size: 18px;
        }
        
        .settings-option.danger:hover {
            background: rgba(239, 68, 68, 0.1);
            border-color: rgba(239, 68, 68, 0.3);
        }
        
        .settings-option.danger .settings-option-icon {
            background: rgba(239, 68, 68, 0.2);
            color: #EF4444;
        }
        
        .settings-option.danger .settings-option-title {
            color: #EF4444;
        }
 
        html,
        body {
            min-height: 100%;
            overflow-x: hidden;
            overflow-y: auto;
        }

        body .gradient-bg,
        body #mainInterface,
        body .main-interface {
            min-height: 100vh;
            min-height: 100dvh;
            height: auto;
        }

        .app-screens {
            position: relative;
            width: 100%;
            min-height: 100vh;
            min-height: 100dvh;
        }

        .app-screens > [id$="Screen"] {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100%;
            max-width: 28rem;
            max-height: calc(100vh - 2rem);
            max-height: calc(100dvh - 2rem);
            padding-left: 1rem;
            padding-right: 1rem;
            overflow-x: hidden;
            overflow-y: auto;
            z-index: 1;
            box-sizing: border-box;
        }

        .app-screens > #screen1 {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: min(calc(100vw - 2rem), 28rem);
            max-width: 28rem;
            height: auto;
            max-height: none;
            margin: 0;
            overflow: visible;
            z-index: 1;
            box-sizing: border-box;
        }

        .app-screens > .hidden {
            display: none !important;
        }