@media (pointer: coarse) {
            .slider-handle {
                touch-action: none;
            }
        }

        .handle-logo {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
            pointer-events: none;
        }
        
        .slider-dot {
            position: absolute;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 8px;
            height: 8px;
            background-color: #000000;
            border-radius: 50%;
            z-index: 50;
            pointer-events: none;
            border: 2px solid rgba(255, 255, 255, 0.3);
        }
        
        .random-number-tooltip {
            position: absolute;
            top: -50px;
            left: 0;
            transform: translateX(-50%);
            z-index: 60;
            background-color: var(--accent-green);
            color: var(--bg-primary);
            padding: 8px;
            border-radius: 4px;
            font-size: 14px;
            font-weight: bold;
            text-align: center;
            min-width: 60px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            pointer-events: none;
            display: none;
        }
        
        .random-number-tooltip.win {
            background-color: var(--accent-green);
        }
        
        .random-number-tooltip.win .tooltip-arrow {
            background-color: var(--accent-green);
        }
        
        .random-number-tooltip.lose {
            background-color: var(--accent-red);
        }
        
        .random-number-tooltip.lose .tooltip-arrow {
            background-color: var(--accent-red);
        }
        
        .random-number-tooltip .tooltip-arrow {
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 16px;
            height: 16px;
            background-color: var(--accent-green);
            transform: rotate(45deg);
        }
        
        .random-number-tooltip span {
            color: var(--bg-primary);
            font-weight: 700;
            font-size: 14px;
        }
        
        .input-fields {
            display: flex;
            gap: 24px;
            width: 100%;
            max-width: 800px;
            align-items: flex-start;
        }
        
        .input-field {
            flex: 1;
            background-color: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
        }
        
        .input-label {
            font-size: 14px;
            color: var(--text-secondary);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 32px;
            min-height: 32px;
        }
        
        .input-wrapper {
            position: relative;
            flex-grow: 1;
            display: flex;
            align-items: center;
        }
        
        .number-input {
            width: 100%;
            background-color: var(--bg-input);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 16px;
            color: var(--text-primary);
            font-size: 24px;
            font-weight: 600;
            outline: none;
            text-align: center;
            transition: border-color 0.2s ease;
            height: 60px;
            box-sizing: border-box;
        }
        
        .number-input:focus {
            border-color: var(--accent-blue);
        }
        
        .multiplier-symbol {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-tertiary);
            font-size: 24px;
            font-weight: 600;
        }
        
        .percent-symbol {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-tertiary);
            font-size: 20px;
            font-weight: 600;
        }
        
        .roll-over-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            outline: none;
            padding: 6px 10px;
            background-color: var(--bg-input);
            color: var(--text-primary);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            height: 32px;
            font-size: 12px;
            font-weight: 600;
            transition: all 0.2s ease;
            cursor: pointer;
            margin-left: auto;
        }
        
        .roll-over-button:hover {
            background-color: var(--border-color);
        }
        
        .roll-over-button:active {
            background-color: var(--border-color);
        }
        
        .roll-over-icon {
            width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .input-field:nth-child(2) .input-label {
            justify-content: space-between;
        }
        
        .input-field:first-child .input-label,
        .input-field:last-child .input-label {
            justify-content: flex-start;
        }
        
        .input-field:first-child .input-label span,
        .input-field:last-child .input-label span {
            margin-right: 8px;
        }
        
        .fairness-badge {
            position: fixed;
            bottom: 24px;
            right: 24px;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 20px;
            background-color: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-size: 14px;
            color: var(--text-secondary);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .shield-icon {
            color: var(--accent-cyan);
            font-size: 16px;
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 6px 20px rgba(60, 70, 204, 0.3); }
            50% { box-shadow: 0 6px 20px rgba(60, 70, 204, 0.6); }
            100% { box-shadow: 0 6px 20px rgba(60, 70, 204, 0.3); }
        }
        
        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .pulse {
            animation: pulse 2s infinite;
        }
        
        .rotating {
            animation: rotate 1s linear infinite;
        }
        
        .game-history {
            margin-top: 20px;
            max-height: 200px;
            overflow-y: auto;
        }
        
        .history-title {
            font-size: 14px;
            color: var(--text-secondary);
            margin-bottom: 12px;
        }
        
        .game-history-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        
        .game-history-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 12px;
            background-color: var(--bg-input);
            border-radius: 6px;
            border-left: 3px solid var(--border-color);
            transition: all 0.2s ease;
        }
        
        .game-history-item.win {
            border-left-color: var(--accent-green);
            background-color: rgba(26, 208, 147, 0.1);
        }
        
        .game-history-item.lose {
            border-left-color: var(--accent-red);
            background-color: rgba(250, 48, 96, 0.1);
        }
        
        .game-history-amount {
            font-weight: 600;
        }
        
        .game-history-result {
            font-size: 12px;
            font-weight: 600;
            padding: 2px 8px;
            border-radius: 4px;
        }
        
        .game-history-win {
            color: var(--accent-green);
            background-color: rgba(26, 208, 147, 0.2);
        }
        
        .game-history-lose {
            color: var(--accent-red);
            background-color: rgba(250, 48, 96, 0.2);
        }
        
        /* Wallet Modal */
        .wallet-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            z-index: 2000;
            animation: fadeIn 0.3s ease;
        }

        .wallet-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .wallet-modal-content {
            width: 90%;
            max-width: 500px;
            max-height: 90vh;
            background-color: var(--bg-panel);
            border-radius: 16px;
            border: 1px solid var(--border-color);
            overflow: hidden;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            animation: slideUp 0.3s ease;
        }

        .wallet-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            background-color: var(--bg-card);
            border-bottom: 1px solid var(--border-color);
        }

        .wallet-modal-header h3 {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 20px;
            font-weight: 700;
            color: var(--text-primary);
        }

        .wallet-modal-header h3 i {
            color: var(--accent-cyan);
        }

        .close-wallet-btn {
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 28px;
            cursor: pointer;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s ease;
        }

        .close-wallet-btn:hover {
            background-color: var(--bg-input);
            color: var(--text-primary);
        }

        /* Balance Section */
        .wallet-balance-section {
            padding: 24px;
        }

        .total-balance {
            text-align: center;
            margin-bottom: 30px;
            padding: 20px;
            background: linear-gradient(135deg, rgba(106, 90, 237, 0.2), rgba(38, 208, 196, 0.2));
            border-radius: 12px;
            border: 1px solid rgba(106, 90, 237, 0.3);
        }

        .total-label {
            font-size: 14px;
            color: var(--text-secondary);
            margin-bottom: 8px;
        }

        .total-amount {
            font-size: 36px;
            font-weight: 800;
            color: var(--text-primary);
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .balance-breakdown {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .balance-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px;
            background-color: var(--bg-card);
            border-radius: 10px;
            border: 1px solid var(--border-color);
            transition: transform 0.2s ease;
            cursor: pointer;
        }

        .balance-item:hover {
            transform: translateY(-2px);
            border-color: var(--accent-purple);
        }

        .balance-item.active {
            border-color: var(--accent-purple) !important;
            background-color: rgba(106, 90, 237, 0.1);
        }

        .balance-item.active .balance-item-label {
            color: var(--text-primary);
        }

        .balance-item.active .balance-item-amount {
            color: var(--text-primary);
        }

        .balance-item-label {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: var(--text-secondary);
        }

        .balance-item-label i {
            font-size: 18px;
        }

        .balance-item-amount {
            font-size: 18px;
            font-weight: 700;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .switch-indicator {
            font-size: 12px;
            color: var(--accent-cyan);
            opacity: 0.7;
        }

        /* Action Buttons */
        .wallet-actions {
            padding: 0 24px 24px;
        }

        .wallet-actions h4 {
            font-size: 16px;
            color: var(--text-secondary);
            margin-bottom: 16px;
        }

        .action-buttons {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }

        .action-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            padding: 16px;
            background-color: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            color: var(--text-primary);
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .action-btn:hover {
            background-color: var(--bg-input);
            transform: translateY(-2px);
        }

        .action-btn i {
            font-size: 20px;
            margin-bottom: 4px;
        }

        .deposit-btn i { color: var(--accent-green); }
        .withdraw-btn i { color: var(--accent-red); }
        .transfer-btn i { color: var(--accent-blue); }
        .history-btn i { color: var(--accent-cyan); }

        /* Wallet Footer */
        .wallet-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            background-color: var(--bg-card);
            border-top: 1px solid var(--border-color);
        }

        .wallet-info {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: var(--text-secondary);
        }


        /* Tasks Interface */
        .tasks-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            z-index: 2001;
            animation: fadeIn 0.3s ease;
        }

        .tasks-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .tasks-modal-content {
            width: 90%;
            max-width: 600px;
            max-height: 90vh;
            background-color: var(--bg-panel);
            border-radius: 16px;
            border: 1px solid var(--border-color);
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            animation: slideUp 0.3s ease;
        }

        .tasks-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            background-color: var(--bg-card);
            border-bottom: 1px solid var(--border-color);
            position: relative;
        }

        .tasks-modal-header h3 {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 20px;
            font-weight: 700;
            color: var(--text-primary);
        }

        .tasks-modal-header h3 i {
            color: #FF6B6B;
        }

        .help-btn {
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 18px;
            cursor: pointer;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s ease;
            margin-top: 6px;
        }

        .help-btn:hover {
            background-color: var(--bg-input);
            color: var(--text-primary);
        }

        .close-tasks-btn {
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 28px;
            cursor: pointer;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s ease;
        }

        .close-tasks-btn:hover {
            background-color: var(--bg-input);
            color: var(--text-primary);
        }

        .tasks-list {
            padding: 24px;
            overflow-y: auto;
            max-height: 60vh;
        }

        .task-item {
            background-color: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 16px;
            transition: all 0.2s ease;
        }

        .task-item:hover {
            border-color: #FF6B6B;
            transform: translateY(-2px);
        }

        .task-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

        .task-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
        }

        .task-reward {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0;
            font-size: 20px;
            font-weight: 800;
            color: var(--accent-gold);
            background-color: rgba(255, 215, 0, 0.15);
            padding: 10px 20px;
            border-radius: 10px;
            border: 1px solid rgba(255, 215, 0, 0.3);
            box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
            min-width: 90px;
        }

        .task-reward i {
            font-size: 20px;
            color: var(--accent-gold);
        }

        .task-reward span {
            font-size: 20px;
            font-weight: 800;
            color: var(--accent-gold);
            line-height: 1;
        }

        .progress-container {
            margin-bottom: 16px;
        }

        .progress-label {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
            font-size: 14px;
            color: var(--text-secondary);
        }

        .progress-bar {
            height: 8px;
            background-color: var(--bg-input);
            border-radius: 4px;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(to right, #FF6B6B, #FF8E53);
            border-radius: 4px;
            transition: width 0.3s ease;
            width: 0%;
        }

        .claim-btn {
            width: 100%;
            padding: 12px;
            background: linear-gradient(135deg, #374151, #4B5563);
            border: none;
            border-radius: 8px;
            color: var(--text-secondary);
            font-size: 14px;
            font-weight: 600;
            cursor: not-allowed;
            transition: all 0.2s ease;
        }

        .claim-btn.active {
            background: linear-gradient(135deg, #FF6B6B, #FF8E53);
            color: white;
            cursor: pointer;
        }

        .claim-btn.active:hover {
            background: linear-gradient(135deg, #FF8E53, #FF6B6B);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
        }

        .claim-btn:active {
            transform: translateY(0);
        }

        /* Help Interface */
        .help-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(5px);
            z-index: 2002;
            animation: fadeIn 0.3s ease;
        }

        .help-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .help-modal-content {
            width: 90%;
            max-width: 500px;
            background-color: var(--bg-panel);
            border-radius: 16px;
            border: 1px solid var(--border-color);
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            animation: slideUp 0.3s ease;
        }

        .help-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            background-color: var(--bg-card);
            border-bottom: 1px solid var(--border-color);
        }

        .help-modal-header h3 {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 20px;
            font-weight: 700;
            color: var(--text-primary);
        }

        .help-modal-header h3 i {
            color: var(--accent-cyan);
        }

        .close-help-btn {
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 28px;
            cursor: pointer;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s ease;
        }

        .close-help-btn:hover {
            background-color: var(--bg-input);
            color: var(--text-primary);
        }

        .help-content {
            padding: 24px;
            line-height: 1.6;
        }

        .help-content p {
            margin-bottom: 16px;
            color: var(--text-secondary);
            font-size: 14px;
        }

        .help-content ul {
            margin-left: 20px;
            margin-bottom: 20px;
        }

        .help-content li {
            color: var(--text-secondary);
            margin-bottom: 8px;
            font-size: 14px;
        }

        .help-content strong {
            color: var(--text-primary);
        }

        /* Recent Transactions Interface */
        .transactions-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            z-index: 2003;
            animation: fadeIn 0.3s ease;
        }

        .transactions-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .transactions-modal-content {
            width: 90%;
            max-width: 600px;
            max-height: 90vh;
            background-color: var(--bg-panel);
            border-radius: 16px;
            border: 1px solid var(--border-color);
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            animation: slideUp 0.3s ease;
        }

        .transactions-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            background-color: var(--bg-card);
            border-bottom: 1px solid var(--border-color);
        }

        .transactions-modal-header h3 {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 20px;
            font-weight: 700;
            color: var(--text-primary);
        }

        .transactions-modal-header h3 i {
            color: var(--accent-cyan);
        }

        .close-transactions-btn {
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 28px;
            cursor: pointer;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s ease;
        }

        .close-transactions-btn:hover {
            background-color: var(--bg-input);
            color: var(--text-primary);
        }

        .transactions-list {
            padding: 24px;
            overflow-y: auto;
            max-height: 60vh;
        }

        .transactions-filter {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 8px 16px;
            background-color: var(--bg-input);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: var(--text-secondary);
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .filter-btn:hover {
            background-color: var(--border-color);
        }

        .filter-btn.active {
            background-color: var(--accent-cyan);
            color: var(--bg-primary);
            border-color: var(--accent-cyan);
        }

        .transactions-container {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .transaction-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px;
            background-color: var(--bg-card);
            border-radius: 10px;
            border: 1px solid var(--border-color);
            transition: all 0.2s ease;
        }

        .transaction-item:hover {
            border-color: var(--accent-cyan);
            transform: translateY(-2px);
        }

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

        .transaction-type {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-primary);
        }

        .transaction-type.deposit {
            color: var(--accent-green);
        }

        .transaction-type.withdrawal {
            color: var(--accent-red);
        }

        .transaction-type.transfer {
            color: var(--accent-blue);
        }

        .transaction-type.reward {
            color: var(--accent-gold);
        }

        .transaction-type.game {
            color: var(--accent-purple);
        }

        .transaction-type i {
            font-size: 16px;
        }

        .transaction-details {
            font-size: 12px;
            color: var(--text-tertiary);
        }

        .transaction-amount {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 4px;
        }

        .transaction-amount-value {
            font-size: 16px;
            font-weight: 700;
            color: var(--text-primary);
        }

        .transaction-amount-value.positive {
            color: var(--accent-green);
        }

        .transaction-amount-value.negative {
            color: var(--accent-red);
        }

        .transaction-date {
            font-size: 12px;
            color: var(--text-tertiary);
        }

        .no-transactions {
            text-align: center;
            padding: 40px;
            color: var(--text-tertiary);
            font-size: 14px;
        }

        /* Fund Transfer Interface */
        .transfer-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            z-index: 2004;
            animation: fadeIn 0.3s ease;
        }

        .transfer-modal.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .transfer-modal-content {
            width: 90%;
            max-width: 500px;
            background-color: var(--bg-panel);
            border-radius: 16px;
            border: 1px solid var(--border-color);
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
            animation: slideUp 0.3s ease;
        }

        .transfer-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 24px;
            background-color: var(--bg-card);
            border-bottom: 1px solid var(--border-color);
        }

        .transfer-modal-header h3 {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 20px;
            font-weight: 700;
            color: var(--text-primary);
        }

        .transfer-modal-header h3 i {
            color: var(--accent-blue);
        }

        .close-transfer-btn {
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 28px;
            cursor: pointer;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s ease;
        }

        .close-transfer-btn:hover {
            background-color: var(--bg-input);
            color: var(--text-primary);
        }

        .transfer-form {
            padding: 24px;
        }

        .transfer-input-group {
            margin-bottom: 20px;
        }

        .transfer-label {
            display: block;
            font-size: 14px;
            color: var(--text-secondary);
            margin-bottom: 8px;
            font-weight: 600;
        }

        .transfer-input {
            width: 100%;
            padding: 16px;
            background-color: var(--bg-input);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: var(--text-primary);
            font-size: 16px;
            outline: none;
            transition: border-color 0.2s ease;
        }

        .transfer-input:focus {
            border-color: var(--accent-blue);
        }

        .transfer-input::placeholder {
            color: var(--text-tertiary);
        }

        .transfer-amount-container {
            position: relative;
        }

        .transfer-currency {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-tertiary);
            font-size: 14px;
            font-weight: 600;
        }

        .transfer-button {
            width: 100%;
            padding: 18px;
            background: linear-gradient(135deg, #374151, #4B5563);
            border: none;
            border-radius: 12px;
            color: var(--text-secondary);
            font-size: 16px;
            font-weight: 700;
            cursor: not-allowed;
            transition: all 0.2s ease;
            margin-top: 10px;
        }

        .transfer-button.active {
            background: linear-gradient(135deg, var(--accent-blue), #5A4FCF);
            color: var(--text-primary);
            cursor: pointer;
        }

        .transfer-button.active:hover {
            background: linear-gradient(135deg, var(--accent-blue-light), #6A5AED);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(60, 70, 204, 0.3);
        }

        .transfer-button:active {
            transform: translateY(0);
        }

        /* Success notification */
        .success-notification {
            position: fixed;
            top: 100px;
            right: 24px;
            background: linear-gradient(135deg, var(--accent-green), #0FAF7C);
            color: var(--bg-primary);
            padding: 16px 24px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 10px 30px rgba(26, 208, 147, 0.3);
            z-index: 9999;
            animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.7s;
            max-width: 400px;
            border: 1px solid rgba(26, 208, 147, 0.3);
        }

        .error-notification {
            position: fixed;
            top: 100px;
            right: 24px;
            background: linear-gradient(135deg, var(--accent-red), #E81C4F);
            color: var(--text-primary);
            padding: 16px 24px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 10px 30px rgba(250, 48, 96, 0.3);
            z-index: 9999;
            animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.7s;
            max-width: 400px;
            border: 1px solid rgba(250, 48, 96, 0.3);
        }

        .success-notification i {
            font-size: 24px;
            color: var(--bg-primary);
        }

        .error-notification i {
            font-size: 24px;
            color: var(--text-primary);
        }

        .success-notification-content, .error-notification-content {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .success-notification-title, .error-notification-title {
            font-weight: 700;
            font-size: 16px;
        }

        .success-notification-message, .error-notification-message {
            font-size: 14px;
            opacity: 0.9;
        }

        @keyframes slideInRight {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes fadeOut {
            from {
                opacity: 1;
                transform: translateX(0);
            }
            to {
                opacity: 0;
                transform: translateX(100%);
            }
        }

        /* User Interface (Login/Register) */

        /* ── Quick Bet Buttons (½ · 2x · MAX) ── */
        .quick-bet-buttons {
            display: flex;
            gap: 8px;
            margin-top: 8px;
        }

        .quick-bet-btn {
            flex: 1;
            padding: 10px 0;
            background: var(--bg-input);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: var(--text-primary);
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.3px;
            cursor: pointer;
            transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
            outline: none;
            user-select: none;
        }

        .quick-bet-btn:hover {
            background: rgba(60, 70, 204, 0.25);
            border-color: var(--accent-blue);
            color: #fff;
            box-shadow: 0 0 10px rgba(60, 70, 204, 0.3);
        }

        .quick-bet-btn:active {
            transform: scale(0.95);
            background: rgba(60, 70, 204, 0.4);
        }

        /* ── Risk / Wheel Segment Buttons (Low · Medium · High) ── */
        .wheel-segments-row {
            display: flex;
            gap: 6px;
            margin-top: 8px;
        }

        .wheel-seg-btn {
            flex: 1;
            padding: 10px 0;
            background: var(--bg-input);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: var(--text-secondary);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
            outline: none;
            user-select: none;
        }

        .wheel-seg-btn:hover {
            background: rgba(106, 90, 237, 0.2);
            border-color: var(--accent-purple);
            color: var(--text-primary);
        }

        .wheel-seg-btn.active {
            background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
            border-color: transparent;
            color: #fff;
            font-weight: 700;
            box-shadow: 0 4px 14px rgba(60, 70, 204, 0.4);
        }

        .wheel-seg-btn:active {
            transform: scale(0.95);
        }

        .wheel-seg-btn:disabled {
            opacity: 0.45;
            cursor: not-allowed;
            transform: none;
        }