.migration-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.9);
	backdrop-filter: blur(12px);
	pointer-events: all;
	z-index: 11200;
}

.migration-popup {
    position: relative;
	width: 680px;
	max-width: 95%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 24px;
	padding: 40px 48px;
	border-radius: 32px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background-color: rgba(16, 16, 18, 0.98);
	box-shadow: 0 40px 120px rgba(0, 0, 0, 0.9), 0 0 80px rgba(59, 130, 246, 0.15);
	text-align: center;
    
    // Smooth entry
    animation: popup-enter 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes popup-enter {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1.0); }
}

.popup-logo-corner {
    position: absolute;
    top: 24px;
    right: 32px;
    opacity: 0.6;
}

.logo-text {
    font-size: 15px;
    font-weight: 1000;
    color: #f8fafc;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo-accent {
    color: #10b981;
    margin: 0 1px;
    font-style: italic;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.migration-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.migration-icon {
    font-size: 56px;
    color: #3b82f6;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
    margin-bottom: 4px;
}

.migration-title {
	font-size: 36px;
	font-weight: 1000;
	letter-spacing: -0.5px;
	color: #ffffff;
	line-height: 110%;
    margin-top: 4px;
}

.migration-subtitle {
    font-size: 12px;
    font-weight: 900;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

.migration-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.migration-description {
	font-size: 16px;
	font-weight: 500;
	color: #cbd5e1;
	line-height: 150%;
    max-width: 580px;
    align-self: center;
}

.migration-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-item {
    flex: 1 0 45%; 
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-left: 3px solid #3b82f6;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: left;
    min-width: 250px;

    &:hover {
        background-color: rgba(59, 130, 246, 0.08);
        border-color: rgba(59, 130, 246, 0.5);
        transform: translateY(-2px);
    }
}

.feature-icon {
    font-size: 24px;
    color: #3b82f6;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-label {
    font-size: 16px;
    font-weight: 900;
    color: #f1f5f9;
    line-height: 110%;
}

.feature-desc {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 150%;
    font-weight: 500;
}

.migration-support-msg {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;

    .msg-top {
        font-size: 14px;
        color: #94a3b8;
        font-weight: 500;
    }

    .msg-bottom {
        font-size: 15px;
        color: #cbd5e1;
        font-weight: 600;

        b {
            color: #10b981;
            font-weight: 900;
        }
    }
}

.migration-refund-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.04) 100%);
    border: 1px solid rgba(59, 130, 246, 0.15);
    padding: 24px 32px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.refund-label {
    font-size: 11px;
    font-weight: 900;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.migration-reward {
	font-size: 48px;
	font-weight: 1000;
	color: #60a5fa;
	line-height: 100%;
	text-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
}

.refund-sub {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    opacity: 0.9;
}

.migration-btn {
	width: 100%;
	padding: 20px 32px;
	border: none;
	border-radius: 16px;
	background-color: #3b82f6;
	color: #ffffff;
	font-size: 18px;
	font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 1.5px;
	cursor: pointer;
	pointer-events: all;
	transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
	box-shadow: 0 10px 24px rgba(59, 130, 246, 0.35);
    margin-top: 12px;
    
    &:hover {
        background-color: #60a5fa;
        transform: translateY(-3px);
        box-shadow: 0 14px 32px rgba(59, 130, 246, 0.45);
    }
    
    &:active {
        transform: translateY(1px);
    }
}

.migration-footnote {
	font-size: 11px;
	color: #475569;
    font-weight: 600;
    margin-top: 4px;
}
